An interactive arcade game demo built on Base Sepolia where users click a coin to earn points. Each click costs 0.1 USDC and is submitted as a gasless blockchain transaction using account abstraction.
100% Agentic Coded — This entire app was built by AI agents using Claude Code with the jaw-sdk-best-practices skill, which provides guidance on JAW SDK patterns, APIs, and integration best practices.
- Wallet Connection — Connect via JAW smart accounts with ENS gamertag display
- Gasless Transactions — Clicks are submitted on-chain with no gas fees (Etherspot paymaster)
- Timed Sessions — 1-hour game sessions with a 2 USDC spend limit
- Real-time UI — Live click counter, remaining balance, countdown timer, and transaction tracking
- React 19, TypeScript, Vite
- wagmi + viem
- @jaw.id/core & @jaw.id/wagmi (account abstraction / smart accounts)
- @justaname.id/react (ENS resolution)
- Radix UI (components)
- Node.js 18+
- Bun
Create a .env file in the project root:
VITE_JAW_API_KEY=<your-jaw-api-key>
VITE_ENS_DOMAIN=<your-ens-domain>
VITE_PAYMASTER_URL=<your-etherspot-paymaster-url>bun install
bun run devbun run build # Production build
bun run preview # Preview production build
bun run lint # Run ESLint| Parameter | Value |
|---|---|
| Cost per click | 0.1 USDC |
| Session duration | 1 hour |
| Spend limit | 2 USDC/session |
| Network | Base Sepolia |