Agentwallet
io.github.hifriendbot/agentwallet
v1.14.15Updated Nov 12, 2026stdio · npm
Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add agentwallet -- npx -y [email protected]Configuration
35 settings.
AGENTWALLET_PASSEnv var· optional· secretHosted mode: an AgentWallet application password from hifriendbot.com/wallet/AGENTWALLET_PRIVATE_KEYEnv var· optional· secretLocal (self-custody) mode: 0x-prefixed EVM private key; signing then happens in this processAGENTWALLET_SOLANA_KEYEnv var· optional· secretLocal mode for Solana: secret key as a JSON array, base58 or base64AGENTWALLET_WEBHOOK_SECRETEnv var· optional· secretHMAC-SHA256 key for the X-AgentWallet-Signature header on webhook postsAGENTWALLET_KEYFILE_PASSPHRASEEnv var· optional· secretPassphrase that opens an encrypted keyfile (made with `agentwallet-mcp encrypt-keyfile`)AGENTWALLET_USEREnv var· optionalHosted mode: your hifriendbot.com username
Show 29 moreShow fewer
AGENTWALLET_API_URLEnv var· optionalHosted mode: the API base (default https://hifriendbot.com/wp-json/agentwallet/v1); must be https, or http on localhostAGENTWALLET_WALLET_IDEnv var· optionalHosted mode: wallet id that pays hosted billing 402s automatically (POST /wallets, /sign, /send only); unset means neverAGENTWALLET_DASHBOARD_URLEnv var· optionalHosted mode: dashboard link shown in tool textAGENTWALLET_KEYFILEEnv var· optionalLocal mode: path of a file holding the EVM private key (instead of AGENTWALLET_PRIVATE_KEY; not both)AGENTWALLET_SOLANA_KEYFILEEnv var· optionalLocal mode for Solana: path of a key file (instead of AGENTWALLET_SOLANA_KEY; not both)AGENTWALLET_RPC_URLEnv var· optionalLocal mode: one EVM RPC for every chainAGENTWALLET_RPC_<chainId>Env var· optionalLocal mode: EVM RPC per chain, e.g. AGENTWALLET_RPC_8453; eth_chainId is checkedAGENTWALLET_SOLANA_RPCEnv var· optionalLocal mode: one Solana RPC for every clusterAGENTWALLET_SOLANA_RPC_<chainId>Env var· optionalLocal mode: Solana RPC per cluster (900 mainnet, 901 devnet, 902 testnet); the genesis hash is checkedAGENTWALLET_CHAIN_IDEnv var· optionalLocal mode: default EVM chain when a call names none (default 8453)AGENTWALLET_MAX_TX_NATIVEEnv var· optionalLocal mode: per-transaction ceiling in native unitsAGENTWALLET_MAX_TX_TOKENEnv var· optionalLocal mode: per-transaction ceiling for ERC-20 and SPL transfers and approvals, in token unitsAGENTWALLET_MAX_TX_SOLEnv var· optionalLocal mode: per-transaction ceiling in SOL (also charged for a recipient token account the send creates)AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLSEnv var· optionalLocal mode: 1 lets calldata the token cap cannot price reach a token contract (refused by default)AGENTWALLET_ALLOW_UNLIMITED_APPROVALEnv var· optional1 lets an unlimited ERC-20 allowance or an NFT operator grant through while no spend policy is set (refused by default, and always refused under a policy)AGENTWALLET_TOKEN_DECIMALSEnv var· optionalPin decimals for tokens outside the registry, e.g. 8453:0x<token>=6,<mint>=9; used for amounts and caps instead of the RPC answerAGENTWALLET_MAX_AUTOPAYEnv var· optionalPer-payment x402 ceiling in stablecoin units (default 1); the agent cannot raise itAGENTWALLET_MAX_AUTOPAY_PER_HOUREnv var· optionalHosted mode: how many internal 402 auto-payments an hour (default 20; 0 disables)AGENTWALLET_AUTOPAY_ASSETSEnv var· optionalAssets pay_x402 may pay in beyond registry stablecoins, e.g. 8453:native,0x<token>AGENTWALLET_X402_MAX_TIMEOUTEnv var· optionalLongest x402 authorization window in seconds (default 3600; 60 to 31536000)AGENTWALLET_APPROVALSEnv var· optionalHosted mode: 0 disables emailing the wallet owner for an over-cap paymentAGENTWALLET_PERMIT2_AUTO_APPROVEEnv var· optionalHosted mode: 1 approves exactly an upto payment maximum to Permit2 for registry stablecoinsAGENTWALLET_TOKEN_RISKEnv var· optional0 skips the GoPlus lookup approve_token performsAGENTWALLET_LEGACY_PAYWALL_ORIGINSEnv var· optionalComma-separated https origins whose legacy-shaped 402 may be paid by an on-chain transfer proved by hash (the API host always may)AGENTWALLET_MAX_FEE_NATIVEEnv var· optionalLocal mode: the most a transaction may burn in fees (gas x max fee per gas), in native units; default 0.01AGENTWALLET_POLICYEnv var· optionalPath of a spend policy JSON file: rolling dollar and native budgets, host, recipient, chain, asset and tool lists, and a human-approval threshold, enforced from a hash-chained ledgerAGENTWALLET_LEDGEREnv var· optionalPath of the append-only ledger the policy is enforced from (default: agentwallet-ledger.jsonl beside the policy file)AGENTWALLET_WEBHOOK_URLEnv var· optionalhttps URL (or http on localhost) that receives every ledger line as it is writtenAGENTWALLET_KEYFILE_PASSPHRASE_FILEEnv var· optionalPath of a file holding the keyfile passphrase (instead of AGENTWALLET_KEYFILE_PASSPHRASE; not both)
Links
Listed in the official MCP Registry since Nov 12, 2026. Mirrored daily; last checked Nov 26, 2026.