sipc-web3-cross
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Installation

forked from ethereum/web3-eth, add simpleChain cross transaction api

Node.js

npm install sipc-web3-cross

In the Browser

Build running the following in the web3.js repository:

npm run-script build-all

Then include dist/web3-eth.js in your html file. This will expose the Web3Eth object on the window object.

Usage

// in node.js
var Web3SIPC = require('sipc-web3-cross');
 
var cross = new Web3SIPC('ws://localhost:8546');
 
cross.getCtxStats();

Types

All the TypeScript typings are placed in the types folder.

Readme

Keywords

none

Package Sidebar

Install

npm i sipc-web3-cross

Weekly Downloads

0

Version

0.0.8

License

LGPL-3.0

Unpacked Size

47.2 kB

Total Files

8

Last publish

Collaborators

  • sipc