Skip to content

Server-Side Contract Address Resolution #193

@Baskarayelu

Description

@Baskarayelu

Description:

Resolve contract IDs per network (testnet vs mainnet) so the same codebase works against different deployments.

Requirements

  • Config or env: SOROBAN_NETWORK=testnet|mainnet; contract IDs set per network (e.g. REMITTANCE_SPLIT_CONTRACT_ID_TESTNET, REMITTANCE_SPLIT_CONTRACT_ID_MAINNET) or single CONTRACT_IDS_JSON with network key
  • In lib/contracts, resolve contract ID using current network from env
  • Health check or admin endpoint returns current network and contract IDs (optional, hide in production if sensitive)
  • Document how to set contract IDs for testnet and mainnet

Acceptance Criteria

  • Contract IDs resolved by network
  • Same code works for testnet/mainnet
  • Documented

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions