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 devnetExpected result:
- Anchor prints the deployed program ID.
- The deployed program matches the ID in source or deployment config.
Current devnet program:
text
2dTzj5v1nhzkS87e5umJkpNWNc7UschvyHwRVkkK4FZVSync the app IDL and config
After changing the program ABI, update:
text
app/src/idl/quovra.json
app/src/lib/onchain.jsonExpected result:
PROGRAM_IDinquovra-client.tspoints 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 buildSet 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./marketsreturns HTTP 200./activityreturns HTTP 200./docsreturns HTTP 200./sdkreturns HTTP 200.
Post-deploy checks
bash
curl -I https://quovra.xyz
curl -I https://quovra.xyz/markets
curl -I https://quovra.xyz/docsExpected result:
text
HTTP/2 200Related pages
Search keywords
deploy, Vercel, Anchor, Solana devnet, production checks
Last updated: [YYYY-MM-DD]