🤝Contribute
Contribute to our V2 trusted setup ceremony
Last updated
Contribute to our V2 trusted setup ceremony
Last updated
We are performing our trusted setup ceremony using p0tion from PSE. You are contributing to generating the proving keys for the following circuits
HDFC Send
HDFC Registration
Venmo Send V2
HDFC circuits are for adding support for INR (Indian Rupee ) to zkp2p. You can track previous contributions to the ceremony on the p0tion site. Follow these steps to contribute to our trusted setup ceremony.
IMPORTANT: Our circuits are massive, so this can take considerable time and bandwidth if done on a "normal" computer! For example, an M1 laptop on a normal internet connection will take around 1 hour to contribute.
Please use a server instance to contribute to the ceremony. You will need around 20GB of space to store the zkeys while contributing. Any issues please let us know.
Skip to step 9 if you have phase2cli 1.1.0 already installed. Run phase2cli --version
to know your version.
Install phase2cli by p0tion
Run
If you see an error like below. Don't panic. It's due to the latest ffjavascript
using web-worker 1.3.0
. We will fix the issue by replacing it with web-worker 1.2.0
using the next set of commands.
Run the following command to locate your phase2cli installation.
Change directory to the lib folder of phase2cli.
In my case, the base directory for phase2cli as shown above is /home/sachin/.nvm/versions/node/v18.19.0/.
You will need to replace this part of the path with the directory specific to your system. The command to change directories to the lib folder of phase2cli for me was
Uninstall existing webworker.
Install web-worker 1.2.0
cd
back to your home
(or any directory of your choice) and confirm the fix
If running on a server, you will just need to copy the auth code, visit https://github.com/login/device and paste it there + authorize gist access for the transcript.
Finally contribute
Feel free to share your contribution and tag @zkp2p once you are done!
Authentication:
After auth, wait maybe 1 minute to be safe before running contribute which may lag.
Node version
Please use node >16. Install nvm
If you face the "Unfortunately we could not find a user document with your information" error
Take your GitHub username and go to https://api.github.com/users/$USERNAME
Check the following:
"public_gists" >1
"followers" >1
"following" >5
"created_at" >1 month old
These are the requirements to participate in a p0tion ceremony.
If you pass all of these but still get the same error, please run these commands again.
Great. We fixed the issue. Now, auth with your GitHub account.