mitweb3-mit
v0.1.0
Published
MitWeb3 module to interact with the mit blockchain and smart contracts.
Readme
mitweb3-mit
This is a sub package of mitweb3.js
This is the mit package to be used mitweb3.js.
Installation
Node.js
npm install mitweb3-mitIn the Browser
Build running the following in the mitweb3.js repository:
npm run-script build-allThen include dist/mitweb3-mit.js in your html file.
This will expose the Web3Mit object on the window object.
Usage
// in node.js
var Web3Mit = require('mitweb3-mit');
var mit = new Web3Mit('ws://localhost:8546');