D20DAO Verifiable Randomness
v0.1.2Verifiable VRF draws on Arc, 0.05 USDC each.
Values you need
| Variable | What it is | |
|---|---|---|
D20_DAILY_LIMIT_USDC | optional | Spending cap per UTC day in USDC (default 1; 0 turns paid draws off). |
D20_NETWORK | optional | Arc Mainnet (default) or Arc Testnet. |
D20_PAY_CHAIN | optional | Circle CLI chain code to pay from, such as ARC or BASE (default: first funded). |
D20_WALLET_ADDRESS | optional | Agent wallet to pay from (default: the first one the Circle CLI lists). |
D20_CIRCLE_CLI | optional | Path to the Circle CLI's dist/index.js (default: circle on PATH). |
D20_MCP_HOME | optional | Folder for the daily spending record (default ~/.d20dao-mcp). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add vrf -- npx -y --package=@d20dao/mcp@0.1.2 d20dao-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"vrf": {
"args": [
"-y",
"--package=@d20dao/mcp@0.1.2",
"d20dao-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"vrf": {
"args": [
"-y",
"--package=@d20dao/mcp@0.1.2",
"d20dao-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"vrf": {
"args": [
"-y",
"--package=@d20dao/mcp@0.1.2",
"d20dao-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.vrf]
command = "npx"
args = ["-y", "--package=@d20dao/mcp@0.1.2", "d20dao-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: draw, get_result, setup_status.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json