MCP directory

Onchain Agent Wallets

by github.com/nirholas · v0.1.1 · updated Oct 10, 2026

Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @three-ws/[email protected]

Environment variables

  • OWNER_SECRET_KEYsecret

    Owner secret key, base58 or a JSON byte array. Optional: without it every owner action is returned as an unsigned transaction for Phantom, Solflare, Backpack, or a Ledger to sign.

  • OAW_NETWORK

    Cluster: mainnet or devnet. Defaults to mainnet. State is kept per network, so a devnet rehearsal never touches mainnet agents.

  • SOLANA_RPC_URL

    HTTPS Solana RPC endpoint. Defaults to the public endpoint for the configured network; bring your own (Helius / Quicknode / Triton) for production.

  • OAW_STATE_DIR

    Where agent keypairs, guardrails, and the spend ledger are stored. Defaults to ~/.onchain-agent-wallets, written 0600 inside a 0700 directory.

  • REQUIRE_CONFIRM

    Refuse to broadcast anything that moves value until the call is re-issued with confirm:true. Default true.

More from github.com/nirholas

More MCP servers