Skip to content

Commit ea1d9f5

Browse files
committed
cleanup readme
1 parent b9824f3 commit ea1d9f5

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
# pyevmasm
22

3-
pyevm is an assembler and disassembler library for the Ethereum Virtual Machine (EVM). pyevmasm supports python 2.7 and python 3.6 and newer. It also includes a convenient commandline tool `evmasm`.
3+
pyevmasm is an assembler and disassembler library for the Ethereum Virtual Machine (EVM). pyevmasm supports python 2.7 and newer.
44

5-
New issues, feature requests, and contributions are welcome. Join us in #ethereum on the [Empire Hacking Slack](https://empireslacking.herokuapp.com) to discuss Ethereum security tool development.
5+
This library is currently new and under development.
66

7-
This tool is currently new and under development.
7+
New issues, feature requests, and contributions are welcome. Join us in #ethereum channel on the [Empire Hacking Slack](https://empireslacking.herokuapp.com) to discuss Ethereum security tool development.
8+
9+
# evmasm
10+
evmasm is a commandline utility that uses pyevmasm to assemble or disassemble EVM. Below is an example of disassembling the preamble of compiled contract.
11+
12+
```
13+
$ echo -n "608060405260043610603f57600035" | evmasm -d
14+
00000000: PUSH1 0x80
15+
00000002: PUSH1 0x40
16+
00000004: MSTORE
17+
00000005: PUSH1 0x4
18+
00000007: CALLDATASIZE
19+
00000008: LT
20+
00000009: PUSH1 0x3f
21+
0000000b: JUMPI
22+
0000000c: PUSH1 0x0
23+
0000000e: CALLDATALOAD
24+
```
825

926
# Installation
1027

0 commit comments

Comments
 (0)