mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 23:27:56 -05:00
sourcing common.sh script directly
This commit is contained in:
@@ -73,12 +73,7 @@ First, go to the `circuit` folder of the monorepo, modify the circuits and build
|
||||
|
||||
Then, upload the zipped zkeys built at publicly available urls and replace the urls in `app/src/utils/zkeyDownload.ts`. Be sure the zkey is named `<circuit_name>.zkey` before you zip it, and the zip is then named `<circuit_name>.zkey.zip`.
|
||||
|
||||
Adapt the inputs you pass in `app/src/utils/prover.ts`, and adapt and redeploy the contracts.
|
||||
|
||||
Run the common init script:
|
||||
```
|
||||
./scripts/common.sh
|
||||
```
|
||||
Adapt the input generation in `common/src/utils/generateInputs.ts`, and adapt and redeploy the contracts.
|
||||
|
||||
### Android
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "scripts/common.sh"
|
||||
|
||||
cd witnesscalc
|
||||
./build_gmp.sh android
|
||||
make android
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "scripts/common.sh"
|
||||
|
||||
cd witnesscalc
|
||||
./build_gmp.sh ios
|
||||
make ios
|
||||
|
||||
Reference in New Issue
Block a user