Scalper-proof RWA merch drops: a fan raffle + Vickrey auction where winners pay the 2nd-highest bid
Fanfare makes limited drops of physical merch scalper-proof. Limited anime goods, designer toys and collabs are priced at retail (定価 in Japan) and sell out in seconds, mostly to bots and multi-account buyers, then reappear on resale sites at 5–10x the price. The gap between retail and what fans will really pay goes to scalpers, not to the brand or the fans.
Fanfare runs each drop as a sealed-bid auction built as a Uniswap v4 hook, using a mechanism we call Fan-First Vickrey:
The result: fans still get retail-price units, the brand earns the gap between retail and the market price, and anyone who wins has already paid the market price, so there's nothing left to flip.
Every bid is a real Uniswap v4 swap: bidders swap ETH into the drop's pool through the standard Universal Router, and the hook turns that swap into a sealed, escrowed bid. Winners get an on-chain receipt the brand redeems by shipping the item. Live on Sepolia with a pitch page, a bidder page and a brand console.
Uniswap v4 is the core. The entire auction is a v4 hook (AuctionDrop) built on OpenZeppelin's uniswap-hooks BaseAsyncSwap. A bid is an exact-input ETH swap sent through the stock Universal Router (V4_SWAP with SWAP_EXACT_IN_SINGLE + SETTLE_ALL). No custom bidding contract or router is needed, so any client that can build a v4 swap can bid.
In beforeSwap, the hook:
beforeInitialize binds the hook to its one pool, and beforeAddLiquidity blocks outside liquidity, so ordinary swaps and LPs can't touch the drop. Deposits never leave the PoolManager until someone is paid: claims, refunds and the brand's withdrawal burn ERC-6909 claims and take ETH inside unlockCallback. The hook address is mined with HookMiner and deployed through CREATE2, so its low bits encode exactly these permissions.
Hacky bits:
World ID 4.0 (IDKit 4.3) handles personhood. Proofs are verified server-side with World's v4 endpoint, using proof_of_human, a server-signed RP request, a pinned environment, and the proof's signal bound to the bidder's wallet so it can't be replayed for another wallet. The backend then signs the voucher with the person's nullifier, and the hook enforces one bid per nullifier on-chain. The demo runs in World's sandbox environment. For multi-bidder testing as a solo builder, a flag-gated test mode can issue vouchers without World ID; it is unavailable when World ID runs in production mode.
Frontend: Next.js 16, wagmi v3, viem, Tailwind v4 and Motion. Bid secrets stay in the bidder's browser until reveal. Other people's bids show only as sealed until settlement. A multi-account picker makes live demos easy, and reads fall back across RPC providers.

