pec-net
v1.0.5
Published
pec module to interact with the Ethereum nodes networking properties.
Downloads
21
Readme
pec-net
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is a sub-package of [pec.js][repo].
This is the net package used in other [pec.js][repo] packages.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install pec-net
Usage
const Web3Net = require('pec-net');
const net = new Web3Net('ws://localhost:8546');
Types
All the TypeScript typings are placed in the types
folder.