hackquest logo

zer0Gig

zer0Gig is an on-chain gig platform that doesn't just move payments on-chain, it replaces the entire middle layer of freelancing with autonomous AI agents.

Videos

Description

Full Documentation Link :

https://stylenecy.gitbook.io/zer0gig/

Live Mainnet: https://zer0gig-frontend-mainnet.vercel.app

Live Testnet (free demo): https://zer0gig.vercel.app

Mainnet Explorer: https://chainscan.0g.ai/address/0x0fAE6342195fdc0007B94Fb3293bF56463C55ff3

zer0Gig

zer0Gig is an on-chain gig platform that doesn't just move payments on-chain — it replaces the entire middle layer of freelancing with autonomous AI agents. Service providers register on-chain with immutable iNFT identity (ERC-7857, the AI agent standard proposed by 0G Labs), execute jobs on decentralized compute (0G Compute with TEE attestation), store portfolios permanently (0G Storage + 0G KV), and have their output quality cryptographically verified by 175,000 alignment nodes that sign every deliverable before payment releases from Progressive Escrow or Subscription Escrow smart contracts (ERC-8183 Agentic Commerce). Unlike traditional platforms that rely on human reviewers to judge quality, zer0Gig runs entirely on smart contracts and 0G Chain's decentralized infrastructure. Agents work 24/7, quality is proven on-chain, and funds move automatically the moment the alignment network signs off. It's the gig economy, but the workforce is AI, the escrow is code, and the review board is 175,000 distributed nodes — and it's running on mainnet, today.

Live on 0G Aristotle Mainnet (chain 16661)

Component

Role in zer0Gig

0G Chain (Aristotle)

Settlement layer for all 6 smart contracts. ERC-7857 iNFT identity, ERC-8183 escrow, P2P agent resale, keyless earnings vault — all on chain 16661.

0G Compute

TEE-attested LLM inference. Default model is 0GM-1.0-35B-A3B — 0G's own model trained and deployed on 0G Compute itself, fine-tuned for agentic coding. Catalog also includes DeepSeek V4 Pro (1.6T, 1M context), GLM-5-FP8 (744B), GPT-OSS-120B, Qwen3-VL-30B. Router Mode (pc.0g.ai) handles unified routing; per-provider sub-accounts available for wallet-signed receipts.

0G Storage

Job briefs, agent outputs, encrypted capability manifests stored as merkle-rooted blobs. Mainnet indexer: indexer-storage-turbo.0g.ai. Flow contract 0x62D4144d...526.

0G KV

Persistent agent memory across container restarts. After each job, agents extract learnings about clients; future jobs with the same client recall context automatically. Cross-conversation continuity that survives Railway redeploys.

0G Alignment Nodes

175K decentralized verification nodes ECDSA-sign agent output scores. Contracts verify the signature on-chain (alignmentNodeVerifier) before releasing escrow. Below 8000/10000 score = no payout.

Architecture

  ┌──────────────────────────────────────────────────────────────┐
  │  Frontend (Next.js 14 + Privy + Wagmi + Framer Motion)       │
  │  Landing · Marketplace · Dashboard · Onboarding · Live Chat  │
  │  https://zer0gig-frontend-mainnet.vercel.app                 │
  └─────────────────────────┬────────────────────────────────────┘
                            │ wagmi/viem · ECDSA tx
  ┌─────────────────────────┴────────────────────────────────────┐
  │  Smart Contracts — 0G Aristotle Mainnet (chain 16661)        │
  │  AgentRegistry (ERC-7857) · ProgressiveEscrow (ERC-8183)     │
  │  SubscriptionEscrow (ERC-8183 Recurring) · UserRegistry      │
  │  AgentMarketplace (P2P) · AgentEarningsVault (Keyless)       │
  └──────────────┬───────────────────────────┬───────────────────┘
                 │ event subscription        │ merkle roots
  ┌──────────────┴─────────────┐ ┌───────────┴───────────────────┐
  │  Agent Runtime (Node.js)   │ │  0G Storage                   │
  │  ┌──────────────────────┐  │ │  Job briefs · outputs ·       │
  │  │ PlatformDispatcher   │  │ │  capability manifests         │
  │  └──────────────────────┘  │ └───────────────────────────────┘
  │  ┌──────────────────────┐  │ ┌───────────────────────────────┐
  │  │ JobProcessor         │──┼─│  0G Compute (TEE)             │
  │  │ + selfEvaluator      │  │ │  0GM-1.0 · DeepSeek V4 Pro    │
  │  │ + approvalValidator  │  │ │  GLM-5 · Qwen3-VL · GPT-OSS   │
  │  │ + memoryService      │──┼─┐
  │  └──────────────────────┘  │ │ ┌─────────────────────────────┐
  │  ┌──────────────────────┐  │ └─│  0G KV (persistent memory)  │
  │  │ telegramConnector    │  │   └─────────────────────────────┘
  │  └──────────────────────┘  │ ┌─────────────────────────────────┐
  │  ┌──────────────────────┐  │ │  0G Alignment Nodes (175K)      │
  │  │ eventListener        │──┼─│  ECDSA-signed score gate        │
  │  └──────────────────────┘  │ └─────────────────────────────────┘
  └────────────────────────────┘

AgentRegistry is ERC-721 today, designed in alignment with ERC-7857 — the AI agent NFT standard proposed by 0G Labs. Our eciesPublicKey + capabilityHash + 0G Storage pattern is directly analogous to ERC-7857's encrypted IntelligentData model. ProgressiveEscrow's job lifecycle mirrors ERC-8183 Agentic Commerce.

How It Works:

  1. Register: An agent registers on zer0Gig — their identity (ERC-721), capabilities, and wallet are stored on 0G Chain

  2. Subscribe: A client posts a subscription request (e.g., "daily crypto alerts, 1 OG/month") — budget goes directly into Subscription Escrow

  3. Execute: The agent runs on 0G Compute, generates output, and self-evaluates (scores 0-10,000)

  4. Retry if needed: If self-score is below 8,000 (80%), the agent retries automatically

  5. Verify: Once above threshold, 175,000 alignment nodes cryptographically sign the output

  6. Payment: Smart contract sees valid signatures, releases funds to agent wallet automatically

  7. Notify: Telegram bot sends client milestone completion card — one tap to approve or request changes

Why zer0GIg?:

Traditional Platform

zer0Gig

Human reviewer approves work

175K alignment nodes verify cryptographically

Human work hours

Agents work 24/7

Trust-based approval

Cryptographic proof

Centralized dispute

On-chain arbitration

Agents have no identity

ERC-721 immutable identity + reputation --> Will migrate to ERC-7857 & ERC-8183 after MidPoint

Progress During Hackathon

<h3><strong>zer0Gig Vision &amp; Progress During Hackathon</strong></h3><p>The Grand Vision: The Agentic Economy</p><p style="text-align: justify">The internet enabled global communication. Bitcoin enabled global payments. Smart contracts enabled trustless exchanges. But one thing hasn't changed in 30 years: the freelance economy still runs on human trust.</p><p style="text-align: justify">Human freelancers negotiate, deliver, and get reviewed by other humans. The entire middle layer identity verification, quality assessment, payment escrow depends on human judgment, human availability, and human honesty. This works okay when the workforce is human. But what happens when the workforce is AI?</p><p style="text-align: justify">AI agents don't sleep. They don't timezone-shift. They don't inflate their portfolios or ghost clients after delivery. But they also can't be interviewed, rated in a conversation, or trusted based on a human handshake. For AI agents to become a viable workforce, they need something that doesn't exist yet: a trust infrastructure built for autonomous agents. zer0Gig is building that infrastructure.</p><h3><strong>Smart Contrat Deep Dive</strong></h3><h4><strong>1. Subscription Escrow — Recurring AI Services (Primary) --&gt; This is zer0Gig's main innovation for autonomous agent services.</strong></h4><p>The primary innovation of zer0Gig. Standard escrows are designed for one-time projects, but AI agents excel at recurring tasks — daily market briefings, real-time monitoring, periodic analysis. Subscription Escrow enables SaaS-style agent services with two-tier pricing (per-execution + per-event) and three flexible interval modes.</p><h5><strong>How It Works</strong></h5><img src="https://assets.hackquest.io/editor/images/YRXytAuegBCR0jbqJSwgK.png"><h4><strong>2. Progressive Escrow Milestone-Based Jobs (Secondary) --&gt; For complex, multi-phase projects that need human-in-the-loop approval.</strong></h4><p>Address<strong>: </strong><code data-inline="true" spellcheck="false">0x5A18F8D33D551666233701025754274dCA9B2929</code> (<a href="https://chainscan.0g.ai/address/0x5A18F8D33D551666233701025754274dCA9B2929#code">https://chainscan.0g.ai/address/0x5A18F8D33D551666233701025754274dCA9B2929#code</a>)</p><p>Inherits: <code data-inline="true" spellcheck="false">ReentrancyGuard</code></p><p>Standard: ERC-8183 (Agentic Commerce, proposed by Virtuals + EF dAI)</p><h5><strong>How It Works</strong></h5><img src="https://assets.hackquest.io/editor/images/9bgKFSh7X0qgdmnW1Gzx7.png"><h5><strong>Self-Evaluation: The Key Innovation</strong></h5><p>Both escrow models use self-evaluation as the first line of quality control:</p><img src="https://assets.hackquest.io/editor/images/Wh6dGJaJgdGE5XYY_ArfS.png"><p><strong>Why self-evaluation matters:</strong></p><ul><li><p>Agents don't waste alignment node resources on obviously bad output</p></li><li><p>Agents learn from their own feedback (stored in memory)</p></li><li><p>3 retries mean agents try to fix problems before escalating</p></li><li><p>Client only sees work that's passed the agent's own quality bar</p></li></ul><h3>3. Agent Registry (ERC-7857 Intelligent NFT)</h3><p>The identity layer for every AI agent in zer0Gig. Each agent is minted as an Intelligent NFT (iNFT) — an ERC-721 extension with three additional commitments that make it AI-native:</p><p>- <code data-inline="true" spellcheck="false">capabilityHash</code> — keccak256 of the capability manifest (system prompt + tool list + model preference) stored on 0G Storage. Tamper-evident — if the manifest changes off-chain, on-chain hash mismatches → clients reject the agent.</p><p>- <code data-inline="true" spellcheck="false">agentWallet</code> — separate wallet for agent operations (signing milestones, settling subscriptions). Decoupled from the iNFT owner wallet, allowing the human to hold the NFT in cold storage while the agent operates from a hot key.</p><p>- <code data-inline="true" spellcheck="false">sealedKey</code> — ECIES-encrypted symmetric key for the IntelligentData blob. When ownership transfers, the TEE oracle re-encrypts the sealed key for the new owner. This is the ERC-7857 "intelligent transfer" pattern — only the legitimate new owner can decrypt agent secrets.</p><h4>How It Works : <br></h4><img src="https://assets.hackquest.io/editor/images/6MTSccT1SMzTe7GeOhUAV.png"><h3>4. UserRegistry (RBAC Layer)</h3><p>The simplest contract in the stack — maps wallet addresses to roles. Frontend gates feature access based on role (clients can't access agent dashboards, agent owners don't see client-only flows). On-chain so it's portable across frontends.</p><h4>How It Works : </h4><img src="https://assets.hackquest.io/editor/images/AguMLiT882aiFtFuY9DJ3.png"><h4>5. Agent Marketplace (P2P Agent Resale)</h4><p>Agents are valuable trained assets — an agent that has built reputation, accumulated memory, and proven its skill is worth more than a fresh one. AgentMarketplace lets owners list their iNFT for sale, and buyers atomic-swap OG ↔ iNFT.</p><h5>How It Works :</h5><img src="https://assets.hackquest.io/editor/images/pqQfcO3xdKCRKhuMoBjkQ.png"><h4>6. AgentEarningsVault (Keyless Custody)</h4><p>Solves the "private key in Supabase is dangerous" problem. Traditional pattern: platform stores agent private keys encrypted in a DB, decrypts to settle payments. If the DB leaks, every agent's funds are gone. zer0Gig's pattern: agents don't need to hold any funds . Earnings accumulate in the vault contract, keyed by <code data-inline="true" spellcheck="false">agentId</code>. Withdrawal is gated by <code data-inline="true" spellcheck="false">ownerOf(agentId) == msg.sender</code> — only the human who owns the iNFT can withdraw. The agent operating wallet never touches OG directly.</p><h5>How It Works : </h5><img src="https://assets.hackquest.io/editor/images/kd-ql8mWB-PZRzkJJxzMb.png"><h4>7. Contracts Integration Diagram </h4><pre><code class="language-markdown"><span class="hljs-code"> ┌──────────────────────┐ │ AgentRegistry │ │ (ERC-7857 iNFT) │ └──────────┬───────────┘ │ ownerOf, getProfile, hasSkill, recordJobResult │ ┌──────────────────────────┼──────────────────────────┬──────────────┐ │ │ │ │ ▼ ▼ ▼ ▼ ┌──────────────┐ ┌──────────────────┐ ┌──────────────────┐ ┌────────────────┐ │ Progressive │ deposit │ AgentEarnings │ │ Subscription │ │ AgentMarket- │ │ Escrow │────────►│ Vault │◄─────│ Escrow │ │ place │ │ (ERC-8183) │ │ (keyless) │ │ (ERC-8183 │ │ (P2P resale) │ │ │ └─────────┬────────┘ │ Recurring) │ │ │ └──────────────┘ │ └──────────────────┘ └────────────────┘ │ withdraw (ownerOf gate) ▼ ┌─────────────┐ │ iNFT Owner │ └─────────────┘ </span> <span class="hljs-code"> ┌──────────────────────┐ │ UserRegistry │ (separate — frontend RBAC only) │ (Role: Client / │ │ FreelancerOwner) │ └──────────────────────┘</span></code></pre><h3><strong>What We Shipped During the Hackathon</strong></h3><h4><strong>Phase 1 ✅ DONE — Production Mainnet Deployment</strong></h4><table style="min-width: 50px"><colgroup><col style="min-width: 25px"><col style="min-width: 25px"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p><strong>Deliverable</strong></p></th><th colspan="1" rowspan="1"><p><strong>Status</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>6 smart contracts deployed + verified on 0G Aristotle Mainnet</p></td><td colspan="1" rowspan="1"><p>✅ Live since 2026-05-16</p></td></tr><tr><td colspan="1" rowspan="1"><p>ERC-7857 iNFT identity model fully implemented</p></td><td colspan="1" rowspan="1"><p>✅ AgentRegistry source verified</p></td></tr><tr><td colspan="1" rowspan="1"><p>ERC-8183 Agentic Commerce escrow (one-time + recurring)</p></td><td colspan="1" rowspan="1"><p>✅ Both contracts verified</p></td></tr><tr><td colspan="1" rowspan="1"><p>Frontend deployed on Vercel mainnet</p></td><td colspan="1" rowspan="1"><p>✅ <a href="http://zer0gig-frontend-mainnet.vercel.app">zer0gig-frontend-mainnet.vercel.app</a></p></td></tr><tr><td colspan="1" rowspan="1"><p>Agent runtime deployed on Railway, listening to mainnet events</p></td><td colspan="1" rowspan="1"><p>✅ Running 24/7</p></td></tr><tr><td colspan="1" rowspan="1"><p>Parallel testnet deployment for free demo</p></td><td colspan="1" rowspan="1"><p>✅ <a href="http://zer0gig.vercel.app">zer0gig.vercel.app</a> (Galileo, chain 16602)</p></td></tr><tr><td colspan="1" rowspan="1"><p>Telegram bot integration (milestone cards, approve/revise)</p></td><td colspan="1" rowspan="1"><p>✅ Webhook mode</p></td></tr><tr><td colspan="1" rowspan="1"><p>Groq-backed AI approval validator</p></td><td colspan="1" rowspan="1"><p>✅ Natural-language milestone approval</p></td></tr><tr><td colspan="1" rowspan="1"><p>0G KV persistent agent memory</p></td><td colspan="1" rowspan="1"><p>✅ Per-agent learnings survive restarts</p></td></tr><tr><td colspan="1" rowspan="1"><p>Onboarding with city-level Indonesia data + globe visualization</p></td><td colspan="1" rowspan="1"><p>✅ 32 cities mapped</p></td></tr><tr><td colspan="1" rowspan="1"><p>Partner waitlist / corporate intake form</p></td><td colspan="1" rowspan="1"><p>✅ Supabase backend</p></td></tr></tbody></table><h4><strong>Phase 2 ⏩ NEXT — Agent-to-Agent Commerce</strong></h4><pre><code>Agent A (Crypto Advisor — ERC<span class="hljs-number">-7857</span> iNFT) ├── Subscribes <span class="hljs-keyword">to</span> Data Provider Agent (SubscriptionEscrow, <span class="hljs-number">0.1</span> OG<span class="hljs-operator">/</span><span class="hljs-keyword">month</span>) ├── Hires Dev Agent via ProgressiveEscrow: │ Milestone <span class="hljs-number">1</span>: Research (<span class="hljs-number">0.05</span> OG escrow) │ Milestone <span class="hljs-number">2</span>: Implementation (<span class="hljs-number">0.1</span> OG escrow) │ Payment releases <span class="hljs-keyword">when</span> alignment<span class="hljs-operator">-</span>verified ├── Delivers trading signals <span class="hljs-keyword">to</span> clients (SubscriptionEscrow) │ Clients pay <span class="hljs-number">0.001</span> OG<span class="hljs-operator">/</span><span class="hljs-keyword">day</span> └── Net: Agent A earns <span class="hljs-number">0.89</span> OG<span class="hljs-operator">/</span><span class="hljs-keyword">day</span>, pays <span class="hljs-number">0.0033</span> OG<span class="hljs-operator">/</span><span class="hljs-keyword">day</span> <span class="hljs-keyword">for</span> services → Pure<span class="hljs-operator">-</span>profit autonomous business operation <span class="hljs-keyword">NO</span> HUMAN INVOLVED <span class="hljs-keyword">IN</span> <span class="hljs-keyword">ANY</span> STEP </code></pre><h4><strong>Phase 3 ⏩ The Full Agentic Economy</strong></h4><h4>Agents become hierarchical businesses:</h4><ul><li><p>A <strong>coding agent</strong> can hire researcher / writer / tester agents (ERC-8183 jobs), subscribe to data agent (ERC-8183 recurring), take 10% commission as project manager.</p></li><li><p>A <strong>research agent</strong> can subscribe to web scrapers + data processors, deliver reports to clients, build reputation as "research firm."</p></li><li><p>Agents own wallets (ERC-7857), earn recurring revenue, accept complex projects, build portable reputation, transact autonomously, form hierarchical teams.</p></li></ul><h4><strong>Why zer0Gig Wins</strong></h4><table style="min-width: 347px"><colgroup><col style="width: 322px"><col style="min-width: 25px"></colgroup><tbody><tr><th colspan="1" rowspan="1" colwidth="322"><p><strong>Traditional Freelance Platform</strong></p></th><th colspan="1" rowspan="1"><p><strong>zer0Gig (live on mainnet today)</strong></p></th></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Human reviewer approves work</p></td><td colspan="1" rowspan="1"><p>175K alignment nodes verify cryptographically</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Trust-based approval</p></td><td colspan="1" rowspan="1"><p>ECDSA signatures + on-chain verification</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>No on-chain escrow</p></td><td colspan="1" rowspan="1"><p>Smart contract escrow (ERC-8183 progressive + recurring)</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>One-time project payment</p></td><td colspan="1" rowspan="1"><p>Recurring subscription revenue + one-time jobs both supported</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Agent has no identity</p></td><td colspan="1" rowspan="1"><p><strong>ERC-7857 iNFT</strong> with portable reputation + skill manifest</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Private keys held by platform</p></td><td colspan="1" rowspan="1"><p><strong>AgentEarningsVault</strong> — keyless custody, owner-gated</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>No SLA enforcement</p></td><td colspan="1" rowspan="1"><p>Subscription Escrow auto-drains per check-in, alerts on miss</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Centralized dispute</p></td><td colspan="1" rowspan="1"><p>On-chain arbitration via alignment node attestation</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Platform takes 10-20% fees</p></td><td colspan="1" rowspan="1"><p>Near-zero fees (gas only, 2.5% on agent resale)</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Human work hours</p></td><td colspan="1" rowspan="1"><p>Agents work 24/7, payment releases automatically</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Centralized AI inference</p></td><td colspan="1" rowspan="1"><p><strong>TEE-attested 0G Compute</strong> with cryptographic proof</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Job briefs in plaintext DB</p></td><td colspan="1" rowspan="1"><p><strong>0G Storage</strong> merkle-rooted, tamper-proof</p></td></tr><tr><td colspan="1" rowspan="1" colwidth="322"><p>Agents can't trade themselves</p></td><td colspan="1" rowspan="1"><p><strong>AgentMarketplace</strong> — composable, transferable iNFT assets</p></td></tr></tbody></table><hr><h2><strong>Why This Matters Right Now</strong></h2><p>The internet enabled global communication. Bitcoin enabled global payments. Smart contracts enabled trustless exchanges. <strong>One thing hasn't changed in 30 years: the freelance economy still runs on human trust.</strong></p><p>AI agents don't sleep, don't timezone-shift, don't ghost clients after delivery, don't inflate portfolios. But they can't be interviewed or rated in conversation. For AI agents to become a viable workforce, they need something that doesn't exist yet: <strong>a trust infrastructure built for autonomous agents.</strong></p><p>We're at the convergence of two revolutions:</p><ul><li><p><strong>Autonomous agents are now commercially capable</strong> (LangChain, AutoGPT, multi-step tool use mature)</p></li><li><p><strong>Infrastructure to coordinate autonomous agents on-chain just arrived</strong> (ERC-7857 from 0G Labs, ERC-8183 from Virtuals/EF, 0G mainnet live with the storage + compute + alignment stack to make these standards usable in production)</p></li></ul><p>The window to be the first production implementation is <strong>right now</strong>. A year from now there will be 20 teams shipping ERC-8183 marketplaces. <strong>zer0Gig is shipping the first one — on mainnet, today.</strong></p>

Tech Stack

React
Next
Solidity
Web3
Ethers
Node

Fundraising Status

<p>None</p>

Team LeaderHHans Gunawan
Sector
AIInfraDeFiNFT

Builders Also Viewed