agentwallet
io.github.hifriendbot/agentwallet
About agentwallet
agentwallet is an MCP server published by the GitHub account hifriendbot. Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.
It runs on your own machine: your AI client starts it from the npm package agentwallet-mcp at version 1.14.8.
It asks for 5 secrets: AGENTWALLET_PASS, AGENTWALLET_PRIVATE_KEY, AGENTWALLET_SOLANA_KEY, AGENTWALLET_WEBHOOK_SECRET and AGENTWALLET_KEYFILE_PASSPHRASE. Give it a key with the least access that still works.
Version 1.14.8 was published on 26 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
AGENTWALLET_USER | No | No | Hosted mode: your hifriendbot.com username |
AGENTWALLET_PASS | No | Yes | Hosted mode: an AgentWallet application password from hifriendbot.com/wallet/ |
AGENTWALLET_API_URL | No | No | Hosted mode: the API base (default https://hifriendbot.com/wp-json/agentwallet/v1); must be https, or http on localhost |
AGENTWALLET_WALLET_ID | No | No | Hosted mode: wallet id that pays hosted billing 402s automatically (POST /wallets, /sign, /send only); unset means never |
AGENTWALLET_DASHBOARD_URL | No | No | Hosted mode: dashboard link shown in tool text |
AGENTWALLET_PRIVATE_KEY | No | Yes | Local (self-custody) mode: 0x-prefixed EVM private key; signing then happens in this process |
AGENTWALLET_KEYFILE | No | No | Local mode: path of a file holding the EVM private key (instead of AGENTWALLET_PRIVATE_KEY; not both) |
AGENTWALLET_SOLANA_KEY | No | Yes | Local mode for Solana: secret key as a JSON array, base58 or base64 |
AGENTWALLET_SOLANA_KEYFILE | No | No | Local mode for Solana: path of a key file (instead of AGENTWALLET_SOLANA_KEY; not both) |
AGENTWALLET_RPC_URL | No | No | Local mode: one EVM RPC for every chain |
AGENTWALLET_RPC_<chainId> | No | No | Local mode: EVM RPC per chain, e.g. AGENTWALLET_RPC_8453; eth_chainId is checked |
AGENTWALLET_SOLANA_RPC | No | No | Local mode: one Solana RPC for every cluster |
AGENTWALLET_SOLANA_RPC_<chainId> | No | No | Local mode: Solana RPC per cluster (900 mainnet, 901 devnet, 902 testnet); the genesis hash is checked |
AGENTWALLET_CHAIN_ID | No | No | Local mode: default EVM chain when a call names none (default 8453) |
AGENTWALLET_MAX_TX_NATIVE | No | No | Local mode: per-transaction ceiling in native units |
AGENTWALLET_MAX_TX_TOKEN | No | No | Local mode: per-transaction ceiling for ERC-20 and SPL transfers and approvals, in token units |
AGENTWALLET_MAX_TX_SOL | No | No | Local mode: per-transaction ceiling in SOL (also charged for a recipient token account the send creates) |
AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS | No | No | Local mode: 1 lets calldata the token cap cannot price reach a token contract (refused by default) |
AGENTWALLET_ALLOW_UNLIMITED_APPROVAL | No | No | 1 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_DECIMALS | No | No | Pin decimals for tokens outside the registry, e.g. 8453:0x<token>=6,<mint>=9; used for amounts and caps instead of the RPC answer |
AGENTWALLET_MAX_AUTOPAY | No | No | Per-payment x402 ceiling in stablecoin units (default 1); the agent cannot raise it |
AGENTWALLET_MAX_AUTOPAY_PER_HOUR | No | No | Hosted mode: how many internal 402 auto-payments an hour (default 20; 0 disables) |
AGENTWALLET_AUTOPAY_ASSETS | No | No | Assets pay_x402 may pay in beyond registry stablecoins, e.g. 8453:native,0x<token> |
AGENTWALLET_X402_MAX_TIMEOUT | No | No | Longest x402 authorization window in seconds (default 3600; 60 to 31536000) |
AGENTWALLET_APPROVALS | No | No | Hosted mode: 0 disables emailing the wallet owner for an over-cap payment |
AGENTWALLET_PERMIT2_AUTO_APPROVE | No | No | Hosted mode: 1 approves exactly an upto payment maximum to Permit2 for registry stablecoins |
AGENTWALLET_TOKEN_RISK | No | No | 0 skips the GoPlus lookup approve_token performs |
AGENTWALLET_LEGACY_PAYWALL_ORIGINS | No | No | Comma-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_NATIVE | No | No | Local mode: the most a transaction may burn in fees (gas x max fee per gas), in native units; default 0.01 |
AGENTWALLET_POLICY | No | No | Path 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 ledger |
AGENTWALLET_LEDGER | No | No | Path of the append-only ledger the policy is enforced from (default: agentwallet-ledger.jsonl beside the policy file) |
AGENTWALLET_WEBHOOK_URL | No | No | https URL (or http on localhost) that receives every ledger line as it is written |
AGENTWALLET_WEBHOOK_SECRET | No | Yes | HMAC-SHA256 key for the X-AgentWallet-Signature header on webhook posts |
AGENTWALLET_KEYFILE_PASSPHRASE | No | Yes | Passphrase that opens an encrypted keyfile (made with `agentwallet-mcp encrypt-keyfile`) |
AGENTWALLET_KEYFILE_PASSPHRASE_FILE | No | No | Path of a file holding the keyfile passphrase (instead of AGENTWALLET_KEYFILE_PASSPHRASE; not both) |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/hifriendbot/agentwallet-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 5 secrets: AGENTWALLET_PASS, AGENTWALLET_PRIVATE_KEY, AGENTWALLET_SOLANA_KEY, AGENTWALLET_WEBHOOK_SECRET, AGENTWALLET_KEYFILE_PASSPHRASE |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account hifriendbot |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | agentwallet-mcp@1.14.8 runs nothing at install |
| Code red flags | Pass | Read 32 files in agentwallet-mcp@1.14.8: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 32 files, including comments and the README |
Popularity & health: 59 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
7 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.hifriendbot/agentwallet |
|---|---|
| Publisher | GitHub account hifriendbot |
| How the name is verified | Name verified via GitHub account hifriendbot. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm agentwallet-mcp 1.14.8 (stdio) |
| Version | 1.14.8 |
| Published | |
| Last updated | |
| Source repository | https://github.com/hifriendbot/agentwallet-mcp |
| Website | None linked |
| Category | Finance & payments (assigned by keyword rule, not by hand) |
Related servers in Finance & payments
Chord4/4Swap quotes + unsigned txs on 8 EVM chains, plus Solana data:…- PrivadoVPN x402 Payer7/7Local MCP server that signs x402 USDC payments (Solana, EVM) to buy…
- nulucre-wallet-reputation4/4Wallet trust scores for AI agents. Stellar, XRPL, EVM 81+ chains.…
Didit MCP Server3/3KYC, KYB, AML, wallet screening, transaction monitoring, and fraud…- Wathba3/3Saudi payments, OTP/SMS, KYC, ZATCA e-invoicing and shipping for AI…
- ATXP — Agent Payment & Wallet Infrastructure6/7Agent wallet, email, phone, and 41 paid tools: search,…