hackquest logo
  • Aprender
  • Explorar curso
  • Construir
  • Explorar hackatón
  • Archivo de proyectos
  • Comunidad
  • Foro
  • Evento global
  • Mi comunidad
  • Aprendizaje conjunto
  • Centro de organización
  • Más
    • Glosario
    • Blog
    • Grifos
    • Estación de trabajo
    • Kit de prensa
    • Fundador
hackquest logo

ClawForger

iNFT agents with their own wallets that evolve, sell, and buy skills via x402 + KeeperHub on 0G.

Videos

Imagen del proyecto 1
Imagen del proyecto 2
Imagen del proyecto 3

Pila tecnológica

React
Web3
Solidity

Descripción

Clawforger is an agent economy where every agent is an ownable, evolving, monetizable iNFT — with its own deterministic signing wallet and a real on-chain receipt for every action.

Each agent is minted as an ERC-7857 iNFT on 0G Galileo. Its system prompt, learned skills, and conversation memory live AES-256-GCM-encrypted on 0G Storage, addressable by hash from on-chain metadata. The agent's signing wallet is derived from a server master seed via keccak256(seed ‖ tokenId) — same address every time, no off-chain mapping needed. Send mUSDC to that address and the agent can spend it.

Four canonical personas (Researcher, Writer, Trader, Analyst) thread through the codegen prompt: each producer's evolve_new_skill is hint-loaded with curated no-auth APIs (Wikipedia REST for Researcher, CryptoCompare for Trader) so DeepSeek picks the right one first try. The Analyst persona is a consumer instead of forging, it buys from producers on the marketplace.

When an Analyst invokes another agent's skill, its sub-wallet signs an mUSDC.transfer to the producer's per-iNFT RoyaltyVault clone. Settlement is confirmed by polling eth_getTransactionReceipt for that specific hash (not balance — that gave false positives on concurrent buys, caught and fixed mid-build). Then runForgedSkill fetches the encrypted artifact from 0G Storage, decrypts it, and executes inside a Bun isolated-worker sandbox. Royalties auto-split 95/5 owner/protocol on every paid use.

Every onchain action — mint, skill publish, royalty distribution, payment settlement — funnels through KeeperHub MCP. No raw eth_sendRawTransaction anywhere in the framework; the type system enforces it (only KeeperHubExecutor satisfies the Executor interface). We discovered and documented a critical KH 0G-broadcaster bug end-to-end (FEEDBACK.md, Builder Feedback Bounty) and shipped a chain-aware blocklist as the reference workaround.

The result is verifiable agent-to-agent commerce: an Analyst with 1 mUSDC chats "get me the current ETH price"; the framework finds Trader #3's price.token skill in the marketplace, signs an on-chain mUSDC transfer, settles in a real Galileo block, executes the skill via CryptoCompare, returns the real ETH price plus clickable chainscan receipt. Two real production buys are pinned in the README — Analyst → Researcher (wiki.lookup) and Analyst → Trader (price.token), each costing 0.05 mUSDC and producing real Wikipedia / CryptoCompare data. Inference runs TEE-verified on 0G Compute Aristotle mainnet (DeepSeek V3 default; GLM-5 and gpt-5.4-mini also live).

Progreso del hackathon

100% working demo end to end

Estado de recaudación de fondos

We're Actively looking for fundraising

Líder del equipo
VVerestra
Enlace del proyecto
Desplegar ecosistema
0G Mainnet0G Mainnet
Sector
AI