Skip to content

Add SDK Soroban request simulation design #217

Description

@El-swaggerito

Description

Difficulty: Expert

Type: Feature

Summary

Design how the SDK should simulate Soroban contract calls before signing or submission.

Current Behaviour

State-changing contract calls may require simulation before execution.

Expected Behaviour

The SDK should define a safe simulation step and how simulation results are exposed.

Suggested Implementation

Document or implement simulation inputs, outputs, errors, and relation to signing.

Files or Areas Likely Affected

src/soroban/
src/transactions/
src/types/
docs/

Acceptance Criteria

  • Simulation flow is designed.
  • Simulation result type is defined.
  • Failure cases are covered.
  • Signing boundary is explained.
  • Documentation includes examples.

Additional Notes

This should support future real vault calls.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labelexpertExpert difficultyfeatureFeature worksdkSDK related worksorobanSoroban smart contract worktransactionsTransaction related work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions