Live Safety
Live mode signs maker-side actions. Configure it deliberately.Worker gate
runtime.enable_protocol_workers controls live adapter startup.
Default local config sets it to false. In that mode the API and runtime projection start, but live RFQ and settlement actions are unavailable.
Set it to true only after credentials, caps, and asset mints are ready.
Required secrets
Store these in.env:
SOLANA_RPC_URL- exactly one maker keypair source:
MAKER_PRIVATE_KEY,MAKER_KEYPAIR_PATH, orMAKER_KEYPAIR_JSON JUPITER_API_KEYwhen Jupiter is enabledCIRCLE_GATEWAY_SOLANA_ADDRESSwhen Gateway is enabled
CIRCLE_GATEWAY_SOLANA_ADDRESS must refer to the same
approved Solana depositor for Gateway deposit/refill smoke tests.
Admin auth secrets are separate and are not part of the public API docs.
Required policy
Store these inconfig.toml:
- supported assets and mint addresses
- quote expiry and spreads
- max quote, trade, refill, and daily notionals
- stale-price limits
- inventory thresholds
- Gateway refill thresholds
- reconciliation dust thresholds
VERIFY_CBBTC_SOLANA_MINT_BEFORE_LIVE_USE for cbBTC. Replace it before enabling live workers. Coinbase currently lists the Solana cbBTC mint as:
Operating checks
Before and after a live run, inspect:/health/v1/assets/v1/runtime/state/v1/runtime/events/v1/runtime/ledger/v1/runtime/trades
gateway-deposit, gateway-refill, jupiter-swap,
jupiter-cbbtc-swap, live-cbbtc-rfq, and live-gateway-cbbtc-rfq spend real
mainnet funds. They require explicit RUN_LIVE_* opt-ins.