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

BLS12-381 support #2094

Open
5 tasks done
aumetra opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2106
Open
5 tasks done

BLS12-381 support #2094

aumetra opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2106
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aumetra
Copy link
Member

aumetra commented Apr 9, 2024

This is to complete the holy trinity of cryptographic signatures supported by CosmWasm:

  1. secp256k1
  2. secp256r1
  3. BLS12-381

Rationale

BLS signatures, due to their nice aggregation properties, have been used more and more across projects.
Examples here are Ethereum, Drand, zk-SNARKs, etc.

Having these kinds of signatures supported on-chain would be a rather powerful tool for developers, enabling gas-efficient versions of contracts such as nois-drand.

TODOs (very rough outline; might change)

  • Implement basic point wrappers
  • Expose a byte-oriented API via cosmwasm-crypto
  • Add tests for these APIs for common use-cases
  • Expose these APIs via through the VM API to contracts via the standard library
  • Add tests for Drand verification to the crypto-verify contract
@aumetra aumetra added the enhancement New feature or request label Apr 9, 2024
@aumetra aumetra self-assigned this Apr 9, 2024
@aumetra aumetra added this to the 2.1.0 milestone Apr 9, 2024
@aumetra aumetra linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant