Skip to content

Support SNARK proof over BLS12381 #265

@eigmax

Description

@eigmax

New features:

  • generate groth16 and plonk proof over bls12-381
  • verify Groth16 bls12-381 proof by ark-works verifier
  • Generate the vk and pk: TrustSetup
  • Modify the decompression of the G1 and G2 points, basically each element size is changed from 32-bit to 48-bit.
    Test: ZKM_DEV=true RUST_LOG=info cargo test -p zkm-verifier -r test_e2e_verify_groth16_bls12381 --features "ark bls12381" -- --ignored --nocapture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions