Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for bn254 curve #66

Open
shrimalmadhur opened this issue Aug 24, 2024 · 1 comment
Open

Support for bn254 curve #66

shrimalmadhur opened this issue Aug 24, 2024 · 1 comment

Comments

@shrimalmadhur
Copy link

I was looking into Dirk for BLS on bn254 curve keys support. I saw that the library you use here have support for bn254 keys.

I was wondering what would it take for dirk to fully support BLS on bn254?

@mcdee
Copy link
Contributor

mcdee commented Aug 25, 2024

Initial support would require adding support in the libraries used by Dirk and extending the existing https://eips.ethereum.org/EIPS/eip-2335 to allow for different curves. A lot depends on support within https://github.com/herumi/bls-eth-go-binary as to what would be available for us to use.

The big one would be distributed key generation and threshold signing; I haven't looked at this for bn254 but it would likely be where most work would take place.

Given how the BLS library works, with a global init, there would be issues around a single Dirk instance supporting both BLS12-381 and b254. It's unlikely that this is fixable without being addressed in the dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants