The hosted hostname says
devnet. It is a Surfpool mainnet fork on a VM, not public Solana Devnet. Fork RPC: https://rpc-devnet.solana.vanna.finance.
Developer-grade steps (program tests, env vars, Docker) live in Developer Setup. This page is the short path.
Hosted demo (fastest)
- Open https://devnet.solana.vanna.finance/earn.
- Connect a test wallet (or Privy).
- Open Faucet → Mint All.
- Earn, Perps, Swap, or Farm.
https://rpc-devnet.solana.vanna.finance. The website already uses that endpoint in the browser build.
Local laptop
Keep the repos as siblings:1. Start Surfpool (deploys the program)
FromProtocol_V1_Solana:
127.0.0.1:8899.
2. Start the app
FromBackend-Solana:
http://127.0.0.1:8899. Not Devnet. Not Mainnet.
3. Minimum .env.local
NEXT_PUBLIC_PRIVY_APP_ID only if you want Google/email. Never put a Privy secret in a NEXT_PUBLIC_* variable.
Program tests (no UI)
Verify the hosted RPC
"result":"ok" (or equivalent). Auth on the VM, if enabled, will return 401 without credentials.
Common failures
Full VM / Caddy / snapshot runbook:
Backend-Solana/docs/HOSTED_SURFPOOL_SETUP.md.
