Skip to content

Simple project πŸ“˜ to demonstrate πŸ‘¨β€πŸ”¬zk-Snark using zoKrates-js.

Notifications You must be signed in to change notification settings

steel-feel/zokrates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

zokrates

Simple project πŸ“˜ to demonstrate πŸ‘¨β€πŸ”¬ zk-Snark using zokrates-js. Zero-Knowledege proof - proving something without revealing the answer🧾.

In others words,

I know a in f(a, b) = c

Installation

npm i

Steps

1.Generate proof and verifier contracts for the program in /zok-src

npx hardhat run scripts/generate-proof.js

2.Deploy contract on chain using deploy.js

npx hardhat run scripts/deploy.js

Test

npm test

About

Simple project πŸ“˜ to demonstrate πŸ‘¨β€πŸ”¬zk-Snark using zoKrates-js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published