xdc3-providers-ipc

Module to handle web3 RPC connections over IPC sockets.

Usage no npm install needed!

<script type="module">
  import xdc3ProvidersIpc from 'https://cdn.skypack.dev/xdc3-providers-ipc';
</script>

README

xdc3-providers-ipc

NPM Package Dependency Status Dev Dependency Status

This is an IPC provider sub-package for xdc3.

Please read the documentation for more.

Installation

Node.js

npm install xdc3-providers-ipc

Usage

const Web3IpcProvider = require('xdc3-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.