Commit 5cb82f7f authored by SilentCicero's avatar SilentCicero

more docs

parent 52fb08f0
......@@ -14,7 +14,7 @@ npm install --save ethjs-provider-signer
const SignerProvider = require('ethjs-provider-signer');
const Eth = require('ethjs-query');
const provider = new SignerProvider('http://ropsten.infura.io', {
privateKey: (account, cb) => cb(null, '0x...privateKey...'),
signTransaction: (rawTx, cb) => cb(null, SignerProvider.sign(rawTx, '0x...privateKey...')),
});
const eth = new Eth(provider);
......
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