Skip to content
All docs

Environment matrix

What runs where, and how each environment is labeled. Current as of 2026-10-13; the deployed web commit is whatever /api/version reports.

ComponentLocal Foundry EVMTestnet fork (anvil / forge fork)Monad testnetMonad mainnet
Contractsevery test run (LOCAL_REPRODUCTION)fork test + deploy rehearsal (SIMULATED)deployed 2026-10-07 (blocks 69010507/69010521); runtime bytecode matches the build with immutables maskednot deployed (needs capital)
Perplreal exchange bytecode, scripted makerlive exchange state at the fork blocklivelive
AUSDtest tokenlive testnet AUSD + faucetlive + faucetlive (real value)
Web appNEXT_PUBLIC_IMPREST_ENV=developmentn/apublic at https://imprest-chi.vercel.app (/api/version reports the deployed commit); desk actions livenot configured
Relayerunit tests (mock chain port)n/ahosted on Railway since 2026-10-13 (https://imprest-relayer-production-74f6.up.railway.app, health on /status); a trade signed in the browser was relayed and verified that day (proof/receipts/testnet/browser-gasless). Trades only: faucet, approve, open desk, claim and close desk still use the trader's MONnot configured
Keeperunit testsn/aruns locally with a funded key (graduation tx 0x4e61…87ed sent by it); not hostednot configured
Indexern/an/aconfig validated; runs under WSL/Docker only; hosted Envio deployments did not sync on the free plan (see HOSTING.md); the web app uses a bounded RPC scannot configured
Reference model / replayPython, localn/an/an/a

Environment variables: see .env.example. Required per component:

VariableUsed byRequired
IMPREST_ENVscripts, relayer, keeper, indexeryes
NEXT_PUBLIC_IMPREST_ENVwebyes
DEPLOYER_PRIVATE_KEYdeploy, testnet-demodeploy only
RELAYER_PRIVATE_KEYrelayerrelayer only
KEEPER_PRIVATE_KEYkeeper (unless KEEPER_DRY_RUN=true)keeper only
NEXT_PUBLIC_RELAYER_URL, NEXT_PUBLIC_INDEXER_URL, KEEPER_HEALTH_URLweboptional
NEXT_PUBLIC_PASSKEY_RP_IDweboptional (defaults to host)
NEXT_PUBLIC_ENABLE_DEV_MOCK_ACCOUNTwebdevelopment only; ignored elsewhere
MONAD_EXPLORER_API_KEYsource verificationoptional