Scripts used to perform the trusted setup ceremony for WORM Privacy circuits.
- Install
wget:sudo apt install wget - Install NodeJS: https://nodejs.org/en/download
- Install SnarkJS:
npm i -g snarkjs - Install GitHub CLI: https://cli.github.com/
- Go to the Settings section of your GitHub profile.
- Navigate to Developer settings.
- Select Personal access token, then choose Tokens (classic).
- Click Generate new token (classic).
- Select all necessary permissions and generate the token. (All
repopermissions andread:orgpermission) - Store the token somewhere, you'll need it later!
- Click the Fork button at the top of this repository’s page. (Remove the old fork and create a new one if you have already forked the repo!) (The name of the fork should be
trusted-setup) - Clone your forked repository to your local machine using the following command:
git clone https://github.com/[YOUR_GITHUB_USERNAME]/trusted-setup
- Go to the forked repo:
cd trusted-setup. - Run:
make contribute PERSONAL_NOTE='LFG!' PERSONAL_GH_TOKEN=[YOUR GITHUB TOKEN]
(You can attach a custom personal note to your contribution through the PERSONAL_NOTE parameter!)