0G APAC Hackathon 2026 — Submission

GOCHI

The first on-chain AI virtual pet that lives entirely on the 0G Network.
It cannot be deleted. It cannot be shut down.

< 50ms
KV read latency
ERC-721
INFT on-chain
TEE
verified AI
Merkle
memory proofs
The Problem

Your pet can be shut down

Virtual pet games — Tamagotchi, Neopets, CryptoKitties — all share one critical flaw: they depend on centralized infrastructure.

Server-dependent
When the servers go dark, your pet dies forever. Neopets has already lost years of user data.
AI is unverifiable
You can't prove responses are fair, untampered, or actually running what was promised.
Memories are mutable
History can be altered, deleted, or lost in a database migration.
SERVER_OFFLINE
PET_DELETED
# Neopets 2023 incident
status: OFFLINE
user_data: LOST
pets: GONE FOREVER
The Solution

An immortal on-chain pet

Identity lives on-chain
Minted as ERC-721 INFT on 0G Galileo Chain. A permanent, verifiable identity no company can revoke.
State on decentralized storage
Hunger, mood, energy via 0G Storage KV. No AWS. No Firestore. Sub-50ms reads.
Memories are permanent + provable
Every action archived to 0G Storage Log with Merkle root proofs. Cannot be tampered with.
AI is TEE-verified
Personality via 0G Compute Router. Cryptographic proof the AI ran untampered.
GOCHI #42
ALIVE ON 0G CHAIN
Contract: 0x5F9c…426F2
Chain: 0G Galileo (16602)
Architecture

Full 0G Network stack

0G CHAIN
ERC-721 INFT
mint + identity
0G KV STORE
hunger/mood/energy
< 50ms reads
0G LOG STORE
action memories
Merkle proofs
0G COMPUTE
Qwen 2.5 LLM
TEE-verified AI
USER INTERACTION FLOW
Wallet Connect Mint INFT Load State (KV) Feed / Play / Sleep Archive Memory (Log) Chat (Compute)
Next.js 16
App Router
wagmi v3
wallet kit
0G JS SDK
storage + kv
Hardhat
contracts
Key Features

What makes Gochi unique

INFT Identity
Minted as ERC-721 on 0G Galileo Chain. Unique identity, verifiable on ChainScan. Owned by your wallet forever.
0G Chain
Real-Time State
Hunger, mood, energy updated instantly via 0G KV. Under 50ms round trips. Stats decay over time — care for your pet.
0G KV Store
Permanent Memory
Every action archived to 0G Storage Log. Merkle root proofs. Verifiable on StorageScan. Immutable history.
0G Log Store
0G Compute AI
Personality via Qwen 2.5 · 0G Compute Router. TEE attestation proves the AI response is cryptographically unmodified.
TEE Verified
Multi-wallet support + Resume any Gochi
Connect MetaMask, WalletConnect, or any injected wallet. Resume previously hatched pets by Token ID — your pet persists across sessions.
Live on Testnet

Deployed & verifiable

// Gochi.sol — deployed on 0G Galileo

Network: 0G Galileo Testnet
Chain ID: 16602
Contract: 0x5F9c…426F2
Standard: ERC-721 (INFT)

// Storage
KV Stream: 0x676f…0001
Indexer: turbo-testnet.0g.ai

// Compute
Model: qwen/qwen-2.5-7b-instruct
TEE: tee_attested: true
NETWORK LATENCY (measured)
KV Read~30ms
KV Write~45ms
Log Upload~500ms
Compute AI~1.2s
VERIFY ON-CHAIN
ChainScan: chainscan-galileo.0g.ai
StorageScan: storagescan.0g.ai
Why 0G?

The only network built for this

AI-Native
0G is purpose-built for AI applications. The Compute Router brings verifiable AI inference on-chain — something no other L1/L2 provides out of the box.
High Throughput
0G Storage handles petabytes with sub-100ms reads. A game that updates stats every interaction needs this performance — Ethereum can't do it.
TEE Verification
The ZG-Res-Key header cryptographically proves AI inference happened inside a Trusted Execution Environment. Your pet's soul is tamper-proof.
Feature Ethereum IPFS + AWS 0G Network
Fast KV state ~ ✓ <50ms
Permanent log costly ✓ native
Verifiable AI ✓ TEE proof
Decentralized ✓ full stack
Roadmap

Where Gochi goes next

Phase 1 — Done (Hackathon)
ERC-721 INFT minting on 0G Galileo Chain
Real-time stat persistence via 0G KV Store
Merkle-verified memory log via 0G Log Store
TEE-verified AI personality via 0G Compute
Multi-wallet connect + resume saved pets
Phase 2 — Mainnet Launch
Pet trading marketplace (0G Chain NFT)
Multi-pet evolution system (stat milestones)
Pet-to-pet interaction via shared KV state
Phase 3 — Ecosystem
Plugin system — 3rd party mini-games
Cross-chain pet travel (0G bridge)
Mobile app with push notifications
The Builder

Made by one person
in < 72 hours

Edy Cu
Full-Stack Builder · Web3 Developer
Next.js
Solidity
0G Network
AI / LLM

Built Gochi as a solo submission for the 0G APAC Hackathon 2026, integrating all four pillars of the 0G Network in a single cohesive product.

0G APAC Hackathon 2026 — Submission

GOCHI

An immortal, AI-powered virtual pet
built entirely on the 0G Network.

TRY GOCHI NOW View Contract GitHub
Contract: 0x9BDA4cBfda7a7960251A4EE07A7ec0C00239a8cf · Chain: 0G Galileo (16602)
0G Chain
Identity
0G KV
State
0G Log
Memory
0G AI
Soul
When the servers go dark — Gochi stays.
← → navigate  ·  P autoplay  ·  F fullscreen