2019-06-15 12:36:44 +02:00
|
|
|
const { RegtestUtils } = require('regtest-client')
|
2018-01-31 02:46:35 +01:00
|
|
|
|
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'
|
2018-01-31 02:46:35 +01:00
|
|
|
|
2019-06-15 12:36:44 +02:00
|
|
|
const regtestUtils = new RegtestUtils(bitcoin, { APIPASS, APIURL })
|
2018-01-31 02:46:35 +01:00
|
|
|
|
2019-06-15 12:36:44 +02:00
|
|
|
module.exports = regtestUtils;
|