Skip to content
BLOKZ.dev

The Curve Switch

Grouped bar chart comparing BN254 vs BLS12-381 on-chain gas costs for every precompile operation: G1/G2 adds, scalar mults, and pairings. Log scale reveals the G2 MUL unlock and the counterintuitive pairing inversion.

chart SVG Zero-KnowledgeCryptography Jun 24, 2026
⬢ loading artifact…
The Curve Switch — click a bar to see gas breakdown and USD cost estimate · data as of · EIP-2537 (BLS12-381) + EIP-197/EIP-1108 (BN254) specifications ↗ open artifact ↗

View artifact source on GitHub ↗

Appears in

Type to search the archive.