drand / drand-client

🎲 A JavaScript client to the drand randomness beacon network.
Other
54 stars 13 forks source link

Add support for verifying beacons with the G1-G2 swap #55

Open AnomalRoil opened 1 year ago

AnomalRoil commented 1 year ago

Once https://github.com/drand/drand/pull/1103 lands, and we've launched a new testnet network with the swapped curves for the BLS signature, we should make sure to add support for verifying these beacons.

The Noble library currently doesn't support it, but it should have all the required methods to implement it easily now that hash to curve is supported on both groups: https://github.com/paulmillr/noble-bls12-381/issues/43

CluEleSsUK commented 1 year ago

as-is this is fixed, though we have a new swapped scheme which will be fixed when https://github.com/drand/drand-client/pull/68 is merged