Skip to content

iFrostizz/murph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 6, 2023
33bd6a0 · Apr 6, 2023

History

40 Commits
Oct 22, 2022
Apr 6, 2023
Oct 22, 2022
Apr 6, 2023
Apr 6, 2023
Feb 21, 2023
Nov 13, 2022

Repository files navigation

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