8000 GitHub - arithmic/units · GitHub
[go: up one dir, main page]

Skip to content
arithmicPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Units ZK Proof System

This repository contains a zero-knowledge proof system built with SP1.

Building and Running

1. Build the Program

First, build the program crate using SP1's prove toolchain:

# Navigate
cd program
cargo prove build

This compiles the program for the RISC-V target and generates the necessary ELF file.

2. Run the ZK Proof System

Navigate to the zk-proof directory and run either execution or proving:

cd zk-proof

Execute (faster, for testing):

cargo r -r -- --execute

Prove (generates ZK proof):

cargo r -r -- --prove

Project Structure

  • program/ - The SP1 program that gets compiled to RISC-V
  • zk-proof/ - The host application that executes or proves the program
  • unitsdesign/ - Core token and state management logic

Requirements

  • SP1 toolchain installed
  • Rust with RISC-V target support

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0