-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·21 lines (14 loc) · 1012 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e
set -x
rm -rf output
mkdir output
FUNC=zkmain
#~/zkWasm/target/release/delphinus-cli -k 22 --host standard --function $FUNC --output ./output --param ./params --wasm ./pkg/output.wasm setup
~/zkWasm/target/release/delphinus-cli -k 22 --host standard --function $FUNC --output ./output --param ./params --wasm ./pkg/output.wasm single-prove \
--private 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 \
--public 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64 0:i64
# Perform host circuit proofs
#~/zkWasm-host-circuits/target/release/zkwasm-host-circuits-prover --input external_host_table.json --opname poseidonhash --output output/ --param params
#~/zkWasm-host-circuits/target/release/zkwasm-host-circuits-prover --input external_host_table.json --opname merkle --output output/ --param params
#~/zkWasm-host-circuits/target/release/zkwasm-host-circuits-prover --input external_host_table.json --opname jubjubsum --output output/ --param params