awal
v2.0.3
Published
Coinbase Wallet CLI for payments and crypto
Maintainers
Readme
awal
Coinbase Wallet CLI for payments and crypto.
Installation
npx awal statusOr install globally:
npm install -g awal
awal statusQuick Start
# Check status (will install server on first run)
awal status
# Sign in with email
awal auth login [email protected]
awal auth verify <flow-id> <6-digit-code>
# Check your balance
awal balance
# Get your wallet address
awal address
# Send USDC
awal send $1.00 0x...recipient...
# Swap tokens
awal trade $1 usdc ethCommands
Wallet
awal status- Check server and auth statusawal balance- Get wallet balances (USDC, ETH, WETH)awal address- Get wallet addressawal show- Open wallet UI
Authentication
awal auth login <email>- Start email OTP sign-inawal auth verify <flowId> <code>- Complete sign-in with 6-digit code
Transactions
awal send <amount> <recipient>- Send USDC to address or ENSawal trade <amount> <from> <to>- Swap tokens
X402 Payments
awal bazaar list- List X402 payment servicesawal bazaar details <url>- Get service detailsawal pay <baseURL> <path>- Make X402 payment requestawal discover <baseURL> <path>- Discover payment requirements
Options
Most commands support:
--json- Output as JSON--chain <chain>- Specify blockchain (default: base)
Architecture
The CLI communicates with an Electron-based wallet server via file-based IPC. On first run, the server bundle and Electron runtime are installed to ~/.local/share/awal/.
Requirements
- Node.js 18+
- macOS, Linux, or Windows
License
Apache-2.0
