Reference > Configuration

Configuration reference

Document configuration files and environment variables.

Configuration reference

app/src/lib/onchain.json

Defines deployed program addresses, mint, authority, and visible markets.

FieldDescription
programQuovra program ID
mintDevnet test USDC mint
authorityMarket authority
markets[]Seeded visible markets

Market fields:

FieldDescription
marketIdNumeric market id
pubkeyMarket PDA
fixtureIdTxLINE fixture id
homeHome team
awayAway team
stageCompetition stage
kickoffISO kickoff time
questionPublic question
statKeyTxLINE stat key
thresholdPredicate threshold
vaultMarket vault token account
stateUI state
closedReasonUser-facing close reason

Environment variables

VariableScopeRequiredDescription
NEXT_PUBLIC_SOLANA_NETWORKBrowserNodevnet or mainnet; defaults to devnet
NEXT_PUBLIC_SOLANA_RPCBrowserNoRPC URL for reads and wallet actions
SOLANA_RPCServer/scriptsNoRPC URL for faucet/keeper scripts
QUOVRA_FAUCET_SECRETServerFor faucetJSON array secret key for test USDC mint authority
TXLINE_ORIGINScriptsFor live keeperTxLINE API origin
TXLINE_JWTScriptsFor live keeperTxLINE JWT credential
TXLINE_API_TOKENScriptsFor live keeperTxLINE API token
TXLINE_SERVICE_LEVELScriptsOptionalTxLINE service level id for activation
SOLANA_KEYPAIRScriptsFor execute modePath to funded devnet keypair

Network constants

Devnet txoracle:

text
6pW64gN1s2uqjHkn1unFeEjAwJkPGHoppGvS715wyP2J

Mainnet txoracle:

text
9ExbZjAapQww1vfcisDmrngPinHTEfpjYRWMunJgcKaA

Related pages

Search keywords

configuration, env vars, onchain.json, Solana RPC, TxLINE

Last updated: [YYYY-MM-DD]