bitcoinjs-lib/test/integration/_regtest.js

10 lines
303 B
JavaScript
Raw Normal View History

2019-06-15 12:36:44 +02:00
const { RegtestUtils } = require('regtest-client')
2019-06-15 12:36:44 +02:00
const bitcoin = require('../..')
2018-06-25 08:25:12 +02:00
const APIPASS = process.env.APIPASS || 'satoshi'
2019-04-09 05:09:43 +02:00
const APIURL = process.env.APIURL || 'https://regtest.bitbank.cc/1'
2019-06-15 12:36:44 +02:00
const regtestUtils = new RegtestUtils(bitcoin, { APIPASS, APIURL })
2019-06-15 12:36:44 +02:00
module.exports = regtestUtils;