create-voidly-agent
v0.2.0
Published
Scaffold a Voidly Pay-enabled AI agent in one command. Pick a template (paid MCP server, Hono x402 endpoint, FastAPI x402 endpoint, or zero-code universal proxy) and you're running in under 60 seconds.
Maintainers
Readme
create-voidly-agent
Scaffold a Voidly Pay-enabled AI agent in one command.
npx create-voidly-agent my-agentPick a template:
mcp— paid MCP server (TypeScript). Drops into Claude Desktop, Cursor, Windsurf.hono— Hono web server with one paid route. Cloudflare Workers, Vercel, Bun, Node.fastapi— FastAPI app with one paid route.proxy— zero-code: wrap any public HTTPS URL with the Voidly Pay universal proxy via one query parameter. No SDK, no server change, no build step. Edit./config, runbash ./paywall.sh, share the URL.
The code-based scaffolds ship with:
- A working paid endpoint (HTTP 402 → quote → settle on retry).
- An Ed25519 keypair that owns the earnings DID, persisted to
~/.voidly-pay/keypair.jsonon first run. - Pinned
@voidly/pay/voidly-paydependency.
The proxy scaffold is even simpler: it builds a fully-paywalled URL of the form https://api.voidly.ai/v1/pay/proxy?u=<your-url>&to=<your-did>&price=<usdc> from your config and prints it. Every call to that URL is a real x402 settlement on Base mainnet.
Live demo (no install required)
https://huggingface.co/spaces/emperor-mew/voidly-pay — claim a DID + 10 starter credits, paywall any HTTPS URL, browse the live activity feed.
What is Voidly Pay?
Open agent-to-agent payment rail. USDC-backed, signed envelopes, x402-ready, live on Base mainnet.
Docs: https://voidly.ai/pay/for-builders
Vault: 0xb592512932a7b354969bb48039c2dc7ad6ad1c12 (Sourcify exact_match)
Public proof of reserves: https://api.voidly.ai/v1/pay/proof
License
MIT.
