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

27 lines
639 B
Bash
Raw Normal View History

2019-07-07 13:16:10 -07:00
#!/bin/bash
2019-12-08 08:28:00 -08:00
# Full node
export RPC_BASEURL=http://142.93.13.2:8332/
2019-07-07 13:16:10 -07:00
export RPC_USERNAME=bitcoin
export RPC_PASSWORD=password
export NETWORK=mainnet
2019-12-08 08:28:00 -08:00
# SLPDB
#export SLPDB_URL=https://slpdb.bitcoin.com/
#export SLPDB_URL=http://172.17.0.1:12300/
export SLPDB_URL=https://slpdb2.bchtest.net/
export SLPDB_PASS=owmvgnsksoapwhrnvu
2019-07-07 13:16:10 -07:00
2019-12-08 08:28:00 -08:00
# Blockbook Indexer
export BLOCKBOOK_URL=https://157.230.214.175:9131/
2019-07-07 13:16:10 -07:00
# Allow node.js to make network calls to https using self-signed certificate.
export NODE_TLS_REJECT_UNAUTHORIZED=0
export JWT_AUTH_SERVER=http://172.17.0.1:5001/
2020-02-07 17:55:30 -08:00
# Redis DB
export REDIS_PORT=6379
export REDIS_HOST=172.17.0.1
2019-07-07 13:16:10 -07:00
npm start