You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockvote/node_modules/web3-net/README.md

831 B

web3-net

NPM Package

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

You can install the package either using NPM or using Yarn

Using NPM

npm install web3-net

Using Yarn

yarn add 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.