D20DAO Verifiable Randomness

v0.1.2
org.d20dao/vrf Checked 1 day ago Published 1 month ago

Verifiable VRF draws on Arc, 0.05 USDC each.

Values you need

VariableWhat it is
D20_DAILY_LIMIT_USDCoptional Spending cap per UTC day in USDC (default 1; 0 turns paid draws off).
D20_NETWORKoptional Arc Mainnet (default) or Arc Testnet.
D20_PAY_CHAINoptional Circle CLI chain code to pay from, such as ARC or BASE (default: first funded).
D20_WALLET_ADDRESSoptional Agent wallet to pay from (default: the first one the Circle CLI lists).
D20_CIRCLE_CLIoptional Path to the Circle CLI's dist/index.js (default: circle on PATH).
D20_MCP_HOMEoptional 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-mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: draw, get_result, setup_status.
  4. 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