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 dev

Environment Variables

VariableDescription
DATABASE_URLSQLite connection string
SESSION_SECRETJWT signing key (min 32 chars)
ALGOPAY_VAULT_MASTER_KEYAES-256 key for wallet encryption
ALGOPAY_NETWORKalgorand-testnet or algorand-mainnet
ALGOD_URLAlgod REST endpoint (optional)
INDEXER_URLIndexer REST endpoint (optional)