mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-02-22 19:28:27 +00:00
docs(rln): Compiling circuits
This commit is contained in:
parent
af0397fa09
commit
23171bb041
@ -10,3 +10,23 @@ Proof: Proof { a: GroupAffine { x: Fp256(BigInteger256([8483808811394525823, 291
|
||||
|
||||
See:
|
||||
https://github.com/oskarth/zk-kit/commit/b6a872f7160c7c14e10a0ea40acab99cbb23c9a8
|
||||
|
||||
## Compiling circuits
|
||||
|
||||
`rln` (https://github.com/privacy-scaling-explorations/rln) repo with Circuits is contained as a submodule.
|
||||
|
||||
``` sh
|
||||
# Update submodules
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Install rln dependencies
|
||||
cd vendor/rln/ && npm install
|
||||
|
||||
# Build circuits
|
||||
./scripts/build-circuits.sh rln
|
||||
|
||||
# Copy over assets
|
||||
cp build/rln.r1cs ../../resources
|
||||
cp build/zkeyFiles/rln-final.zkey ../../resources
|
||||
cp build/zkeyFiles/rln.wasm ../../resources
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user