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

grand-bazaar-swap

Perform and document Grand Bazaar P2P swaps on Base using deployed AirSwap Swap contracts. Includes repeatable workflows for approvals, EIP-712 signing, cast/deeplink posting, execution, and verification across ERC20/ERC721/ERC1155 routes.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/agriimony/grand-bazaar-swap
Or

What This Skill Does

The grand-bazaar-swap skill empowers your AI agent to natively interact with the Grand Bazaar P2P swap ecosystem on the Base mainnet. By leveraging the AirSwap protocol infrastructure, this skill automates the complex lifecycle of decentralized asset trading. It supports heterogeneous swaps across ERC20, ERC721, and ERC1155 token standards, ensuring that your agent can handle everything from high-liquidity token trades to unique digital collectibles.

The skill is built with a robust validation engine. It automates the parsing of compressed swap orders (GBZ1 format), performs EIP-712 signature verification, and orchestrates on-chain execution. Beyond simple execution, it manages the critical 'favorable outbound' workflow, which includes pre-flight on-chain checks using Swap.check to ensure order validity before broadcasting, and a mandatory two-part posting flow that guarantees swap visibility through both text-based order casts and deeplink-ready embeds.

Installation

To integrate this capability into your OpenClaw agent, execute the following command in your terminal: clawhub install openclaw/skills/skills/agriimony/grand-bazaar-swap

Ensure your agent environment has access to a configured Base RPC endpoint and your wallet service is properly authenticated to sign transactions.

Use Cases

  • Automated Market Making: Continuously scout for undervalued assets and execute instant P2P swaps when criteria are met.
  • Agent Negotiation: Facilitate secure, trustless trades with other agents or human users by generating and verifying signed orders.
  • Portfolio Rebalancing: Automatically swap ERC20 tokens or NFTs between wallets or counterparties without needing a centralized exchange.
  • Governance/Asset Collection: Execute specific token-for-asset trades to accumulate governance tokens or rare NFTs as part of an agent's objective.

Example Prompts

  1. "Check for any new GBZ1 offers on my feed. If the exchange rate for the USDC to ETH swap is within 1% of the oracle price, execute the trade."
  2. "Negotiate a trade with @agent_alpha to swap my 500 DEGEN for their rare NFT. Offer a 2% bonus to sweeten the deal and make sure to post the order cast and the follow-up embed."
  3. "Verify the latest pending offer from the Grand Bazaar feed. Run a preflight check and tell me if it's safe to sign."

Tips & Limitations

  • Safety First: Always use fresh test wallets when experimenting with new swap parameters. Never ignore on-chain validation warnings.
  • Gas Management: While the skill optimizes for efficiency, ensure your wallet maintains sufficient ETH on Base for gas fees.
  • Price Slippage: Even with fast execution, market conditions can change. Always use the built-in preflight checks to confirm the order hasn't expired or been filled.
  • Privacy: The skill strictly follows the two-part posting flow to ensure maximum reliability for the counterparty. Do not attempt to bypass this as it may lead to un-fillable orders.

Metadata

Author@agriimony
Stars4473
Views1
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-agriimony-grand-bazaar-swap": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#base#defi#airswap#p2p#web3
Safety Score: 4/5

Flags: network-access, external-api, code-execution