/ceremony

Primary LanguageJavaScript

WasmJuicer Zero Knowledge Phase-2 Ceremony

How to participate

sudo npm install -g snarkjs
# or
sudo yarn global add snarkjs
  • Clone repository
cd $HOME
git clone https://github.com/WasmJuicer/ceremony.git
cd ceremony
  • Do your contribution
# first get and set the latest contribution number to the RECENT_ZKEY var
$ RECENT_ZKEY=$(ls -1 ./participations | tail -n 1)
$ echo $RECENT_ZKEY
4201_anonymous.zkey

# add your contribution
# just add 1 to the previous contribution
# Feel free to put your name / twitter handler / keybase
# Set the name of zkey file. Then set your contributor name
$ CONTRIBUTION_ID=4202_myname
$ CONTRIBUTOR_NAME="My Name"

# then run the following command
$ snarkjs zkey contribute ./participations/$RECENT_ZKEY ./participations/$CONTRIBUTION_ID.zkey --name="$CONTRIBUTOR_NAME" -v
  • Verify your contribution
$ wget https://hermez.s3-eu-west-1.amazonaws.com/powersOfTau28_hez_final_16.ptau
$ snarkjs zkey verify ./build/withdraw.r1cs ./powersOfTau28_hez_final_16.ptau "./participations/$CONTRIBUTION_ID.zkey"
  • Write your contribution
Contribution File Contributor Contribution Hash
0000_setup.zkey Anonymous 0e4908e1 992c1b4b 34e84512 786f229e
28d94625 c87d8739 1ccb1895 6310a0a9
7f53236e 3f2a076b 43662f8d b7c85ed0
858d18c0 6dfdb243 36aad7fb 584ece78
0001_albttx.zkey @albttx 7e29e141 602f3279 3e5265e0 5c4ca815
34a6c162 f03af37a 4da84674 0fe7673b
959875b8 1b0ecad0 a33592fd f5b5ef52
a96036dd 7c1889e9 f451ac6f 6e130a1a
0002_teddav.zkey @0xteddav 7bd3b81e a11f7c3d ca53c866 7977d274
403ef969 63de8d42 e0894fbd 53b2ff50
6143dd40 371b10cc 463bbadf e15cb99d
bb4fd70d 64abb7ef b0fe75aa 39d272df
0003_astaluego.zkey @astaluego 1fe365de e5188405 0cb2ba4c 8a3d97bd
93bb8418 caa15b4c 0f7be942 b2b0c2a5
cdc5d49c 7045c8b0 7656fc56 63e48921
65946004 c1ad9a59 427913d9 c78b944b
0004_whiskey.zkey @whiskeydev_ 56fa7552 08c8930c ab57d7dd f375d6ac
3bd0902a a291784f 9a29458c 40c7156f
42b4ee12 e728ca03 ab7de3a9 569b411e
f68f075f ca3602b6 da0fe0e7 1d4cb24b
0005_polkachu.zkey @polka_chu f4bd4491 c4ef1051 28dae50c 4952e845
18bbbcd3 aef6ed2a e4d84ec0 0ca64614
47d0828b f851c191 b8534415 8566e8a1
12fee31f 30326d38 2190ca69 65cb3605
0006_dimi.zkey @dimiandre 5b3cb795 d54411b7 dd05c166 d786d6c6
e72e2dbf d41e9498 fa6e5bbe c2ae881e
a8de2439 f83bd3d9 5c3a257e b246e84d
c3158266 9a6d60a7 3be8e30f 1b2eb84c
0007_nodesguru.zkey @NodesGuru cb26d431 af0e8d35 571a04c7 b7586aeb
e0c60715 e5403f03 872cadec c09ecc2b
96048dcb 2f10c6c7 11281f69 562f6e97
dbf56110 4d96d06b 3a5b41aa 42e402c3
0008_NodeStake.zkey @Nodestake_top 71e92dab 5a4aa956 e0fdccdc 1e77738c
0c5be377 88d3b590 cae58956 377a10eb
ed5418d8 eb0492a1 2532d09f 2c66ea78
d9e633b6 c566a99c 73c357c6 8bac1746
0009_massv.zkey @Massv 026de6ce 89798905 cd11d4ad fadb48d5
d00db0e4 8361f974 f1367a56 91d2c49e
4f48f46c 2cbf8978 dbe25bd0 a1832967
2a682458 49544e64 185a6bd6 c3b14013
0010_wtrsld.zkey @beholdidols f7300bbe ea1486b5 1abcabe0 1334826f
3c541f50 49bfcf3a 03d7c39a 40ba9163
0c6fe256 36f4f73a c5dc7bd2 1e327fe0
b4cf11b2 e173f2cb 344070c4 0989262e
0011_bongo.zkey @bongo5991 7696866a 9e7f9278 6fe9b5d7 1ccd67a8
433a978d 9de0673d cc69e95e 29907790
a7d24fa5 6a0e117f 6b31f9f2 01f5429e
8d9ab07a e0f918ab d679433a 32c85afb
0012_franckwertel.zkey @franckwertel 2a3fe593 c5ad4e6a 83f001e9 ec039d3d
c2f8a1e4 71e48d7c b19231b3 758c8d71
818ac0d7 d1421adf 0e6047a6 5ff5437e
39d87620 f46d449c 1089595b 41029cdc