0.1.1 • Published 6 years ago
tweb3-mit-personal v0.1.1
tweb3-mit-personal
This is a sub package of tweb3.js
This is the personal package to be used in the tweb3-mit
package.
Please read the documentation for more.
Installation
Node.js
npm install tweb3-mit-personal
In the Browser
Build running the following in the tweb3.js 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');