Awesome
BLS12-381 implemented in Cairo
Deprecated please use optimized ecc cairo
A lot of code from Tekkac's bn128 implementation
Some key differences
- Uses BLS12-381 curve parameters
- Substituting BigInt3 for BigInt6(6 limbs of 64 bits)
To Run
git clone https://github.com/0xNonCents/cairo-bls12-381
cd cairo-bls12-381
make
BLS12-381 parameters from py_ecc
Benchmark
single pairing : 410.7343 Seconds, > 5 million steps