Files
bch-api/start-dev-example.sh
T

18 lines
406 B
Bash
Raw Normal View History

2019-08-11 09:36:20 -07:00
#!/bin/bash
2019-12-08 08:28:00 -08:00
# Full node
2019-08-11 09:36:20 -07:00
export RPC_BASEURL=http://<full node ip>:8332/
export RPC_USERNAME=<RPC username>
export RPC_PASSWORD=<RPC password>
export NETWORK=mainnet
2019-12-08 08:28:00 -08:00
# SLPDB
2019-08-11 09:36:20 -07:00
export SLPDB_URL=http://<SLPDB IP>:12300/
2019-12-08 08:28:00 -08:00
# Blockbook
2019-08-11 09:36:20 -07:00
export BLOCKBOOK_URL=https://<Blockbook IP>:9131/
# Allow node.js to make network calls to https using self-signed certificate.
export NODE_TLS_REJECT_UNAUTHORIZED=0
npm start