RISC Zero Trusted Setup Ceremony
RISC zero recently announced the launch of their phase 1 ceremony following the release of their recent roadmap.
Contribution will be open till 5/3/2024
Lets proceed:
You will need a Linux VPS or a PC they uses Linux. You can download special applications for that.
This guide covers for Linux servers.
Requirement
GitHub Accout :
A GitHub account must be a month old with upto a follower and you must be following atleast 5 Persons. Also you must have atleast 2 repos already.
2. VPS or Personal Computer or Servers
A suitable amount of Space and Ram is advisable. 8gb and above preferably
3. Liveliness
This means your internet connection must be strong and you have to stay connected to the internet till your contribution queue completes.
Now that we have everything set. Proceed to your terminal to run this commands
Install the CLI and Load the VM
curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh -o install_nvm.sh
sh install_nvm.sh
sudo xcodebuild -license
sh install_nvm.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Install Nodes and Phase 2 CLI
mkdir p0tion-tmp
cd p0tion-tmp
nvm install 16.20
nvm use 16.20
npm install @p0tion/phase2cli
If you experience unnecessary errors, you can paste the previous code one after the other.
GitHub Authentication
If your GitHub meets the requirements, you will be eligible for this next step
Proceed by pasting below command
npx phase2cli auth
You will be provided a link and your authentication code.
Open the link in your browser; Ensure your GitHub is logged in.
Paste the code and confirm. Accept authentication.
Now let’s contribute
Paste this command
npx phase2cli contribute
Choose RISC Zero STARK-to_SNARK Prover
press enter
To add entropy for the next step. Choose Random or manual…. I chose Manual and I input a name I can remember ( You can do the same)
Afterwards, your contribution will be placed on queue which might take a longtime. Ensure you have your system active till contribution submit successfully.
If Incase you have any errors or lose your connection, you can try to restart your contributions by rerunning
npx phase2cli contribute
Your contribution should continue from previous queue.
Once your contribution is complete, you’ll be invited to share a message on Twitter/X — please do so, or on whatever social media platform(s) you prefer! 🎉
After successful contribution you can clear up this file and GitHub authorizations. Use this commands
npx phase2cli clean
Press ENTER then paste
npx phase2cli logout
That will be all. Congratulations on your successful contribution to this ceremony.
Don’t forget to follow and Subscribe free to my email. Be the first to get notified when ever I make a post.