Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
christroutner committed Jul 28, 2020
2 parents 2358737 + 01b9e80 commit 8052fca
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docker/mainnet/start-local-mainnet.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

# test

# Full node
export RPC_BASEURL=http://172.17.0.1:8332/
export RPC_USERNAME=bitcoin
export RPC_PASSWORD=password
export NETWORK=mainnet

# SLPDB
export SLPDB_URL=http://172.17.0.1:12300/
export SLPDB_PASS=somelongpassword

# Blockbook Indexer
export BLOCKBOOK_URL=https://172.17.0.1:9131/
# Allow node.js to make network calls to https using self-signed certificate.
export NODE_TLS_REJECT_UNAUTHORIZED=0

# Redis DB
export REDIS_PORT=6379
export REDIS_HOST=172.17.0.1

# JWT Token Secret
export TOKENSECRET=somelongsecretvalue

npm start
24 changes: 24 additions & 0 deletions docker/testnet/start-local-testnet.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

# Full node
export RPC_BASEURL=http://172.17.0.1:18332/
export RPC_USERNAME=bitcoin
export RPC_PASSWORD=password
export NETWORK=testnet

# SLPDB
export SLPDB_URL=http://172.17.0.1:13300/

# Blockbook Indexer
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

# JWT Token Secret
export TOKENSECRET=somelongsecretvalue

npm start
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory holds api docs generated by apidoc.

0 comments on commit 8052fca

Please sign in to comment.