app3-net

App3 module to interact with the APIS nodes networking properties.

Usage no npm install needed!

<script type="module">
  import app3Net from 'https://cdn.skypack.dev/app3-net';
</script>

README

app3-net

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.

Installation

Node.js

npm install app3-net

In the Browser

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.

Usage

// in node.js
var App3Net = require('app3-net');

var net = new App3Net('ws://localhost:8546');