Go through this list before pointing a production build at the Stellar public network
(NEXT_PUBLIC_STELLAR_NETWORK=public). Every item must be checked off in the release
PR. If an item doesn't apply, write down why.
-
NEXT_PUBLIC_STELLAR_NETWORK=publicis set for the production environment, andNEXT_PUBLIC_STELLAR_NETWORK_PASSPHRASEis unset. The passphrase override exists only for local quickstart e2e runs. -
NEXT_PUBLIC_SOROBAN_RPC_URLandNEXT_PUBLIC_HORIZON_URLpoint at mainnet providers you control or have an SLA with, not the public testnet defaults. - The top bar shows no network pill. The
TESTNETpill appears only on non-mainnet builds. - Connect a wallet that is set to testnet. The red "network mismatch" banner appears, and a deposit is blocked before the wallet prompt opens.
-
NEXT_PUBLIC_E2E_TEST_WALLETis unset. The keypair test wallet can't load on mainnet builds anyway, but it must not be configured.
-
NEXT_PUBLIC_VAULT_CONTRACT_ID(and the registry ID) are pinned to the audited mainnet deployment. Record the IDs and WASM hashes in the release notes. - The deployed WASM hash matches the tagged release in
Heliobond/contracts
(
stellar contract info hash --id <id> --network mainnet). - The vault's admin, multisig signers and emergency admin are the production keys, not a deployer or test account.
- The USDC issuer is verified: the vault's
accepted_asset()is the Circle USDC SAC, and its issuer isGA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN. Check it against Circle's published address, not a copy of it. - Any hard-coded asset codes, issuers or explorer links in the UI point at
mainnet (
EXPLORER_BASE_URLcomes fromsrc/config/network.ts).
- Demo fallbacks are disabled. Nothing that affects user funds (balances, share
price, portfolio, investments) may silently fall back to
src/data.tsfixtures or mock responses. If a live read fails, show an error. - "Demo wallet" /
connectDemois hidden or clearly labelled on the production build. -
NEXT_PUBLIC_API_URLpoints at the production backend. - Before adding
HELIOBOND_API_KEYor any server secret to Vercel, production builds run through.github/workflows/deploy.yml(switched fromworkflow_dispatchtoworkflow_run) and Vercel's git deploys formainare off, so no merged build script runs next to a secret (#920). - Dev-only routes (
/contrast-test,/learn/password-reset-email) return 404, andNEXT_PUBLIC_ENABLE_DEV_ROUTESis unset.
- A Content-Security-Policy and the standard security headers are enabled in
next.config.ts, and the CSP allows only the RPC/Horizon hosts in use. - Error tracking is on (client error reporting and web-vitals), and alerts route to someone on call.
- CI is green on the release commit: typecheck, lint, unit tests with coverage thresholds, build, and the e2e investor journey.
- Rollback plan: the previous build can be redeployed, and there is a documented
way to pause the vault (
emergency_pause) if something goes wrong on-chain. - Production builds do not hold server-only secrets (#920). In the Vercel
project,
NEXT_PUBLIC_*values are the only variables exposed to the build step; server secrets such asHELIOBOND_API_KEYare available at runtime only. Verify in the dashboard, since this is not configured in the repo. - Production deploys wait for CI. This is not configured in the repo yet. In the
Vercel project, either turn off auto-promotion of
main, or add deployment checks that require thebuild,unit tests + coverage,hidden-content checkandsupply-chain review gatechecks. Until then, a merge can build with production secrets before CI is green. - After any reverted merge to
main, deploy secrets are rotated (see the incident response steps in SECURITY.md).