This is a sub package of app3.js
This is the net package to be used in other app3.js packages. Please read the documentation for more.
npm install app3-net
Build running the following in the app3.js repository:
npm run-script build-all
Then include dist/app3-net.js
in your html file.
This will expose the App3Net
object on the window object.
// in node.js
var App3Net = require('app3-net');
var net = new App3Net('ws://localhost:8546');