2019-07-17 12:19:38 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2019-12-08 08:28:00 -08:00
|
|
|
# Full node
|
2020-03-30 18:56:49 -07:00
|
|
|
export RPC_BASEURL=http://172.17.0.1:18332/
|
2019-07-17 12:19:38 -07:00
|
|
|
export RPC_USERNAME=bitcoin
|
|
|
|
|
export RPC_PASSWORD=password
|
|
|
|
|
export NETWORK=testnet
|
|
|
|
|
|
2019-12-08 08:28:00 -08:00
|
|
|
# SLPDB
|
2020-03-30 18:56:49 -07:00
|
|
|
export SLPDB_URL=http://172.17.0.1:13300/
|
2019-07-17 12:19:38 -07:00
|
|
|
|
2020-03-08 03:58:51 +00:00
|
|
|
# Blockbook Indexer
|
2020-03-30 18:56:49 -07:00
|
|
|
export BLOCKBOOK_URL=https://172.17.0.1:19131/
|
2019-07-17 12:19:38 -07:00
|
|
|
# Allow node.js to make network calls to https using self-signed certificate.
|
|
|
|
|
export NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
|
|
|
|
2020-11-20 08:36:34 -08:00
|
|
|
# Mainnet Fulcrum / ElectrumX
|
|
|
|
|
export FULCRUM_URL=172.17.0.1
|
|
|
|
|
export FULCRUM_PORT=50002
|
|
|
|
|
|
2020-02-07 19:31:55 -08:00
|
|
|
# Redis DB
|
|
|
|
|
export REDIS_PORT=6380
|
|
|
|
|
export REDIS_HOST=172.17.0.1
|
|
|
|
|
|
2020-04-05 08:11:57 -07:00
|
|
|
# JWT Token Secret
|
|
|
|
|
export TOKENSECRET=somelongsecretvalue
|
|
|
|
|
|
2020-11-08 17:13:03 -08:00
|
|
|
# So that bch-api can call bch-js locally.
|
|
|
|
|
export LOCAL_RESTURL=http://127.0.0.1:3000/v3/
|
|
|
|
|
|
|
|
|
|
# slp-api alternative SLP validator.
|
|
|
|
|
export SLP_API_URL=http://10.0.0.5:5001/
|
|
|
|
|
|
2019-07-17 12:19:38 -07:00
|
|
|
npm start
|