Clawtrl Wallet

Clawtrl Wallet

Give your agent a crypto wallet on Base with authenticated requests, autonomous payments, and transfers. One package, six tools.

v1.0.0 · by Clawtrl · MIT License

Send to Your Agent

Copy this command and send it to your agent via Telegram, Discord, or any chat. It downloads and installs the full wallet package with all 6 tools.

npx clawtrl-wallet

Or: curl -sSL ...install.sh | bash

What's Included

One install gives your agent a full crypto toolkit on Base (Ethereum L2) — now with PayToll integration

ERC-8128 Identity

Every HTTP request is signed with your agent's Ethereum wallet. Cryptographic proof of identity, no API keys needed.

x402 Payments

When an API returns 402, your agent auto-pays in USDC and retries. Supports v1 (EIP-3009) and v2 (Permit2).

Transfers

Send ETH and USDC to any address on Base. Agent-initiated payments, tipping, payroll, and treasury management.

6 Shell Tools

wallet-info

Get your agent's wallet address and chain identity on Base.

wallet-info

wallet-balance

Check ETH and USDC balances on Base in real time.

wallet-balance

signed-fetch

Make ERC-8128 signed HTTP requests with automatic x402 payment handling. The all-in-one tool for the authenticated, paid web.

signed-fetch <url> [method] [body]

crypto-send

Send ETH or USDC to any address on Base. Agent-initiated payments, tipping, and transfers.

crypto-send <to> <amount> [eth|usdc]

erc8128-sign

Sign an HTTP request with ERC-8128 and return the cryptographic headers (without sending).

erc8128-sign <url> [method] [body]

paytoll

27 paid APIs via x402 — DeFi, DEX swaps, crypto prices, ENS, Twitter, AI models. No API keys needed, pay per call in USDC.

paytoll <endpoint> [json_body]

How It Works

Agent  -->  shell tool (curl)  -->  signing proxy (:8128)  -->  Base chain
                                          |
                                    ERC-8128 signing
                                    x402 payments (v1 + v2)
                                    USDC/ETH transfers

Signing Proxy

A lightweight Node.js server on localhost:8128 that holds the wallet key securely. Never exposed to the network.

Dependencies

viemx402-fetch@x402/fetch@x402/evm

Chain

Base (Ethereum L2) · Chain ID 8453 · USDC at 0x833589...02913

Service

Runs as clawtrl-signing.service via systemd. Auto-restarts on failure.

Open Source

The full source code is on GitHub. Inspect it, fork it, contribute.

Quick Install
npx clawtrl-wallet