Files
bch-api/docker/testnet/start-local-testnet.sh
T

21 lines
487 B
Bash
Raw Normal View History

2019-07-17 12:19:38 -07:00
#!/bin/bash
2019-12-08 08:28:00 -08:00
# Full node
2019-07-17 12:19:38 -07:00
export RPC_BASEURL=http://172.17.0.1:18332/
export RPC_USERNAME=bitcoin
export RPC_PASSWORD=password
export ZEROMQ_PORT=38332
export ZEROMQ_URL=172.17.0.1
export NETWORK=testnet
2019-12-08 08:28:00 -08:00
# SLPDB
#export SLPDB_URL=https://tslpdb.bitcoin.com/
2019-07-17 12:19:38 -07:00
export SLPDB_URL=http://172.17.0.1:13300/
2019-12-08 08:28:00 -08:00
# Blockbook
2019-07-17 12:19:38 -07:00
export BLOCKBOOK_URL=https://172.17.0.1:19131/
# Allow node.js to make network calls to https using self-signed certificate.
export NODE_TLS_REJECT_UNAUTHORIZED=0
npm start