mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
| .. | ||
| lib | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
web3-providers-ipc
This is an IPC provider sub-package for web3.js.
Please read the documentation for more.
Installation
Node.js
npm install web3-providers-ipc
Usage
const Web3IpcProvider = require('web3-providers-ipc');
const net = require(net);
const ipc = new Web3IpcProvider('/Users/me/Library/Ethereum/geth.ipc', net);
Types
All the TypeScript typings are placed in the types folder.