Skip to content

Commit

Permalink
Merge pull request #39 from lambdaclass/demo
Browse files Browse the repository at this point in the history
Demo
  • Loading branch information
xqft authored Oct 17, 2023
2 parents 74e168c + 9117601 commit 8237536
Show file tree
Hide file tree
Showing 26 changed files with 11,263 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: prove

prove:
# 1. take o1js user-defined circuit
# 2. execute utility to generate a KZG+bn254 proof
# 3. serialize proof into JSON
# 4. send proof into Solidity program to verify proof
7 changes: 7 additions & 0 deletions demo/eth_verifier/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: all proof

all: proof
solc --bin verifier.sol

proof:
cd circuit_gen && cargo run
1 change: 1 addition & 0 deletions demo/eth_verifier/circuit_gen/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
Loading

0 comments on commit 8237536

Please sign in to comment.