Commit afa3d42f authored by Nick Dodson's avatar Nick Dodson Committed by GitHub

Merge pull request #1 from mattvick/master

Fixed typos in README.md Usage instructions code example that cause an errors when executed
parents bd0f451e 9ec871bf
......@@ -50,8 +50,9 @@ npm install --save ethjs-signer
```js
const HttpProvider = require('ethjs-provider-http');
const Eth = require('ethjs-query');
const eth = new Eth(HttpProvider('http://localhost:8545'));
const eth = new Eth(new HttpProvider('http://localhost:8545'));
const sign = require('ethjs-signer').sign;
const BN = require('bignumber.js');
const address = '0x0F6af8F8D7AAD198a7607C96fb74Ffa02C5eD86B';
const privateKey = '0xecbcd9838f7f2afa6e809df8d7cdae69aa5dfc14d563ee98e97effd3f6a652f2';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment