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.
| Field | Description |
|---|---|
program | Quovra program ID |
mint | Devnet test USDC mint |
authority | Market authority |
markets[] | Seeded visible markets |
Market fields:
| Field | Description |
|---|---|
marketId | Numeric market id |
pubkey | Market PDA |
fixtureId | TxLINE fixture id |
home | Home team |
away | Away team |
stage | Competition stage |
kickoff | ISO kickoff time |
question | Public question |
statKey | TxLINE stat key |
threshold | Predicate threshold |
vault | Market vault token account |
state | UI state |
closedReason | User-facing close reason |
Environment variables
| Variable | Scope | Required | Description |
|---|---|---|---|
NEXT_PUBLIC_SOLANA_NETWORK | Browser | No | devnet or mainnet; defaults to devnet |
NEXT_PUBLIC_SOLANA_RPC | Browser | No | RPC URL for reads and wallet actions |
SOLANA_RPC | Server/scripts | No | RPC URL for faucet/keeper scripts |
QUOVRA_FAUCET_SECRET | Server | For faucet | JSON array secret key for test USDC mint authority |
TXLINE_ORIGIN | Scripts | For live keeper | TxLINE API origin |
TXLINE_JWT | Scripts | For live keeper | TxLINE JWT credential |
TXLINE_API_TOKEN | Scripts | For live keeper | TxLINE API token |
TXLINE_SERVICE_LEVEL | Scripts | Optional | TxLINE service level id for activation |
SOLANA_KEYPAIR | Scripts | For execute mode | Path to funded devnet keypair |
Network constants
Devnet txoracle:
text
6pW64gN1s2uqjHkn1unFeEjAwJkPGHoppGvS715wyP2JMainnet txoracle:
text
9ExbZjAapQww1vfcisDmrngPinHTEfpjYRWMunJgcKaARelated pages
Search keywords
configuration, env vars, onchain.json, Solana RPC, TxLINE
Last updated: [YYYY-MM-DD]