@sipc/web3-net

Web3 module to interact with the Ethereum nodes networking properties.

Usage no npm install needed!

<script type="module">
  import sipcWeb3Net from 'https://cdn.skypack.dev/@sipc/web3-net';
</script>

README

web3-net

NPM Package Dependency Status Dev Dependency Status

This is a sub-package of web3.js.

This is the net package used in other web3.js packages.

Please read the documentation for more.

Installation

Node.js

npm install web3-net

Usage

const Web3Net = require('web3-net');

const net = new Web3Net('ws://localhost:8546');

Types

All the TypeScript typings are placed in the types folder.