Gas Killer could cut the gas cost of Railgun's private transfers by 61–79%, about 72% on a typical transaction. We measured this on 15 real mainnet calls to the Railgun smart wallet, and every one of them saved. Most of the gas goes to ZK proof verification and Poseidon hashing.
What we measured
All 15 direct calls we measured save between 61% and 79%. A sample is below, covering private transfers and shields. The last three rows are RelayAdapt bundles, which save 45–68%.
| Transaction | Function | Gas today | Gas saved | Saving |
|---|---|---|---|---|
| 0xaa357a48… | private transfer / unshield | 1,085,832 | 854,737 | 78.7% |
| 0xe7e605b6… | private transfer / unshield | 1,615,755 | 1,247,915 | 77.2% |
| 0x39a67a29… | private transfer / unshield | 1,131,080 | 814,650 | 72.0% |
| 0x0376edd3… | shield | 724,515 | 505,863 | 69.8% |
| 0x6837bb8d… | shield | 758,741 | 497,097 | 65.5% |
| 0x792a8e57… | private transfer / unshield | 484,303 | 294,581 | 60.8% |
| 0x6f534f5a… | RelayAdapt bundle | 1,297,603 | 884,393 | 68.2% |
| 0x7c731150… | RelayAdapt bundle | 1,120,780 | 749,350 | 66.9% |
| 0x2d754e6f… | RelayAdapt bundle | 523,496 | 237,154 | 45.3% |
Railgun processes roughly 106 of these transactions a day, so the saving recurs on each one.
