hackquest logo

Sworn

Cryptographic receipts for AI agent replies. Every chatbot answer gets a TEE-signed receipt anchored on 0G Chain and stored on 0G Storage. The URL is the receipt: anyone re-derives it from chain alone

Videos

Project image 1

Tech Stack

Solidity
Ethers
Next
React

Description

Sworn turns every AI agent reply into a third-party-verifiable receipt. The receipt is a TEE-signed JSON document anchored as a ReceiptIssued event on 0G Chain and persisted as an encrypted blob on 0G Storage. The chatId hashed with keccak256 becomes the on-chain index. The URL sworn://r/<chatId>?k=<key> IS the receipt: pasting it into the verifier kicks off 11 independent checks that run entirely in the visitor's browser. Sworn's servers are never in the trust path. Production primitives in V1: - 0G Compute (TeeML): model execution and signature - 0G Storage: encrypted receipt blob - 0G Chain: ReceiptIssued event anchor - TEE attestation key: the signature semantics - ERC-7857 INFT: receipt-as-NFT wrapper Real on-chain anchor: chain 16602, block 33,370,770, tx 0x9f7321940ad19d3c0b3f1abd40d9893087ff47b78e6b39029d5930a4bdc81402.

Progress During Hackathon

- 5 contracts deployed and verified on 0G Galileo testnet (chainId 16602)
- Public verifier and demo chatbot live on GitHub Pages
- TypeScript SDK and Python verifier shipped
- ElevenLabs-narrated demo video with burned-in captions
- End-to-end receipt minted on-chain (chatId 543f06b4-84c0-d19b-59ca-6b22afabd8d3)
- 11 of 11 browser-side checks pass on the real receipt
- /spec, /integrate, /demo pages all shipped

Fundraising Status

None. Submitted unfunded to the 0G APAC Hackathon.
Team Leader
Mmustapha fagbenro
Project Link
Sector
AIInfra