How-to guides > Environment variables

Configure environment variables

Configure Quovra without exposing secrets.

Configure environment variables

Quovra uses public browser variables for network selection and server-only variables for faucet and TxLINE operations.

Public variables

bash
NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_SOLANA_RPC=https://api.devnet.solana.com

Public variables are bundled into the browser. Do not put secrets in them.

Server variables

bash
SOLANA_RPC=https://api.devnet.solana.com
QUOVRA_FAUCET_SECRET='[server-only mint authority JSON array]'
TXLINE_ORIGIN=https://txline-dev.txodds.com
TXLINE_JWT=[redacted]
TXLINE_API_TOKEN=[redacted]
SOLANA_KEYPAIR=/path/to/devnet-keypair.json

Validation

bash
cd app
npm run build

Expected result:

  • The app builds.
  • Public pages can read market metadata.
  • Faucet returns 503 if QUOVRA_FAUCET_SECRET is missing instead of exposing internals.

Related pages

Search keywords

env, environment variables, secrets, Solana RPC, TxLINE

Last updated: [YYYY-MM-DD]