Sol2Huff is a command-line tool for transpiling Solidity contracts to Huff.
- Rust (tested on Rust 1.56)
- Solidity compiler (tested on Solidity 0.8.10)
cargo +nightly install --git https://github.com/abhinavmir/sol2huff
sol2huff --dir=<path-to-solidity-file> --artifact=<directory-of-artifact> --verbose
Shoutout @iFrostizz for developing Murph - a bytecode to Huff transpiler. Sol2Huff is derivative of Murph.