noble-curves icon indicating copy to clipboard operation
noble-curves copied to clipboard

Support for bn254 G2

Open matthiasgeihs opened this issue 11 months ago • 12 comments

With support for bls12-381 being stagnant (EIP-2537), to the best of my knowledge, using curve alt_bn128 is currently the only way to have efficient pairings on Ethereum (EIP-197). Any plans to integrate this curve with noble-curves?

For my use case, I would only need the group operations to be included in the library, not the pairing, basically asking for a similar thing as https://github.com/indutny/elliptic/issues/154. The goal is to be able to write a JavaScript / TypeScript interface that can generate the inputs to the smart contract that then computes the pairing for verification.

matthiasgeihs avatar Aug 04 '23 11:08 matthiasgeihs