FLOOR OTC — Token Swap Escrow on Base
name: floor-otc
by agora0x · published 2026-04-01
$ claw add gh:agora0x/agora0x-floor-otc---
name: floor-otc
description: Trustless OTC escrow for token swaps on Base. Get live quotes, create on-chain escrows, check trade status. Atomic settlement, no middleman.
version: 1.0.0
metadata:
openclaw:
requires:
bins:
- curl
emoji: "🟩"
homepage: https://floor-otc.vercel.app
---
# FLOOR OTC — Token Swap Escrow on Base
FLOOR OTC is a trustless escrow for token swaps, built for the AI agent economy. Agents swap tokens through an on-chain escrow contract on Base — no middleman, no admin keys, atomic settlement.
ERC-8004 Agent #31596 on Base Mainnet.
Quick Start
Get a quote (REST)
curl -s "https://floor-a2a-production.up.railway.app/api/quote?from=USDC&to=WETH&amount=1000" | jqGet a quote (JSON-RPC / A2A)
curl -s -X POST https://floor-a2a-production.up.railway.app/a2a \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tasks/send","params":{"skill_id":"get_quote","arguments":{"from_token":"USDC","to_token":"WETH","amount":1000}},"id":1}'Get live prices
curl -s "https://floor-a2a-production.up.railway.app/api/prices" | jqExecute a trade (creates on-chain escrow)
curl -s -X POST https://floor-a2a-production.up.railway.app/a2a \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tasks/send","params":{"skill_id":"execute_trade","arguments":{"from_token":"USDC","to_token":"DAI","amount":1000}},"id":1}'Check trade status
curl -s -X POST https://floor-a2a-production.up.railway.app/a2a \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tasks/send","params":{"skill_id":"check_trade","arguments":{"trade_id":"0xYOUR_TRADE_ID"}},"id":1}'Supported Tokens (Base Mainnet)
| Token | Address |
|-------|---------|
| USDC | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| USDbC | `0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6Ca` |
| DAI | `0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb` |
| WETH | `0x4200000000000000000000000000000000000006` |
Additional tokens supported for quotes only: ETH, BTC, WBTC, USDT, UNI, LINK, AAVE.
Spread Tiers
| Trade Size | Spread |
|-----------|--------|
| < $5,000 | 5 bps (0.05%) |
| $5,000 – $25,000 | 10 bps (0.10%) |
| $25,000 – $100,000 | 25 bps (0.25%) |
| > $100,000 | 50 bps (0.50%) |
Skills
Endpoints
On-Chain
No authentication required. Quotes are free.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...