Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: scripts for MPC + removing MPC from the worker process 🔨 #633

Merged
merged 2 commits into from
May 4, 2022

Conversation

signorecello
Copy link
Contributor

@signorecello signorecello commented Apr 28, 2022

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 some mpc 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 run sh 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

Copy link
Contributor

@druiz0992 druiz0992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to have some instructions on how to run this MPC in the main README section

MPC/contribution.js Outdated Show resolved Hide resolved
MPC/mpc_contribute.sh Outdated Show resolved Hide resolved
@signorecello
Copy link
Contributor Author

For clarity, the MPC ceremony has been moved to a new repo, here: https://github.com/maticnetwork/nightfall_phase2ceremony

@signorecello signorecello merged commit def8a6b into master May 4, 2022
@signorecello signorecello deleted the zepedro/remove-random-beacon branch May 4, 2022 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants