Gochi
On-chain AI virtual pet powered by the full 0G stack — identity on 0G Chain, state on 0G KV, memories on 0G Log, soul on 0G Compute. It cannot be deleted.
Videos
Description
Gochi is a Tamagotchi-inspired AI virtual pet that lives entirely on the 0G modular stack — the first pet whose existence is cryptographically guaranteed.
When Tamagotchi servers shut down in 2023, millions of virtual pets were erased overnight. Gochi solves this permanently:
🔗 Identity — Minted as an ERC-721 INFT on 0G Galileo Chain. Your pet owns a unique on-chain identity, verifiable on ChainScan at any time.
⚡ Reflexes — Hunger, mood, and energy are stored in 0G Storage KV with sub-50ms round trips. The pet reacts to your actions in real time with no AWS, no centralized database.
🧠 Memory — Every action (feed, play, sleep, chat) is permanently archived to 0G Storage Log as a Merkle-verified document. The root hash is stored on-chain and viewable on StorageScan. These memories can never be deleted.
🤖 Soul — Gochi's personality runs on 0G Compute Router, an OpenAI-compatible API backed by TEE-verified inference. The ZG-Res-Key response header provides cryptographic proof that Gochi's responses came from a genuine compute environment — impossible with centralized providers.
Take 0G out and you'd need Redis + IPFS + Arweave + OpenAI + Ethereum: four SDKs, four billing accounts, zero unified verification. With 0G it's one SDK, one token, four capabilities.
Live at: https://gochi.edycu.dev
Contract: 0x9BDA4cBfda7a7960251A4EE07A7ec0C00239a8cf (0G Galileo, Chain ID 16602)
Progress During Hackathon
<p>Week 1 — Foundation</p><p>- Deployed ERC-721 INFT contract (Gochi.sol) to 0G Galileo Testnet</p><p>- Integrated @0gfoundation/0g-storage-ts-sdk for KV read/write (Batcher + KvClient)</p><p>- Built Next.js 16 App Router skeleton with wagmi v3 + viem v2 wallet connection</p><p>- Implemented automatic chain switching to 0G Galileo (chainId: 16602) on mint</p><p>Week 2 — Core Features</p><p>- Integrated 0G Storage Log (Indexer.upload + MemData) for permanent memory archival</p><p>- Connected 0G Compute Router for AI chat with TEE verification (ZG-Res-Key header)</p><p>- Built PetViewport with animated ghost, stat bars, and real-time KV state updates</p><p>- Added Supabase fallback persistence so the demo is always live regardless of testnet status</p><p>Week 3 — Polish & Submission</p><p>- Redesigned MintFlow: replaced broken carousel with two-panel New Life / Resume layout</p><p>- Fixed WalletConnect chain mismatch errors and suppressed analytics console noise</p><p>- Created dynamic ERC-721 tokenURI + SVG image endpoint (/api/metadata/[tokenId])</p><p>- Added Core Memories panel with Merkle roots and live StorageScan links</p><p>- Deployed to Vercel at <a href="http://gochi.edycu.dev">gochi.edycu.dev</a> with custom domain</p><p>- Created pitch deck (self-contained HTML at /pitch), demo video, and full documentation</p>
Tech Stack
Fundraising Status
<p>Bootstrapped — no external funding. Built solo as a hackathon submission.</p><p></p>