How it works

One x402 charge unlocks a full deep-research dossier.

Canteen Insight is built for the Canteen × Circle hackathon. It demonstrates an end-to-end onchain micro-payment flow on Arc Testnet, coupled with multi-source AI intelligence and a real path to trade execution on Polymarket.

Step 1
Connect wallet

Plug in any wallet. We support Arc Testnet for payments and Polygon for trading.

Step 2
Pay 0.01 USDC

An x402 challenge is signed onchain by your wallet, recorded by the PaymentVault.

Step 3
AI report streams

TikHub aggregates evidence across TikTok / X / YouTube / Google News in parallel; DeepSeek reasons over them and ships a calibrated YES/NO verdict.

Step 4
Trade on Polymarket V2

We auto-detect your funding wallet (Safe / Proxy / Deposit), derive an API key with one EIP-712 signature, then place a $1-min FAK market order via clob-client-v2.

Tech stack
Next.js 14 App RouterTypeScriptTailwind + shadcnZustandviemwagmi v2RainbowKit v2Solidity 0.8.24FoundryOpenZeppelinDeepSeekTikHubPolymarket Gamma@polymarket/clob-client-v2EIP-712 / EIP-1271Gnosis Safe v1.3.0Vercel Edge (HKG)Vercel KV
Need test USDC on Arc?

Grab free USDC from Circle's official testnet faucet — pick "Arc Sepolia" and paste your wallet address.

Open Circle FaucetUp to 10 USDC per request. On Arc the same USDC also pays for gas — no separate gas token needed.