quadratic-funding / mpc-phase2-suite

The MPC suite of tools for conducting zkSNARK Phase 2 Trusted Setup ceremonies
MIT License
16 stars 6 forks source link

Set up a github action that triggers MPC tool CLI #197

Closed daodesigner closed 1 year ago

daodesigner commented 1 year ago

You should create a circom repo with the circuits and tests that you wrote for HW 2. Ask @gurrpi for help if you get stuck, but you should all understand how this works.

On pull request to main branch being merged:

trigger the mpcphase2suite CLI bonus points: start a ceremony for the circuit

0xjei commented 1 year ago

TL;DR I published a version of the CLI with the configuration for our test environment infra (@jeeiii/phase2cli - v0.0.5). Then, I created 2 workflows: one for triggering the CLI (simply shows the version) and a second one which runs the HW2-related tests.

Also, I have moved the .r1cs files in a single folder after compilation and run npx phase2cli auth and npx phase2cli coordinate setup then.

PR: https://github.com/0xjei/circom-starter/pull/2 Log: https://www.notion.so/pse-team/Epic-2-Eat-the-Dogfood-b2b0aa54119d4b22acea6d4f820a4a89#c5c46ddaff02481eb6bb7b2e8d7c22f4