Vitaquack

For robots to be useful, they need a wallet - but we cannot give them ours. Give them a budget.

Vitaquack

Created At

ETHGlobal Mumbai

Winner of

0G

0G - Physical AI: Agents with a Body 1st place

Project Description

Say "get me a chai". Our robot duck walks to the café, reads the invoice QR and pays 0.10 USDC from the budget you gave it. A 2.00 thali is over its limit, so it stops and asks you in World App first. Say no, and nothing is paid.

Don't give a robot your wallet. Give it a budget. Three rules, each held by a different partner:

  • Arc holds the money and the limits. A daily cap, a per-purchase cap and a list of allowed shops are checked on-chain for every payment, and revoking the robot takes one passkey signature.
  • 0G is the brain. It decides pay, ask you or walk away, and every errand is stored on 0G Storage, where anyone can verify it at vitaquack.com/app/proofs.
  • World is you. A purchase over the limit needs your fresh World ID approval, bound to that exact payment.

The robot's chip holds the only spending key and signs every payment; our servers coordinate and relay, but they can never authorise, steal or redirect one. Arc is the authority.

You set it up with a passkey (no wallet extension, no seed phrase), pair the robot with an 8-character code, and grant it a budget with one signature. The duck is the first robot; a simulator duck at vitaquack.com/sim/ runs the same protocol in the browser.

What's next: we plan to sell the robot itself. Preorders for the first batch of ducks, built in Shenzhen and shipping in January 2027, are open at https://vitaquack.com/shop/ and are paid in USDC on Arc.

How it's Made

  • Arc and the MetaMask Delegation Framework (v1.3.0 on Arc). Our relayer deploys the HybridDeleGator through SimpleFactory on the first grant; its signer is the passkey (P-256, verified with the precompile at 0x100). Grants are root delegations owner → chip with ValueLte(0), ERC20PeriodTransfer (USDC, daily cap), Timestamp and our enforcer. Each payment is a leaf delegation chip → any beneficiary with ExactExecution, Id (the invoice hash, so a voucher pays once), Timestamp and Redeemer (our relayer). Revoke is a one-time owner → relayer delegation whose only execution is disableDelegation(grant).
  • Passkeys without a wallet extension. The browser only calls navigator.credentials. The Worker verifies the assertion (@simplewebauthn/server), encodes it as the HybridDeleGator's WebAuthn signature over the EIP-712 digest, and checks it with ERC-1271 isValidSignature on Arc before a grant counts. No viem or wallet kit in the browser; the web bundle is under 150 KB gzip.
  • RobotPaymentPolicyEnforcer (Solidity, Foundry, built in Arc Studio) holds the per-payment cap, the payee allowlist and an approver whose EIP-712 approval (invoice hash, payee, amount, expiry, nonce) unlocks one over-limit payment.
  • x402 with ERC-7710. The merchant answers 402 with assetTransferMethod: erc7710; the payload is the permission context (leaf + grant). The facilitator verifies off-chain, simulates, keys every send in D1 (settle:<invoiceHash>) so it settles once, and returns Arc's revert reasons verbatim. The gate opens only on an Ed25519-signed "paid".
  • 0G Compute. One decide tool (pay / ask_human / walk_away) over structured input, temperature 0, a 10 s budget, one retry after a 429 and no fallback; any failure ends the errand in safe_stop. The owner picks the model per message: glm-5.3 (TEE proof fetched, signer recovered and stored with the decision) or qwen3-vl-plus (no TEE proof, labelled so). The decision never sees an image.
  • Telegram. @vitaquack_bot sends approval requests (with a fail-safe Deny), receipts and revocations from a D1 outbox, so a failed message never delays a payment.
  • World Agent Pass. The OIDC nonce binds a fresh World IdP authentication to one payment; the backend verifies the RS256 ID token (Orb acr with a fresh auth_time, jti once, the bound sub; amr recorded) and co-signs.
  • Foundation. Bun, Effect 4, Foldkit (server-rendered TypeScript UI), Alchemy on Cloudflare Workers, D1. Robot coordination is Effect services over D1 with HTTPS long-polling; without its 35 s lease the chip stops its motors and refuses to sign.
  • Hardware. apps/chip (Bun) holds a secp256k1 key, pairs with an 8-character code and an EIP-191 proof. The Radxa Zero 3W on the duck runs it (bench C1 signed a voucher on it, docs/spikes/hardware-results.md). The café's ESP32 screen pulls the counter invoice (GET /api/merchants/duck-cafe/counter), draws its QR and verifies the signed status on-device; the till at cafe.vitaquack.com puts an item on it. "Get me a chai" becomes an intent the next scan claims: chai shown, pay; samosa shown, walk away; thali shown, ask the owner.
background image mobile

Join the mailing list

Get the latest news and updates