-
Notifications
You must be signed in to change notification settings - Fork 0
/
batchzksetup_pghr13.sh
executable file
·25 lines (20 loc) · 1.32 KB
/
batchzksetup_pghr13.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/bash
echo "================================="
echo "Generating PGHR13 Setup zkConsent"
echo "================================="
echo
echo ">> Cleanup setup dir"
mkdir -p $HOME/zkconsent_setup/pghr13
mkdir -p $HOME/zkconsent_logs/pghr13
rm ~/zkconsent_setup/pghr13/* -rf
rm ~/zkconsent_logs/pghr13/* -rf
echo
echo ">> SNARKs Setup"
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkterminate | tee $HOME/zkconsent_logs/pghr13/zkterm_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkmint | tee $HOME/zkconsent_logs/pghr13/zkmint_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkconsent | tee $HOME/zkconsent_logs/pghr13/zkcons_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkconfconsent | tee $HOME/zkconsent_logs/pghr13/zkconsconf_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkconfterminate | tee $HOME/zkconsent_logs/pghr13/zktermconf_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkterminatesimp | tee $HOME/zkconsent_logs/pghr13/zksimpterm_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkmintsimp | tee $HOME/zkconsent_logs/pghr13/zksimpmint_setup.log
./snarks/build/zkconsent/zkconsent setup --pghr13 --zkconsentsimp | tee $HOME/zkconsent_logs/pghr13/zksimpcons_setup.log