npm · @three-ws/onchain-agent-wallets
$npx -y @three-ws/onchain-agent-wallets@0.1.1 OWNER_SECRET_KEY · secret — 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.