Skip to content

Feat/issue 421#437

Merged
Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
levibliz:feat/issue-421
Jul 24, 2026
Merged

Feat/issue 421#437
Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
levibliz:feat/issue-421

Conversation

@levibliz

Copy link
Copy Markdown
Contributor

closes #421

levibliz and others added 3 commits July 22, 2026 22:31
…mulation RPC (Issue Stellar-split#421)

- Add { simulate: true } option to createInvoice, pay, release, refund, approveRelease
- When simulate: true, call simulateTransaction RPC instead of submitting
- Return SimulationResult { success: boolean, error?: string, fee: bigint, cpuInsns: bigint, memBytes: bigint, footprint: LedgerFootprint }
- Add client.simulate(method, params) generic simulation method
- Export SimulationResult and LedgerFootprint types from package
- Add comprehensive unit tests with MockRpcClient for all 5 mutating methods
- Update README.md with simulation usage example

Closes #issue-number-1
Closes #issue-number-2
Closes #issue-number-3
Closes #issue-number-4

Co-authored-by: openhands <openhands@all-hands.dev>
@Kingsman-99
Kingsman-99 merged commit 72a01dc into Stellar-split:main Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a local transaction simulation layer using Soroban's simulation RPC

2 participants