bitcoinjs-lib/test/integration/_regtest.js
2019-06-23 14:01:33 +09:00

9 lines
303 B
JavaScript

const { RegtestUtils } = require('regtest-client')
const bitcoin = require('../..')
const APIPASS = process.env.APIPASS || 'satoshi'
const APIURL = process.env.APIURL || 'https://regtest.bitbank.cc/1'
const regtestUtils = new RegtestUtils(bitcoin, { APIPASS, APIURL })
module.exports = regtestUtils;