Recurring Revenue.
Self-Enforcing.
The billing infrastructure for Solana. Subscriptions, usage metering, and agent budgets, all enforced at the protocol level. Not the application level. Live on devnet. Build with the SDK today.
import { createVelaClient } from "@vela/sdk";
const vela = createVelaClient({ connection, wallet });
const { data: plan } = await vela.createPlan({
amount: 50_000_000n, // 50 USDC
frequency: 30n * 86_400n, // Every 30 days
maxPulls: 12n,
});
await vela.createSubscription({
planAddress: plan.address,
merchantAddress: wallet.publicKey,
}); Ship billing your way.
SDK and CLI for full control today. No-code dashboard for merchants coming soon. Agent mandates if the spender isn't human.
Merchants
Zero code. Full control.
- Plan creation and management
- Payment links with QR codes
- Invoicing and revenue analytics
- Subscriber self-service portal
Developers
TypeScript SDK. 30+ methods.
- Instruction builders and validators
- Webhooks for real-time events
- Checkout and portal sessions
- x402 HTTP payment standard
AI Agents
Spend authority with hard limits.
- Daily and lifetime spending caps
- Per-service budget isolation
- On-chain budget verification
- Pause, resume, and revoke
Beyond payments.
Infrastructure.
Subscriptions, usage tiers, and agent budgets. All running on Token-2022 transfer hooks. The protocol validates. The network enforces. You ship.
Protocol-Enforced Mandates
The smart contract is the arbiter. Exact amount, exact frequency, exact duration, all cryptographically scoped. Overcharge the mandate? The transfer hook rejects the transaction before it touches the ledger.
Agent Mandates
Give AI agents a wallet with walls. Daily caps, lifetime budgets, per-service isolation. The agent spends. The protocol enforces the ceiling.
Usage-Based Billing
Up to five pricing tiers with per-period charge caps. Metering runs through Arcium, so usage data stays encrypted end-to-end. Competitors see transfers, never volume.
Merchant Dashboard
Create plans, generate payment links, send invoices, track churn. A complete billing operations layer for merchants. Coming soon.
Payment Links
A link and a QR code. Share it anywhere. Hosted checkout handles the wallet connection, wrapping, and mandate creation. Track conversion from click to active subscriber.
Subscriber Portal
Your subscribers manage themselves. View active plans, download invoices, switch tiers, or cancel. No tickets required.
Soulbound Credentials
Subscribers receive a non-transferable Token-2022 NFT. Gate your apps natively on-chain without an API call. It's just a balance check.
Encrypted Billing Logic
Powered by Arcium MPC. Four circuits process billing on encrypted inputs. Validators confirm the transfer. They never see the amount, the rate, or the business logic behind it.
How VelaPay Operates
Scope & Sign
One transaction. The subscriber approves a mandate that locks in the terms: price, frequency, duration, and caps. Flat-rate subscription, usage plan, or agent budget. The PDA holds the rules. Nothing else needs to.
Validate & Transfer
Every pull routes through the Token-2022 Transfer Hook. Time window, authorization, amount ceiling, and budget caps must all pass. One fails, the entire transaction reverts. No partial state. No dispute.
Automate & Observe
The relayer processes maturing mandates without permission or intervention. Invoices generate on execution. Subscribers self-manage through the portal. Merchants watch revenue, cohorts, and churn from the dashboard in real time.
Radical Protocol Economics
Legacy billing taxes gross revenue. Per-call agent platforms take a cut of every inference. VelaPay runs on base Solana compute. Flat cost regardless of billing model, volume, or mandate type.