This website is intended to be used on larger screens. It will still work on this device, but the experience may not be optimal.

4-byte-gen

This tool generates Solidity function names with leading zeroes in their 4-byte selectors. These optimized function names will make your smart contract bytecode smaller and save gas on deployment. The functions will also cost less gas to call after the smart contract is deployed.

GitHub

Enter some Solidity code in the text box and press "Parse functions".

Original Name Original Selector Optimized Name Optimized Selector Seed

Parse new functions

All existing optimized names will be cleared. Continue?