4

Recently I have been doing an experiment to sign smart contracts with bls12-381, but I can't find any tutorial or code for this, Is there any way to do that? please tell me if you know about it.

1 Answer 1

4
+50

While EIP-2537 (featuring BLS12-381) has not been approved nor finalized yet, you can run a private network supporting that precompile.


In addition to that, there's a nice GitHub Solidity library (although this library is originally intended to test the Celo proposals, but the code shouldn't differ on Ethereum) that brings some examples of using BLS12-381 operations in Solidity smart contracts (which is a wrapper around EIP-2537).

It does though warn you too that:

These EIPs are not active on mainnet at time of writing, and require specialized client software to execute.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.