zkparty / trusted-setup-frontend

The KZG Ceremony web browser implementation
https://ceremony.ethereum.org
229 stars 66 forks source link

Nico activate ecdsa #47

Closed NicoSerranoP closed 1 year ago

NicoSerranoP commented 1 year ago

The await double signing feature is implemented in the frontend! This PR contains:

  1. The BLS signature done in Rust (sequencer crypto library) and imported in the project using the wrapper library. There is an open PR in the sequencer repo to add some extra functions for the subgroup checks and the get potPubkeys
  2. The ECDSA signature is active and being sent to the sequencer every time there is a double signing (only with Ethereum addresses). The getPotPubkey function is still in an open PR in the sequencer repo
  3. Subgroup checks are performed after contributing. If the check fails on the previous contribution (received one) or on the updated contribution (computed one), a error message would appear indicating the user what actions are recommended to take

Closes #41