murph icon indicating copy to clipboard operation
murph copied to clipboard

A Huff <> bytecode transpiler

Murph - Transpile EVM bytecode into huff

Murph can transpile this:

60003560e01c8063552410771461001c5780632096525514610023575b6004356000555b60005460005260206000f3

into this:

murph output

Installation

You must install the nightly toolchain first in order to compile it

rustup toolchain install nightly

then you can install murph like this

cargo +nightly install --git https://github.com/iFrostizz/murph.git

TODO:

  • [ ] Writing more tests
  • [ ] Breaking big chunks into small functions
  • [x] Make JUMP / JUMPI pc fetch more smart
  • [x] Ignore init code
  • [x] Input from file
  • [ ] Generate stack annotations in comment