Shieth
Shieth is a little web3 helper intended on being used as a shim library for handling common interactions with web3 and our web front-end projects.
How to use
Install using npm
:
npm install --save shieth# or in dev npm link shieth
Then import the badboy into your project:
;
And then instantiate it in your project
;
ethjs
will keep your accounts, the state of the network and some other things in order after you call load()
on the instance:
eth .load .thenthis.refreshStateeth .catchconsole.log'Error -->', error;
Check out shieth-test for an example implementation!