etk
is a collection of tools for writing, reading, and analyzing EVM bytecode.
The etk
book is the most comprehensive guide to using etk
.
There are also several examples in the etk-asm/tests/asm
directory. For further questions, join us on Telegram.
etk
requires rustc
version 1.51
.
cargo install --features cli etk-asm etk-analyze
contract.etk
:
push1 42
push1 13
add
pop
$ eas contract.etc out.hex
$ disease out.hex
0: PUSH1 0x2a
2: PUSH1 0x0d
4: ADD
5: POP