#078: Contract Address Registry API
Category: [BACKEND]
Difficulty: ● EASY
Tags: api, soroban, registry, environment, config
Description
Expose a GET /api/contracts endpoint that returns the deployed contract IDs for all Soroban contracts (bulk_payment, vesting_escrow, revenue_split, cross_asset_payment) per network (testnet/mainnet). The frontend should consume this endpoint at startup instead of reading raw env vars, enabling hot-swappable contract deployments without frontend rebuilds.
Acceptance Criteria
#078: Contract Address Registry API
Category: [BACKEND]
Difficulty: ● EASY
Tags:
api,soroban,registry,environment,configDescription
Expose a
GET /api/contractsendpoint that returns the deployed contract IDs for all Soroban contracts (bulk_payment, vesting_escrow, revenue_split, cross_asset_payment) per network (testnet/mainnet). The frontend should consume this endpoint at startup instead of reading raw env vars, enabling hot-swappable contract deployments without frontend rebuilds.Acceptance Criteria
contractId,network, andversionper contract.environments.tomlor server-side env vars (not hard-coded).anchor.ts/ newcontracts.tsservice fetches and caches the registry on startup.deployedAtledger sequence for reference.