diff --git a/start-dev-example.sh b/start-dev-example.sh index 12f28c8..94d499f 100755 --- a/start-dev-example.sh +++ b/start-dev-example.sh @@ -33,6 +33,8 @@ export SLP_API_URL=http://10.0.0.5:5001/ # Mainnet Fulcrum / ElectrumX export FULCRUM_URL=192.168.0.6 export FULCRUM_PORT=50002 +# Fulcrum API (used for /v5+ routes) +export FULCRUM_API=http://172.17.0.1:3001/v1/ # Redis DB - Used for rate limiting - customize to your own Redis installation. export REDIS_PORT=6379 @@ -53,6 +55,8 @@ export PRO_PASS=somerandomepassword:someotherrandompassword:aThirdPassword # that originate froma domain on the whitelist. export WHITELIST_DOMAINS=fullstack.cash,psfoundation.cash,torlist.cash +# Uncomment the line below if you do not want to use rate limits +#export export DO_NOT_USE_RATE_LIMITS=1 # Rate Limits. Numbers are divided into 1000. e.g. 10000 / 500 = 20 RPM for ANON. # Requests use the ANON rate limit if they fail to pass in a JWT token. # ANON = 20 requests per minute (RPM) @@ -66,4 +70,7 @@ export LOG_MAX_SIZE=1m #5d means store no more than 5 days export LOG_MAX_FILES=5d +# (Optional) if using a bcash node, set this variable. Otherwise leave it as-is. +export BCASH_SERVER=http://localhost + npm start