web_anmo-net
v1.12.14
Published
Quality Tracing Chain JavaScript API
Downloads
5
Maintainers
Readme
web_anmo-net
This is a sub package of web_anmo.js
This is the net package to be used in other web_anmo.js packages. Please read the documentation for more.
Installation
Node.js
npm install web_anmo-net
In the Browser
Build running the following in the web_anmo.js repository:
npm run-script build-all
Then include dist/web_anmo-net.js
in your html file.
This will expose the Web3Net
object on the window object.
Usage
// in node.js
var Web3Net = require(web_anmo-net);
var net = new Web3Net('ws://localhost:8546');