Onchain Agent Wallets
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
What this server provides
Give an AI agent a Solana spending allowance instead of your key. Chain-enforced cap, x402.
Packages
npxTransport stdio- OWNER_SECRET_KEYOptional
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.
Format: string - OAW_NETWORKOptional
Cluster: mainnet or devnet. Defaults to mainnet. State is kept per network, so a devnet rehearsal never touches mainnet agents.
Format: string · Default: mainnet - SOLANA_RPC_URLOptional
HTTPS Solana RPC endpoint. Defaults to the public endpoint for the configured network; bring your own (Helius / Quicknode / Triton) for production.
Format: string - OAW_STATE_DIROptional
Where agent keypairs, guardrails, and the spend ledger are stored. Defaults to ~/.onchain-agent-wallets, written 0600 inside a 0700 directory.
Format: string - REQUIRE_CONFIRMOptional
Refuse to broadcast anything that moves value until the call is re-issued with confirm:true. Default true.
Format: boolean · Default: true