_blockchain: a social experiment
This commit is contained in:
parent
1f66b9e3d8
commit
4faa0ce679
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ var mainnet = new Blockchain('https://api.blocktrail.com/cb/v0.2.1/BTC', { api_k
|
|||
var testnet = new Blockchain('https://api.blocktrail.com/cb/v0.2.1/tBTC', { api_key: BLOCKTRAIL_API_KEY })
|
||||
|
||||
var kpNetwork = bitcoin.networks.testnet
|
||||
var keyPair = bitcoin.ECPair.fromWIF(process.env.BITCOINJS_TESTNET_WIF, kpNetwork)
|
||||
var keyPair = bitcoin.ECPair.fromWIF('cQqjeq2rxqwnqwMewJhkNtJDixtX8ctA4bYoWHdxY4xRPVvAEjmk', kpNetwork)
|
||||
var kpAddress = keyPair.getAddress()
|
||||
|
||||
function fundAddress (unspents, outputs, callback) {
|
||||
|
|
Loading…
Reference in a new issue