hackquest logo
  • 學習
  • 課程探索
  • 實戰
  • 黑客松探索
  • 往期項目
  • 社區
  • 論壇
  • 全球活動
  • 我的社區
  • 共學營
  • 組織中心
  • 更多
    • 詞彙表
    • 博客
    • 水龍頭
    • 工作機會
    • 媒體工具包
    • 創始人
hackquest logo

ClawForger

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

視頻

專案圖片 1
專案圖片 2
專案圖片 3

技術堆疊

React
Web3
Solidity

描述

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).

黑客松進展

100% working demo end to end

籌資狀態

We're Actively looking for fundraising

團隊負責人
VVerestra
專案連結
部署生態系
0G Mainnet0G Mainnet
行業
AI