hackquest logo

Themis

Themis is an AI trading copilot that seals every decision on-chain (OKX X Layer) before it executes -> so you can verify its track record instead of trusting it. Trade by chat, or by hand.

ビデオ

プロジェクト画像 1
プロジェクト画像 2
プロジェクト画像 3

テックスタック

React
Next
Web3
Ethers
Node
Solidity

説明

Reformatted for scanners — tables, bullets, emoji anchors, almost zero prose. Your editor's toolbar has a table button (the grid icon), so the tables will render.


Themis — the trade tribunal ⚖

An AI trading copilot you can verify, not just trust. Put every trade on trial → seal it before it executes → anchor on OKX X Layer. The track record can't be faked.

⚡ Problem → Fix

❌ Today

✅ Themis

AI bots can fake their win rate

Verdict hashed before execution (commit-reveal)

"Trust me" isn't a track record

Anchored on OKX X Layer — anyone can verify

Mid-price fantasy fills

Depth-weighted fills off the real OKX order book

🔁 How it works

IntentOKX evidence (price · RSI/EMA/ATR · order book) → Tribunal (advocate · skeptic · judge) → Seal (keccak256) → FillAnchor on X Layer

🧩 What we built

  • 🗣️ Conversational LLM copilot (streaming + tool-calling) + deterministic-tribunal fallback

  • 📊 Live market terminal — OKX candles + streaming order book (depth · spread · imbalance)

  • ✍️ Manual + agentic trading — both sealed identically

  • ⛓️ On-chain seal anchoring on X Layer (verifiable on OKLink)

  • 👛 Personal agent wallet derived from your OKX wallet (wagmi)

  • 💬 Same copilot in Telegram — memory · /model picker · inline execute

🟢 OKX stack — everything we use

OKX building block

How Themis uses it

X Layer (testnet · chain 1952)

On-chain seal anchoring = the commit-reveal proof · OKB gas

Market Data (v5 API)

Live candles · ticker · order book → evidence, chart, depth-weighted fills

OKX Wallet

Connect + derive the agent wallet (wagmi) · auto-switch to X Layer

x402 / A2MCP

Per-call agentic settlement on X Layer (eip155:1952)

OKB

Native gas for anchoring

OKLink

Public explorer = the verification surface

⛓️ Live proof: oklink.com/x-layer-testnet/tx/0xe4d235…13b3f6Accepted on L2, seal hash in the calldata.

🎯 Tracks (2)

  • Finance Copilot — primary

  • Best Product — complete & live (web + Telegram + on-chain)

🔗 Links

Live

trythemis.vercel.app

Code

github.com/manjeetsharma0796/themis

Demo


ハッカソンの進行状況

Here's Progress During Hackathon — same scannable style, milestone table + challenges-solved table + a "live now" list.


🏗️ Built ground-up for OKX.AI

Themis is a fresh Next.js codebase — the tribunal engine, every OKX integration, on-chain anchoring, and two full surfaces (web + Telegram), all shipped during the hackathon and live at trythemis.vercel.app.

📅 What shipped, in order

Phase

Shipped

Core

Tribunal engine (advocate · skeptic · judge) · OKX market data · commit-reveal seals · paper execution · 3-panel console

Copilot

Streaming LLM copilot (tool-calling) · BYOK + model picker · ruling cards · frictionless onboarding

OKX chain

X Layer (chain 1952) + viem · on-chain seal anchoring · OKLink links · agent wallet + live balance

Agentic settlement

x402 v2 / A2MCP endpoint — verdicts sold to other agents per-call on X Layer

Market terminal

Live OKX order book (depth · spread · imbalance) as tribunal evidence + depth-weighted fills

Manual trading

Buy/Sell ticket on the chart — sealed + anchored just like agent trades

Wallet

Agent wallet derived from your OKX wallet (wagmi) — same on every device · full wallet menu

Telegram

The whole copilot in chat — memory · /model picker · inline execute · serverless webhook

Durable + shipped

Upstash Redis persistence · deployed to prod · 35s demo video

🧗 Hard problems we solved

Challenge

Fix

Make an AI trader trustworthy

Commit-reveal — hash the verdict before execution, anchor on X Layer

Order book as decoration

Made it load-bearing — tribunal cites depth, fills walk the real book

Wallet consistent across devices

Derive the agent key from a deterministic OKX-wallet signature

Telegram webhook timing out

Ack Telegram instantly, run the copilot in the background (after())

Proper wallet adapter

Adopted wagmi (EIP-6963, account/chain events) instead of hand-rolling

✅ Live & verifiable now

  • 🌐 trythemis.vercel.app — web console fully working

  • 💬 @vesper00_bot — same copilot in Telegram

  • ⛓️ Real on-chain proof: oklink.com/x-layer-testnet/tx/0xe4d235…13b3f6 (Accepted on L2)

  • 🎬 3mins demo — copilot → sealed verdict → manual trade → anchored on X Layer


資金調達の状況

we haven't got funded now, as this project is freshly made for OKX hackathon

チームリーダー
MManjeet S
プロジェクトリンク
業界
AIDeFiInfraOther