This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

Useful JavaScript snippets for go-ethereum

Words
56
Reading
1 min
Listen
Play
10y

This is a collection of common useful scripts that are handy when you do any kind of developemt on the Ethereum Virtual Machine aka EVM.

https://github.com/niksmac/ethereum-scripts

Usage

Load into HTML page Include the build/geth.min.js in your html HEAD and start using these fucntions in browser console and/or custom script.
Load into geth console loadScript('YOURPATH/build/geth.min.js'); and use it.

Useful JavaScript snippets for go-ethereum | Ecency