Skip to content

Commit

Permalink
Merge 39fa304 into 124b7c0
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmah committed Dec 7, 2020
2 parents 124b7c0 + 39fa304 commit 80930c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web3-providers-ipc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ npm install web3-providers-ipc
```

## Usage

```js
const Web3IpcProvider = require('web3-providers-ipc');
const net = require(net);

// connect to your local ipc
const ipc = new Web3IpcProvider('/Users/me/Library/Ethereum/geth.ipc', net);
```

Note: make sure to run [geth](https://geth.ethereum.org/).

## Types

All the TypeScript typings are placed in the `types` folder.
Expand Down

0 comments on commit 80930c5

Please sign in to comment.