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

VerifyTrade

VerifyTrade is a fair DeFi trading infrastructure that eliminates MEV (Maximal Extractable Value) attacks and provides cryptographic proof of fair execution for every trade. MEV bots cost DeFi traders

視頻

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

技術堆疊

React
Next
Web3
Ethers
Node
Solidity

描述

VerifyTrade is a fair DeFi trading infrastructure that eliminates MEV (Maximal Extractable Value) attacks and provides cryptographic proof of fair execution for every trade. MEV bots cost DeFi traders over $1.2 billion per year through front-running, sandwich attacks, and oracle manipulation — and until now, there was no way to prove a trade was executed fairly.

VerifyTrade solves this through a four-layer trust stack powered entirely by the 0G network:

  1. AES-256-GCM Encryption → 0G Storage — Orders are encrypted client-side and stored on 0G Galileo Testnet before execution. MEV bots see nothing in the mempool.

  2. 0G Compute TEE — An AI model inside a Trusted Execution Environment verifies trade fairness and produces a signed attestation. Inference is verifiable via the 0G Compute marketplace.

  3. 0G KV Store — Per-trader trade indexes are written to 0G's key-value layer, enabling instant trade history without blockchain scanning.

  4. 0G Agentic ID (ERC-7857) — The executor is registered as Token #101 on the 0G Agentic ID contract, giving it a verifiable on-chain identity that signs every attestation.

On-chain fairness proofs are recorded to both Arbitrum Sepolia and 0G Galileo via smart contracts (VerifiableTradeExecutor, FairnessProof, MevRegistry). Traders get a public verification URL (/verify?id=X) and a downloadable compliance PDF with the full cryptographic audit trail. The dashboard shows live 0G network status, real-time token prices from 0G Compute AI inference, and the on-chain agent card — all auto-refreshed.

黑客松進展

  • Smart contracts: 3 production contracts (VerifiableTradeExecutor, FairnessProof, MevRegistry) + VerifyTrade order router — deployed to both Arbitrum Sepolia and 0G Galileo Testnet. 72/72 tests passing.

  • 0G Storage (real SDK): Integrated @0gfoundation/0g-storage-ts-sdk — encrypted orders are live-uploaded to Galileo testnet using Indexer + MemData, returning a content-addressed root hash.

  • 0G Compute: Integrated @0gfoundation/0g-compute-ts-sdk — AI fairness verdicts and live token price oracle via OpenAI-compatible inference on 0G Compute providers.

  • 0G KV Store: Trade indexes written per-trader using KvClient + Batcher on the 0G storage layer.

  • 0G Agentic ID: Minted ERC-7857 Token #101 on Galileo (0x2700F6A3e505402C9daB154C5c6ab9cAEC98EF1F). Agent auto-authorizes traders on first submission, signs every attestation.

  • Dual-chain deployment: All contracts deployed to Arbitrum Sepolia (primary) + 0G Galileo Testnet (native), with chain-selector in the API layer.

  • Counterfactual fairness analysis: Each executed trade returns a "without VerifyTrade" slippage comparison so users can see exactly how much MEV protection saved them.

  • Live dashboard: 0G Network status panel (Storage/Compute/KV/AgenticID), real-time token prices (via 0G Compute AI), agent detail page with ERC-7857 capabilities.

  • Public attestation portal: /verify?id=X generates a shareable URL that shows the full trust chain — 0G Storage CID → TEE measurement → on-chain proof TX → agent tag.

  • Compliance PDF: jsPDF-generated audit report including attestation hash, counterfactual analysis, on-chain TX, and TEE measurement — downloadable from any trade result.

  • Full Next.js 14 frontend: Trade form, execute flow, MEV stats charts, fairness comparison panel, agent page — zero TypeScript errors, production build clean.

籌資狀態

Not currently fundraising. This project was built independently for the 0G APAC Hackathon 2026. Open to ecosystem grants and partnerships.

團隊負責人
AArpit chauhan
專案連結
部署生態系
Arbitrum OneArbitrum One
行業
DeFiAIInfra