Simple web app to generate optimized function selectors for Solidity.
Similar projects:
- Input the standard ERC-20 functions
transfer
,transferFrom
, andapprove
. You can copy the function definition directly from your Solidity code without modification. - Adjust "Minimum number of zero bytes" to the desired number of zero bytes to mine for. Check out
4-byte-gas-test
for a comparison of gas costs between functions with zero bytes. - Click "Parse functions" and the tool will normalize the function definitions (i.e., remove spaces, input names, and extraneous keywords).
- Click "Start all" and the tool will start mining for optimized function names (each function is mined using its own web worker, so they are mined in parallel).