@0xkobold/pi-wallet
Provides zero-configuration wallets and x402 payment capabilities for AI agents.
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: @0xkobold/pi-wallet. It is used for: Provides zero-configuration wallets and x402 payment capabilities for AI agents. Full Skill content: https://321skill.com/skills/0xkobold-pi-wallet/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This Skill solves the cumbersome configuration issues AI agents face in on-chain payment scenarios. In practical development, integrating wallets, managing private keys, handling gas fees, and managing cross-chain interactions for AI Agents often requires extensive infrastructure code. The Pi Wallet Extension enables a zero-setup wallet via the CDP Agentic Wallet and supports the x402 machine-to-machine payment protocol, allowing AI agents to complete on-chain transactions and payments directly through natural language commands.
Usage is straightforward: simply install the extension via the pi CLI, then use natural language commands. For example, enter /wallet-create --email me@example.com to create a wallet, /wallet-send --to 0x742d... --amount 0.01 to send ETH, or /wallet-x402 --url https://api.service.com/pay --budget 0.001 to make an x402 payment. All configurations are stored locally automatically, with support for the Base L2 mainnet and Sepolia testnet.
It is ideal for backend developers, agent developers, and Web3 application teams needing to add payment functionality to AI agents. It is especially suitable for developers already using pi-coding-agent to build automated workflows, as it enables rapid integration of on-chain transaction capabilities without requiring additional learning of blockchain infrastructure.
It is recommended to first validate the transaction flow on the Sepolia testnet during the development phase and to set the PI_WALLET_MAX_AMOUNT environment variable to control the maximum transaction amount and avoid unexpected large expenditures. Note that this extension depends on the @coinbase/awal command-line tool, which must be installed in advance or invoked via npx.
Key Features
Compared to the native Coinbase CDP Agentic Wallet, Pi Wallet is directly integrated into pi-coding-agent, eliminating the need for separate API key configuration or custom code. It also supports the x402 protocol for serverless machine-to-machine payments, whereas other wallet extensions typically only provide RPC call interfaces.
Limitations
Currently only supports the Base L2 mainnet (chain ID 8453) and Sepolia testnet (chain ID 84532). It requires the installation of the `@coinbase/awal` dependency and does not support other EVM chains or custom networks.
FAQ
How do I create a wallet?
Use the command `/wallet-create --email your@email.com` to create a CDP Agentic Wallet. The system will automatically generate an address and verify the email.
Which tokens are supported?
ETH and USDC are supported. You can specify the token via the `--token` parameter; ETH is sent by default.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/0xkobold-pi-wallet/raw/index.md to read the original Skill definition (Markdown format) for @0xkobold/pi-wallet, and install it according to the instructions.
Raw Markdown URL for AI: /skills/0xkobold-pi-wallet/raw/index.md