Skip to content

omniwired/rust-blockchain-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

IBC-Mini: Rust Light-Client + zk-Proof Bridge

A minimal demonstration of IBC light client verification with zero-knowledge proofs.

Overview

This project demonstrates:

  1. Tendermint header verification using a Rust light client
  2. Zero-knowledge proof generation using Groth16 (arkworks)
  3. On-chain proof verification via CosmWasm contract

Project Structure

  • ibc-light-client/ - Core light client logic
  • zk-circuit/ - Zero-knowledge circuit implementation
  • cli/ - Command-line interface for proof generation
  • cosmwasm-verifier/ - CosmWasm contract for proof verification

Quick Start

# Build the project
cargo build --release

# Run demo
cargo run --bin ibc-mini demo

# Generate proof for specific height
cargo run --bin ibc-mini prove --height 1000

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Tendermint β”‚ RPC  β”‚ Rust Light  β”‚ Ο€    β”‚ CosmWasm  β”‚
β”‚  Full Node │───► β”‚  Client     │───► β”‚ Verifier  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note: This is a portfolio demonstration project, not production-ready code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published