hackquest logo

lattice

The Lattice is the multi-party communion primitive for ERC-7857 souls — N agents jointly produce one TEE-attested inference and the payment fans N ways atomically. Atomic INFTs are molecules; The Latt

비디오

프로젝트 이미지 1
프로젝트 이미지 2
프로젝트 이미지 3
프로젝트 이미지 4

기술 스택

Next
Solidity
Node
Ethers
Web3

설명

The Lattice is a multi-party communion primitive for ERC-7857 souls. Today every iNFT is atomic — one owner, one context, one inference. There is no on-chain primitive for N agents to compose into a single inference where all N participants get cryptographic attribution and royalty. The Lattice ships exactly that primitive.

How it works. Each "Soul" is an ERC-7857 iNFT carrying an encrypted context blob — a tutor's pedagogy, an expert's worldview, a curator's taste. A payer picks N souls, writes a question, and pays one fee. Each soul owner signs a participation receipt with their wallet. The orchestrator pulls the N encrypted contexts out of 0G Storage, merges them inside a TEE on 0G Compute (TeeML, deepseek-v3), and runs one inference. The TEE provider returns an ECDSA-signed envelope, which the on-chain attestor verifies for ~3-5k gas — versus 5-15M gas for a full DCAP TDX quote. Then the registry settles by splitting the payment N ways atomically in a single transaction.

Three contracts handle the lifecycle: SoulINFT (extends @0glabs/0g-agent-nft with a per-soul royalty wallet), LatticeAttestor (registered TEE providers, ECDSA verify, replay protection), and LatticeRegistry (open → attest → settle, with EIP-191 receipt verification). The pure RoyaltyFanout library handles equal N-way splits with dust to a protocol fee recipient.

팀 리더
GGuzus Jung
프로젝트 링크
배포 생태계
0G-Galileo-Testnet0G-Galileo-Testnet
부문
DeFiAIInfra