Start > Deploying

Deploy Quovra

Deploy the frontend and on-chain program safely.

Deploy Quovra

Quovra has two deployable surfaces:

  • Solana program: Anchor/Rust program deployed to devnet.
  • Web app: Next.js app deployed to Vercel.

Deploy the program

bash
cd onchain
anchor build
anchor deploy --provider.cluster devnet

Expected result:

  • Anchor prints the deployed program ID.
  • The deployed program matches the ID in source or deployment config.

Current devnet program:

text
2dTzj5v1nhzkS87e5umJkpNWNc7UschvyHwRVkkK4FZV

Sync the app IDL and config

After changing the program ABI, update:

text
app/src/idl/quovra.json
app/src/lib/onchain.json

Expected result:

  • PROGRAM_ID in quovra-client.ts points to the deployed program.
  • Market pubkeys and vaults match current devnet accounts.

Deploy the frontend

bash
cd app
npm install
npm run lint
npm run test
npm run build

Set production env vars in the host:

bash
NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_SOLANA_RPC=https://api.devnet.solana.com
SOLANA_RPC=https://api.devnet.solana.com
QUOVRA_FAUCET_SECRET='[redacted server-only secret]'

Deploy with your hosting provider. Vercel is the current target.

Expected result:

  • / returns HTTP 200.
  • /markets returns HTTP 200.
  • /activity returns HTTP 200.
  • /docs returns HTTP 200.
  • /sdk returns HTTP 200.

Post-deploy checks

bash
curl -I https://quovra.xyz
curl -I https://quovra.xyz/markets
curl -I https://quovra.xyz/docs

Expected result:

text
HTTP/2 200

Related pages

Search keywords

deploy, Vercel, Anchor, Solana devnet, production checks

Last updated: [YYYY-MM-DD]