The payment and access layer for the agent economy.
Sell APIs, datasets, and premium content that humans and AI agents unlock with USDC on Solana. Sellers receive 95% directly, settled on-chain by an Anchor program. Veloran never custodies buyer funds.
Live demo: https://veloran.app/ GitHub: https://github.com/astachain/veloran
Built for the Solana Frontier Hackathon, May 2026.
- ✅ Live on Solana devnet
- ✅ Human checkout via Privy email or Phantom wallet
- ✅ AI-agent unlock flow via HTTP 402 +
X-PAYMENT - ✅ Anchor settlement program deployed on devnet
- ✅ 95/5 seller/platform split enforced atomically on-chain
- ✅ Per-call unlocks and seller subscriptions
- ✅ Mainnet Anchor program deployed and smoke-tested; live app remains on devnet for hackathon recording
- A seller signs in and publishes a paid resource: API-style JSON, dataset-shaped text, or premium analysis.
- Human buyers open the public URL and unlock with Privy checkout.
- AI agents call
/api/x402/<slug>, receive HTTP 402 payment instructions, sign a Solana transaction, then re-request withX-PAYMENT. - The Anchor program transfers 95% to the seller and 5% to Veloran treasury in one atomic SPL-token settlement.
- The app verifies the transaction and reveals the gated response. Each paid request creates a server-bound
PaymentIntentwith a 15-minute TTL and a memo of the formveloran:intent:<nonce>. The buyer's transaction must include that memo as a Memo program instruction. The server consumes the intent on the first successful unlock; replays return 409.
Closing line:
Publish once. Humans pay with checkout. Agents pay with HTTP 402. Sellers get paid directly on-chain.
- Live app: https://veloran.app/
- Agent docs: https://veloran.app/for-agents
- Demo summary: https://veloran.app/demo
- Pitch deck source:
docs/pitch-deck.md - Demo script:
docs/demo-script.md - Submission description:
docs/submission-description.md - Handoff:
docs/HANDOFF.md
- Next.js 16 App Router
- React 19
- Tailwind CSS 4
- Privy embedded wallets and Phantom sign-in
- Prisma + Vercel Postgres / Neon
- Anchor / Rust on Solana
@solana/web3.jsand@solana/spl-token
Devnet Anchor program (used by the live app for hackathon recording):
2CtnLfdePpjitQQLtHrQAsa74RXLiubKfSdJmjy2pGcS
Devnet Solscan:
https://solscan.io/account/2CtnLfdePpjitQQLtHrQAsa74RXLiubKfSdJmjy2pGcS?cluster=devnet
Mainnet Anchor program (deployed and audit-ready; not yet wired to the live app):
89ZFuq1beQHRHRHWY6yezePsdWvTxtMGrLVDXu8DLa1j
Mainnet Solscan:
https://solscan.io/account/89ZFuq1beQHRHRHWY6yezePsdWvTxtMGrLVDXu8DLa1j
Mainnet smoke test transaction:
2J5G1ttrLH8EVGSfAwPCfR6QhbZV2kgcwBVYaV7uQ9apR5iKrDnzmkmWwHB3Y5RHA1sEwWCpUEZaH5w1uapr81nM
Prerequisites: Node.js, npm, a Postgres database, and Solana devnet RPC access.
cp .env.example .env.local
# Fill in PRIVY_APP_ID, PRIVY_APP_SECRET, ANTHROPIC_API_KEY,
# NEXT_PUBLIC_HELIUS_RPC_URL, SESSION_SECRET, DATABASE_URL
npm install --legacy-peer-deps
npx prisma db push
npm run devOpen http://localhost:3000.
npm run dev
npm run build
npm run lint
VELORAN_BASE_URL=https://veloran.app \
AGENT_KEYPAIR_PATH=~/.config/solana/agent.json \
npm run ai-reader -- <slug>Veloran uses a custom exact-veloran HTTP 402 payment scheme for the hackathon demo. The app is x402-inspired and agent-readable, but the settlement path is intentionally Solana-native: a custom Anchor instruction verifies the price and executes the 95/5 split directly on-chain.