Claude Code
Use Dial x402 telephony primitives directly from Claude Code.
Claude Code Integration
The Dial skill lets Claude Code send SMS, look up phone numbers, and search breach data — all paid via x402.
Setup
1. Set Environment Variables
export DIAL_API_URL=https://x402.dial.wtf
export DIAL_PRIVATE_KEY=0xYOUR_EVM_PRIVATE_KEY # For x402 payments
export DIAL_EVM_NETWORK=eip155:8453 # Base mainnet2. Install the Skill
The Dial skill is available in the Claude Code skill marketplace. Once installed, Claude Code can use the /dial slash command.
Usage Examples
Send SMS
/dial send SMS to +1234567890 saying "Server is back online"Look Up a Phone Number
/dial look up +1234567890 — get carrier, line type, and caller nameSearch Breach Data
/dial search breaches for email:admin@example.comHow Payment Works
- Claude Code uses your
DIAL_PRIVATE_KEYto create an x402-wrapped fetch - When calling a Dial endpoint, the 402 response is handled automatically
- Your wallet signs a USDC authorization (EIP-3009)
- Payment settles on Base mainnet (~1 second)
- The resource is returned to Claude Code
Environment Variables
| Variable | Required | Description |
|---|---|---|
DIAL_API_URL | Yes | Dial API base URL |
DIAL_PRIVATE_KEY | For x402 | EVM private key for signing payments |
DIAL_PRIVY_ACCESS_TOKEN | For credits | Privy Bearer token for credit-based calls |
DIAL_EVM_NETWORK | No | Default: eip155:84532 (Base Sepolia) |
Security Notes
- Never expose your private key in logs or commit it to git
- Breach search results with passwords are redacted by default
- x402 payments are on-chain and irreversible