Skip to content
Discussion options

You must be logged in to vote

I would implement the RPC integration as a transport-independent client with a clear separation between network configuration, request handling, transaction simulation and transaction lifecycle management.

1. RPC transport layer

Create a dedicated RPC client responsible for JSON-RPC communication. It should support configurable endpoints, request timeouts, structured errors and controlled retries.

Avoid embedding endpoint URLs directly into contract or transaction logic.

2. Network configuration

Provide explicit network profiles for:

  • Stellar Testnet.
  • Stellar Mainnet.
  • Local development environments.

Each profile should define its RPC endpoint, network passphrase and configuration require…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ayinkx01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants