Expand description
BLS12-381 precompiles added in EIP-2537
For more details check modules for each precompile.
Modules§
- g1_add
- BLS12-381 G1 add precompile. More details in
g1_add
- g1_msm
- BLS12-381 G1 msm precompile. More details in
g1_msm
- g2_add
- BLS12-381 G2 add precompile. More details in
g2_add
- g2_msm
- BLS12-381 G2 msm precompile. More details in
g2_msm
- map_
fp2_ to_ g2 - BLS12-381 map fp2 to g2 precompile. More details in
map_fp2_to_g2
- map_
fp_ to_ g1 - BLS12-381 map fp to g1 precompile. More details in
map_fp_to_g1
- pairing
- BLS12-381 pairing precompile. More details in
pairing
Functions§
- precompiles
- Returns the BLS12-381 precompiles with their addresses.
Type Aliases§
- G1Point
- G1 point represented as two field elements (x, y coordinates)
- G1Point
Scalar - G1 point and scalar pair for MSM operations
- G2Point
- G2 point represented as four field elements (x0, x1, y0, y1 coordinates)
- G2Point
Scalar - G2 point and scalar pair for MSM operations