tweb3-mit-personal
v0.1.1
Published
Tweb3 module to interact with the mit blockchain accounts stored in the node.
Downloads
6
Readme
tweb3-mit-personal
This is a sub package of [tweb3.js][repo]
This is the personal package to be used in the tweb3-mit
package.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install tweb3-mit-personal
In the Browser
Build running the following in the [tweb3.js][repo] repository:
npm run-script build-all
Then include dist/tweb3-mit-personal.js
in your html file.
This will expose the Web3MitPersonal
object on the window object.
Usage
// in node.js
var Web3MitPersonal = require('tweb3-mit-personal');
var personal = new Web3MitPersonal('ws://localhost:8546');