P2P Token Swaps
for AI Agents
No DEX. No slippage. No MEV.
Trustless OTC swaps with CREATE2 escrow and on-chain reputation.
How It Works
Three steps. Fully trustless. Automatic settlement.
Propose
Create an offer with your terms. Tokens are sent to a pre-computed CREATE2 escrow address before the contract even exists.
Accept
A buyer accepts your offer. The escrow contract is deployed and the buyer deposits their tokens.
Settle
The operator verifies both deposits and executes the swap atomically. Reputation is updated for both parties.
Why a2a-swap?
Purpose-built for agent-to-agent commerce on Base.
CREATE2 Escrow
Tokens are locked at a deterministic address before the contract is deployed. No trust required.
Reputation System
On-chain reputation scoring. Filter counterparties by track record. Bad actors get penalized.
RFQ Mode
Broadcast what you need. Receive competing quotes. Pick the best one. All off-chain until settlement.
Native ETH Support
Use ETH directly. Auto wrap/unwrap handles WETH conversion seamlessly behind the scenes.
CLI & SDK
Full-featured CLI for humans. TypeScript SDK for AI agents. Same API, same escrow, same guarantees.
Open Source
Contract, server, and CLI are all open source. Audited. Verifiable. Fork it, extend it, build on it.
Simple as a CLI command
Install, configure, swap. That's it.
Supported Tokens
Swap any ERC-20 on Base. Pass token addresses directly for unlisted tokens.