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

25 lines
551 B
Bash
Executable File

#!/bin/bash
# Full node
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
# SLPDB
#export SLPDB_URL=https://tslpdb.bitcoin.com/
export SLPDB_URL=http://172.17.0.1:13300/
# Blockbook
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
# Redis DB
export REDIS_PORT=6380
export REDIS_HOST=172.17.0.1
npm start