Docs/stellar tx simulation#55
Conversation
- Add guides/stellar-offline-signing.mdx covering threat model, three-step build-offline/sign-offline/submit-online workflow, SDK primitives usage, QR code and USB transfer patterns, hardware wallet integration with honest current limitations, and stealth-specific air-gap guidance for spending keys - Register page in docs.json under Guides > Operations - Add cross-link from sdk/chains/stellar.mdx See Also section - Add cross-link from guides/privacy-best-practices.mdx See Also section Closes wraith-protocol#40
- Add guides/stellar-tx-simulation.mdx covering simulateTransaction usage, prepareTransaction SDK helper, raw RPC patterns, decoding return values and events, handling sim failures with actionable user feedback, and an end-to-end announcement simulation example - Register page in docs.json under Guides > Operations - Add cross-link from sdk/chains/stellar.mdx See Also section - Add cross-link from guides/privacy-best-practices.mdx See Also section Closes wraith-protocol#39
|
@baedboibidex-cmyk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Other docs PRs are landing one by one, which means most of them now conflict on git fetch origin
git rebase origin/develop
# in docs.json: keep all entries from both sides
# in privacy-best-practices.mdx: keep both your addition and develop's
git push --force-with-leaseContent of the PR itself is clean — this is just the registration ordering. |
|
Sorry @baedboibidex-cmyk — #53 just landed which means the same docs.json cascade hits again. One more rebase: git fetch origin
git rebase origin/develop
# docs.json: keep both sides (the merge marker will be in the same section)
# privacy-best-practices.mdx: keep both your addition and the new one from #53
git push --force-with-leaseYour remaining PRs (#55, #58, #63) all need this same step. After this round they'll all merge in sequence. |
PR Message: Stellar transaction simulation guide (#39)
Summary
Adds
guides/stellar-tx-simulation.mdx— a complete guide for using SorobansimulateTransactionas a pre-flight check before signing and submitting stealth payment transactions.What changed
guides/stellar-tx-simulation.mdxcovering:prepareTransactionSDK helper — the standard path with automatic simulationsimulateTransactionRPC patterns for full result inspectionscValToNative), events (DiagnosticEventXDR), and fee breakdownsstealth-announcerannouncement on futurenetdocs.json** — page registered under Guides → Operationssdk/chains/stellar.mdx** — See Also cross-link addedguides/privacy-best-practices.mdx** — See Also cross-link addedAcceptance criteria
simulateAndSendAnnouncementfunction targeting futurenet with expected console output shownDesign decisions
prepareTransactionas the primary recommended path (it wraps simulation internally) and documented rawsimulateTransactionas the secondary path for advanced inspection — this matches how the Soroban SDK is intended to be used.isSimulationErrorandisSimulationRestoretype guards fromSorobanRpc.Apiused throughout — avoids rawerrorstring checks which are fragile across SDK versions.Follow-ups
stealth-registryandstealth-sendercontracts once their ABIs are documentedCloses #39