mirror of
https://github.com/saymrwulf/zk-perp.git
synced 2026-05-14 20:58:10 +00:00
A fully functional proof-of-concept perpetual futures DEX with ZK proofs. Features: - Ed25519 digital signatures for transaction authentication - SHA-256 Sparse Merkle Trees (6-tree Hypertree architecture) - Price-time priority order matching engine - RISC Zero zkVM integration for state transition proofs - File-based Data Availability layer with state continuity - Simulated oracle with mean-reverting price movements - HTTP API (Axum) for sequencer and verifier - Comprehensive documentation Components: - crates/core: Types, crypto, Merkle trees, transactions - crates/orderbook: Order matching engine - crates/state: Global state management - crates/oracle: Price feed implementations - crates/da: Append-only log DA layer - methods/guest: RISC Zero ZK verification logic - host: Proof generation - sequencer: Transaction processing and batching - verifier: Independent proof verification 73 tests passing. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
20 lines
574 B
TOML
20 lines
574 B
TOML
[package]
|
|
name = "zk-perp-sequencer"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
zk-perp-core = { workspace = true }
|
|
zk-perp-state = { path = "../crates/state" }
|
|
zk-perp-oracle = { path = "../crates/oracle" }
|
|
zk-perp-da = { path = "../crates/da" }
|
|
zk-perp-host = { path = "../host" }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
bincode = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
tokio = { workspace = true }
|
|
axum = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|