Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-DOM committed May 31, 2018
1 parent 89dafe0 commit 27ba241
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,29 @@ Use
-----

`npm install --save-dev decode-eth`

add this script to your `package.json`: "decode": "node ./node_modules/decode-eth/main.js"

run using `npm run decode`!

Works with testrpc & ganache-cli:

`truffle compile`

`truffle test`

`npm run decode`

Works with truffle develop:

`truffle develop`

`compile`

`test`

new tab:

`npm run decode`

Note: for it to work, you need to have a populated `build` folder. So you need to run `compile` before.
Expand All @@ -36,3 +43,5 @@ For every transaction that ocurred on your blockchain, decode will show:
- all events from the transaction
- amount of ETH sent
- amount of gas used

At the end, it will output all built contracts & their deployed addresses

0 comments on commit 27ba241

Please sign in to comment.