• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    Rust
  • Created about 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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
  • Make JUMP / JUMPI pc fetch more smart
  • Ignore init code
  • Input from file
  • Generate stack annotations in comment