4 releases

0.1.3 Jan 17, 2025
0.1.2 Jan 9, 2025
0.1.1 Nov 25, 2024
0.1.0 Sep 30, 2024

#4 in #g1

Download history 84/week @ 2024-10-09 73/week @ 2024-10-16 233/week @ 2024-10-23 158/week @ 2024-10-30 264/week @ 2024-11-06 176/week @ 2024-11-13 307/week @ 2024-11-20 334/week @ 2024-11-27 337/week @ 2024-12-04 228/week @ 2024-12-11 139/week @ 2024-12-18 49/week @ 2024-12-25 158/week @ 2025-01-01 336/week @ 2025-01-08 191/week @ 2025-01-15 117/week @ 2025-01-22

804 downloads per month
Used in 14 crates (7 directly)

Custom license

8MB
133K SLoC

Eigen Layer Bls

This crate contains the following utilities:

  • New bls key pair generation
  • Get Public Key on G1 and G2
  • Helper functions to convert Arkworks parameters to alloy compatible . Ex:
    • convert_to_g1_point : Converts G1Affine to Alloy compatible G1Point
    • convert_to_g2_point : Converts G2Affine to Alloy compatible G2Point
    • alloy_g1_point_to_g1_affine: Converts Alloy G1Point to G1Affine
  • Signing a message using the keypair

Example

Dependencies

~57MB
~1M SLoC