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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/fanglabgames/deai-marketplaceDeAI 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
| Type | Enum | How it works |
|---|---|---|
| English | 0 | Timed ascending bids. 5% minimum increment. Anti-sniping: 15min extension, max 40 extensions. Highest bidder wins after deadline. |
| Buy It Now | 1 | Fixed 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)
- Pick the adapter for your asset type —
deai.json → deai.adapters.<type>.address - Encode assetData —
deai.json → deai.adapters.<type>.dataEncoding - Pick a payment token —
deai.json → deai.paymentTokens[].address - Approve the adapter to transfer your asset before calling
createAuction() - Validate on-chain (optional) — call
isValid(assetContract, assetData)on the adapter
| Asset Type | Adapter | assetData | Approval |
|---|---|---|---|
| ERC-20 | ERC20Adapter | abi.encode(uint256 amount) | token.approve(adapter, amount) |
| ERC-721 | ERC721Adapter | abi.encode(uint256 tokenId) | nft.approve(adapter, tokenId) |
| ERC-1155 | ERC1155Adapter | abi.encode(uint256 tokenId, uint256 amount) | token.setApprovalForAll(adapter, true) |
| ERC-4626 | ERC4626Adapter | abi.encode(uint256 shares) | vault.approve(adapter, shares) |
For Buyers (bidding or buying)
- Approve Escrow for the payment token —
token.approve(escrow, amount) - Bid on English auction —
bid(auctionId, amount)(amount >= reserve or 5% above highest) - Buy Now —
buyNow(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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-fanglabgames-deai-marketplace": {
"enabled": true,
"auto_update": true
}
}
}