feat: scripts for MPC + removing MPC from the worker process 🔨 #633
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements phase2 for the MPC ceremony.
We use phase1 from the perpetual powers of tau. This phase2 is circuit-specific.
You can run
npm run ceremony
to start a new ceremony, which will pick the compiled circuits, fetch the radix files, and produce somempc params
. If you don't need to start a new ceremony and you want to contribute to the existent one (which is probably the most interesting usage), you can runsh MPC/mpc_contribute.sh
which will start up a bash script that will download and install Docker if you don't have it, then contribute to the existent one.This contribution will download the existent mpc params from our S3 bucket, and will contribute with the source of entropy that is asked in the bash script. After finishing, you should have your new mpc params in the output folder `params/out``. That's the one you should send us, to be replaced in the S3 bucket and handed over to the next contributor