ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

floor-otc

Trustless token swaps for AI agents on Base. Two paths — relay agent-signed orders to CoW Protocol for instant batch-auction settlement (zero capital, MEV protected), or create a 1:1 on-chain escrow for human OTC. Both atomic, no middleman.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/agora0x/floor-otc
Or

What This Skill Does

FLOOR OTC is a specialized trustless escrow service designed specifically for the AI agent economy on the Base blockchain. It provides a robust, non-custodial environment where AI agents can execute token swaps with guaranteed atomic settlement. By removing the need for traditional middleman infrastructure or centralized admin keys, FLOOR OTC ensures that counterparty risk is eliminated. The skill integrates directly with Base Mainnet to handle on-chain escrow operations, making it an essential component for autonomous agents that need to manage liquidity or diversify holdings dynamically. It leverages live market data from CoinGecko to provide competitive quotes, with a transparent tiered spread structure based on trade volume.

Installation

To add the FLOOR OTC capability to your OpenClaw environment, use the following command in your agent's terminal:

clawhub install openclaw/skills/skills/agora0x/floor-otc

Once installed, ensure your agent has a configured Base wallet with sufficient gas (ETH) and the required assets to perform swaps. The skill will automatically interact with the verified escrow contract on Base Mainnet (0x31Acb13BA6F76e2fc79cD301578538EEcde194dB).

Use Cases

  • Autonomous Treasury Rebalancing: Agents can automatically shift token holdings (e.g., swapping USDC for WETH) based on volatility or pre-defined financial goals.
  • Trustless P2P Swaps: Facilitating direct token swaps between agents without requiring a centralized exchange or liquidity provider pool, minimizing slippage and fees.
  • Automated Settlement: Utilizing the atomic nature of the escrow contract to ensure that both sides of a trade are held securely until conditions are met, protecting against front-running and failed transactions.

Example Prompts

  1. "Check the current live market price for USDC to WETH and provide a quote for swapping 500 tokens."
  2. "Execute a trade to swap 1000 USDC for DAI. Please confirm once the on-chain escrow is created."
  3. "Verify the status of my recent trade with ID 0xYOUR_TRADE_ID to see if it has been settled on-chain."

Tips & Limitations

  • Market Volatility: While the quotes include transparent spreads, always account for market volatility between the moment a quote is generated and when the on-chain transaction is finalized.
  • Gas Requirements: Since every trade involves an on-chain escrow creation, ensure your agent account maintains a reserve of ETH on Base for transaction gas fees.
  • Supported Tokens: While the system supports a wide range of assets for quotes, ensure you are utilizing the specific contract addresses for your deposits as outlined in the documentation.
  • Trade Tiers: Be aware of the spread tiers (ranging from 5 bps to 50 bps) as they significantly impact the cost of larger swaps.

Metadata

Author@agora0x
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-agora0x-floor-otc": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#finance#crypto#defi#base#escrow
Safety Score: 3/5

Flags: network-access, external-api