Control Plane
The AlgoPay dashboard — a hosted Next.js control plane for managing agents, wallets, and policies. Open the hosted console at https://algopay-sdk-pay-b17a.vercel.app.
Architecture
The control plane runs as a Next.js 15 app with Prisma/SQLite for storage and JWT session cookies for authentication. It provides both a web dashboard for humans and API endpoints for agents.
Dashboard Features
Overview
Payment volume, status breakdown, gas pool balance
Payments
Create, track, and process USDC payments
Agents
Manage agent identities, daily limits, and status
Merchants
Register payment recipients with Algorand addresses
Gas Pools
Fund and monitor gas sponsorship pools
APIs
Enable wrapped APIs and register custom x402 endpoints
Checkout
Manage checkout sessions with analytics
Wallets
Create custodial wallets with encrypted vault storage
Approvals
Review and approve high-value transactions
Settings
API keys, spending controls, and workspace configuration
Self-Hosting
git clone https://github.com/Algodev-Studio/algopay-sdk.git
cd algopay-sdk
npm install
cd pay
cp .env.example .env # Edit with your secrets
npx prisma db push
npm run devEnvironment Variables
| Variable | Description |
|---|---|
| DATABASE_URL | SQLite connection string |
| SESSION_SECRET | JWT signing key (min 32 chars) |
| ALGOPAY_VAULT_MASTER_KEY | AES-256 key for wallet encryption |
| ALGOPAY_NETWORK | algorand-testnet or algorand-mainnet |
| ALGOD_URL | Algod REST endpoint (optional) |
| INDEXER_URL | Indexer REST endpoint (optional) |