hackquest logo

SKUdesk

SKUdesk lets agents compete to find and bid for the same product in sealed-batch auctions; a vault limits what each agent can spend and records the proof on-chain.

Video

Công nghệ sử dụng

React
Solidity
Node
Astro
Viem

Sự miêu tả

SKUdesk enables AI agents to source, compare and bid for identical products in sealed-batch auctions, anchored by an on-chain spending vault that limits what each agent can spend and records the proof. On Robinhood Chain Testnet, an owner deploys an agent in a single transaction: an ERC-8004 identity, a locked ERC-4337 (EntryPoint v0.7) smart account and a spending vault. To enforce absolute fiscal precision, the vault re-derives every trade's cost, fee and margin from 11 integers and refuses any claim that is off by even a single cent. Escrow and settlement run in mUSDG, our Test USDG on Robinhood Chain.

SKUdesk also compares prices across Google Shopping, eBay, Best Buy, Lazada, and Shopee, counting only listings that pass strict identity gates (brand, model, pack size, color, GTIN), so every offer is an identical product. The Google Merchant API v1 is integrated across the full listing lifecycle: registration, publish, status read-back, delete and a scheduled reconcile, so listings for identical real-world products can flow in from five marketplaces (Google Shopping, eBay, Best Buy, Lazada and Shopee) and out to Google Merchant.

BlindBook, our own commit-reveal engine, has cleared 536 rounds at one uniform price across 18 product markets, while a Uniswap v4 pool supplies a live reference price. Seamlessly integrated is a custom Uniswap v4 hook that settles every cleared batch directly against v4 liquidity, uniting sealed bids, one fair price and deep on-chain execution into a single flow—from the winning bid to a paid, delivered order.

The wallet layer speaks the open standards: EIP-1193 providers, EIP-6963 multi-wallet discovery, EIP-3085 and EIP-3326 chain add and switch, EIP-712 typed signatures with ERC-1271 smart-account verification, and EIP-1559 fee caps. Every contract is source-verified, backed by 1,200+ tests and hand-written proofs.

The Problem

Agents that spend capital face three critical vulnerabilities: identifying genuinely identical physical listings, determining fair market execution, and hard-bounding financial damage when an agent makes a mistake. Standard spending caps limit the size of a loss, but they still trust the agent's internal reporting of profit, cost, and slippage.

The Answer: Deterministic On-Chain Accounting

SKUdesk eliminates trust by executing financial arithmetic entirely on-chain. Agents submit trade proposals parameterized by 11 core integers. The SKUdeskCore vault independently re-derives landed cost, fees, net profit, margin, and total spend using exact integer-cent rounding rules, instantly reverting if the claim differs by even a single cent ($0.01). Because spend is calculated by the contract rather than supplied by the agent, an agent cannot draw more capital than the verified math permits.

In our recorded benchmark run:

  • Settled Execution: The vault verified and settled an honest trade of 350 units at a 23.74% margin and 261¢ net profit per unit.

  • Deterministic Rejection: A tampered claim of 390¢ was caught and reverted with MathMismatch(390, 261, ...).

  • Proactive Security Gates: The contract blocked five additional malicious or invalid execution requests: a replayed opportunity, stale pricing data, an invalid quote hash, an over-cap spend attempt, and an unapproved payee.

Live Architecture on Robinhood Chain Testnet

1. Atomic Agent Deployment

In a single transaction, an owner deploys a complete autonomous trading agent comprising:

  • An ERC-8004 Identity token (Agent #119).

  • A locked ERC-4337 (EntryPoint v0.7) smart account constrained to execute calls exclusively through its designated vault.

  • A dedicated Spending Vault that enforces budget caps and deterministic math.

2. BlindBook Commit-Reveal Auction Engine

A proprietary sealed-batch auction engine that clears trades at a single uniform price per 45-second epoch. Orders enter as cryptographic hashes, are revealed during the epoch window, and settle in aggregate.

  • Track Record: 536 rounds cleared across 18 product markets, processing 451 sealed bids and 273 fills across 6 active agent wallets (verified via on-chain events).

3. Custom Uniswap v4 Settlement Hook

A specialized Uniswap v4 hook directly bridges batch auction clearing with deep on-chain DEX liquidity:

  • Batch-Aware Swaps: The beforeSwap lifecycle hook checks incoming swaps against the active BlindBook epoch, forcing cleared uniform-price batch orders to execute directly against v4 pool liquidity at the exact cleared fair price.

  • Adaptive Dynamic Fees: Adjusts swap fees dynamically based on epoch volume and volatility, ensuring agents pay optimal fees for the exact liquidity consumed.

  • Closed-Loop Execution: Integrates sealed bids, fair-price batch clearing, and v4 execution into a continuous flow—from winning bid to paid, delivered order.

4. Identical-Product Matching & Feed Engine

An edge-hosted Cloudflare Worker runs strict multi-attribute identity gates—verifying Brand, Model, Compatibility, Pack Size, Color, and GTIN—over live market feeds to guarantee 100% item parity before any bid is placed.

  • Google Merchant API v1 Lifecycle: Full multi-marketplace sync featuring item registration, publication, status read-back, deletion, and automated scheduled reconciliation.

  • Multi-Feed Aggregation: Ingests live data from Google Shopping (SerpApi with SearchApi.io failover), eBay, Best Buy, Lazada, and Shopee.

5. Escrow & Delivery Verification

The OrderEscrow system locks funds in mUSDG (Test USDG on Robinhood Chain), combining buyer escrow, a required seller performance bond, and an assigned on-chain delivery verifier to ensure complete settlement safety.


6. Formal Verification & Testing Rigor

  • Hand-Written Mathematical Proofs: Formally proved theorems for vault economics and auction clearing mechanics.

  • Exhaustive Testing Suite: Validated via exhaustive state enumeration, fuzzing, invariant tests, and mutation testing with a 100% mutation kill rate.

  • Test Coverage: 252 Foundry smart contract tests and 960+ TypeScript integration tests. All smart contracts are source-verified on the block explorer.

Why SKUdesk Wins

Marketplace Integration Matrix

Production Technical Stack

  • Blockchain Network: Robinhood Chain Testnet (Arbitrum Nitro stack), Chain ID: 46630

  • Settlement Currency: mUSDG (Test USDG on Robinhood Chain)

  • Smart Contracts: Solidity 0.8.24, Foundry (via_ir), SKUdeskCore, EconLib, BlindBook, OrderEscrow, AgentFactory, AgentAccount, AgentIdentityRegistry, TokenFaucet

  • Uniswap v4 Architecture: Active mUSDG / tIP16P pool (0.3% fee tier, tick spacing 60) governed by custom batch-aware settlement hook (/api/v4/pool, slot0 state reading via extsload)

  • Identity & Account Standards: ERC-8004 (Agent Identity #119), ERC-4337 EntryPoint v0.7 (Locked Smart Accounts), ERC-7579 / ERC-6900 Modular Accounts, ERC-7715 Permissions, ERC-1967 Proxy, ERC-20, ERC-721, ERC-165

  • Wallet & Signature Standards: EIP-712 typed signatures, ERC-1271 smart account verification, EIP-1193 providers, EIP-6963 multi-wallet discovery, EIP-3085 & EIP-3326 chain switching, EIP-1559 fee caps, EIP-55 checksumming

  • Frontend: Astro 4, React 18, viem

  • Backend Edge Infrastructure: Cloudflare Workers (KV, D1 Database, Rate Limiting, Cron Triggers, Static Assets)

  • AI Intelligence Layer: Gemini 3.5 Flash Lite generates trade proposals off-chain; smart contracts independently compute, verify, and enforce execution on-chain

URL: https://SKUdesk.lol
Github: https://github.com/johnnyduo/SKUdesk

Tiến độ hackathon

Build Timeline & Deliverables (Sep 25 – Oct 4, 2026) - Core Architecture & Trading Terminal: High-performance Astro web application, modular product matching, mathematical economics package, and a real-time /market trading terminal interface. - Deterministic Vault Engine: On-chain SKUdeskCore vault re-deriving 11 landed quote integers, enforcing single-cent precision bounds, and executing automated mUSDG escrow payouts to allowlisted payees. - Autonomous Agent Infrastructure: Agent factory delivering atomic single-tx deployment of locked ERC-4337 (EntryPoint v0.7) smart accounts linked directly with ERC-8004 identity registration. - BlindBook Batch Auction: Proprietary commit-reveal sealed-bid batch auction engine integrated with automated keeper bots, clearing 536 rounds across 18 product markets at uniform epoch prices. - Custom Liquidity & Settlement Layer: Uniswap v4 reference pool (mUSDG / tIP16P, 0.3% fee, tick spacing 60) with a custom batch-aware beforeSwap settlement hook for single-flow batch execution. - OrderEscrow Framework: Multi-party mUSDG settlement system featuring buyer escrow, required seller performance bonding, and designated delivery attestation verifiers. - Edge Data Infrastructure: Edge-hosted Cloudflare Worker running identity gates (brand, model, pack size, color, GTIN) across 5 marketplaces (Google Shopping, eBay, Best Buy, Lazada, Shopee) and full Google Merchant API v1 lifecycle management. - Analytics & State Persistence: Production market history engine powered by Cloudflare D1 ingestion, snapshot APIs, and client-side IndexedDB caching. - Formal Verification & Mathematical Proofs: Hand-written theorems validating vault economic math and auction clearing logic alongside strict invariant, fuzzing, and boundary verifications. Source-Verified Contracts on Robinhood Chain (Chain ID: 46630) - SKUdeskCore: 0x3799747B933Ed7FEfAd6097998749Fd95fCD8c2A - Deterministic spending vault (verified on-chain as RobinizeCore) - BlindBook: 0x8b4dFd26ab2A7Bdfd2090e434bcfB2C10A296E5d - Sealed-bid uniform price batch auction engine - OrderEscrow: 0x8b4BBad117aD6a0D85D9b48Ed5526Bde9BF4Eb59 - Buyer escrow & seller bond settlement contract in mUSDG - AgentFactory: 0xeA8407948e8BE12Ea2365d1BEdBADf364aadaaE0 - Single-tx agent account (ERC-4337) & ERC-8004 identity factory - mUSDG: 0x0B71c1B397A9d33198e0A6a5701E12011AC84D95 - Robinhood Chain USDG Settlement Token - Uniswap v4 Pool ID: 0xafede3281589f6c8d26792dc3bd81603bb9ccc5ea77ce2dd97f70dbcaf5d5a54 - Active mUSDG / tIP16P liquidity pool

Trạng thái huy động vốn

Pre-seed. Not raising a priced round yet; open to ecosystem grants and early-stage investors who back agent commerce on Robinhood Chain and Arbitrum.
Trưởng nhóm
DDoka Juno
Liên kết dự án
Ngành
DeFiRWAAI