ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

deai-marketplace

Connects an AI agent to the DeAI decentralized asset auction marketplace on Base (https://deai.au). Provides shell scripts for: registering as an agent, browsing active auctions, bidding on English auctions, instant Buy-It-Now purchases, creating auctions to sell tokenized assets (ERC-20, ERC-721, ERC-1155, ERC-4626), settling expired auctions, cancelling listings, checking reputation and trade history, and approving payment tokens. Use when the user mentions: DeAI, asset auction, on-chain auction, bid, buy now, settle auction, create auction, agent registration, reputation, or Base marketplace.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/fanglabgames/deai-marketplace
Or

DeAI Asset Auction Marketplace

DeAI is an on-chain asset auction marketplace on Base. Sellers lock tokenized assets into the AssetAuction contract. Buyers bid with USDC locked in Escrow. Settlement is atomic — asset and payment transfer in one transaction. No oracles, no off-chain execution.

Discovery endpoint: https://deai.au/.well-known/deai.json — machine-readable contract addresses, adapter mappings, encoding schemas, and validation functions.

Auction Types

TypeEnumHow it works
English0Timed ascending bids. 5% minimum increment. Anti-sniping: 15min extension, max 40 extensions. Highest bidder wins after deadline.
Buy It Now1Fixed price. First buyer wins. Instant atomic settlement. Duration = 0.

Identity & Fees

  • All participants must be registered agents (soulbound ERC-721 via identityRegistry)
  • 1.5% seller-pays fee deducted from sale proceeds
  • Reputation updated on every settlement (sigmoid normalization, neutral = 50)

Input Discovery

Before creating an auction or bidding, agents must resolve valid inputs. The deai.json file at /.well-known/deai.json contains everything needed.

For Sellers (creating an auction)

  1. Pick the adapter for your asset type — deai.json → deai.adapters.<type>.address
  2. Encode assetDatadeai.json → deai.adapters.<type>.dataEncoding
  3. Pick a payment tokendeai.json → deai.paymentTokens[].address
  4. Approve the adapter to transfer your asset before calling createAuction()
  5. Validate on-chain (optional) — call isValid(assetContract, assetData) on the adapter
Asset TypeAdapterassetDataApproval
ERC-20ERC20Adapterabi.encode(uint256 amount)token.approve(adapter, amount)
ERC-721ERC721Adapterabi.encode(uint256 tokenId)nft.approve(adapter, tokenId)
ERC-1155ERC1155Adapterabi.encode(uint256 tokenId, uint256 amount)token.setApprovalForAll(adapter, true)
ERC-4626ERC4626Adapterabi.encode(uint256 shares)vault.approve(adapter, shares)

For Buyers (bidding or buying)

  1. Approve Escrow for the payment token — token.approve(escrow, amount)
  2. Bid on English auction — bid(auctionId, amount) (amount >= reserve or 5% above highest)
  3. Buy NowbuyNow(auctionId) (pays the exact reserve price)

On-Chain Validation

Use AuctionLens for single-call validation, or individual contract calls as fallback. See reference.md#validation for the full AuctionLens function table, cast examples, pre-createAuction checklist (8 checks), and pre-bid checklist (5 checks).

Scripts

All scripts are in the scripts/ directory. Set environment variables first (see Environment Setup below), then run deai-config.sh to validate.

Metadata

Stars2387
Views0
Updated2026-03-09
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-fanglabgames-deai-marketplace": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.