Skip to content

[Frontend] Add transaction simulation/preview before signing #1017

Description

@Xoulomon

Suggested Tier: Medium (150 pts)

Description:
Reduce failed transactions by simulating contract calls via Soroban RPC and showing expected outcome/fees before the user signs.

Tasks:

  • Call Soroban simulateTransaction before submission for contribute/join/payout
  • Display estimated resource fees and expected state change
  • Block submission and show a clear error if simulation fails
  • Cache simulation results briefly to avoid redundant RPC calls

Acceptance Criteria:

  • A call that would fail on-chain is caught at simulation and not submitted
  • Estimated fee shown is within a reasonable margin of the actual fee charged

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions