-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Readme for the whole project and for witness calc. Updated readme for prover * Updated Readme for witness calc * Update test deps * Print CPU Info in GHA * Disable package cache for GHA * Rebuild of gmp with disabled asm optimizations that were causing problems. Benchmark test.
- Loading branch information
1 parent
8d7beac
commit 955a65b
Showing
10 changed files
with
76 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# go-rapidsnark | ||
|
||
go-rapidsnark is a collection of packages to [calculate witness](/witness), [generate zk-proof](/prover) and [verify zk-proof](/verifier). | ||
|
||
Note: prover and witness calculator have specific build & installation instructions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# go-rapidsnark witness calculator | ||
|
||
Calculates witness, that can be passed to a prover ([snarkjs](https://github.com/iden3/snarkjs), [go-rapidsnark/prover](/prover) or [rapidsnark](https://github.com/iden3/rapidsnark)) to generate a zero-knowledge proof. | ||
|
||
## Installation | ||
|
||
``` | ||
go get github.com/iden3/go-rapidsnark/witness | ||
``` | ||
|
||
## Dependencies | ||
|
||
This package depends on wasmer shared library, which needs to be copied from [wasmer-go](https://github.com/wasmerio/wasmer-go/tree/master/wasmer/packaged/lib) module source code. | ||
E.g. to run compiled project on Alpine linux you would need to copy `/go/pkg/mod/github.com/wasmerio/[email protected]/wasmer/packaged/lib/linux-amd64/libwasmer.so` from the build host/container. |