mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api.git
synced 2026-09-21 16:52:00 -07:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# START INFRASTRUCTURE SETUP
|
|
|
|
# Full Node Connection
|
|
RPC_BASEURL=http://172.17.0.1:8332
|
|
RPC_USERNAME=bitcoin
|
|
RPC_PASSWORD=password
|
|
|
|
# Fulcrum Indexer
|
|
FULCRUM_API=http://172.17.0.1:3001/v1
|
|
|
|
# SLP Indexer
|
|
SLP_INDEXER_API=http://172.17.0.1:5020
|
|
|
|
# REST API URL for wallet operations
|
|
LOCAL_RESTURL=http://172.17.0.1:5942/v6
|
|
|
|
# END INFRASTRUCTURE SETUP
|
|
|
|
# Public base URL for apiDoc HTML (set per deployment / subdomain).
|
|
# Applied at container start before `npm run docs`. Example: https://api.example.com
|
|
#APIDOC_URL=https://api.example.com
|
|
|
|
|
|
# START ACCESS CONTROL
|
|
|
|
PORT=5942
|
|
|
|
# x402 payments required to access this API?
|
|
X402_ENABLED=false
|
|
#X402_ENABLED=true
|
|
#SERVER_BCH_ADDRESS=bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
|
|
#FACILITATOR_URL=http://localhost:4345/facilitator
|
|
#X402_PRICE_SAT=200
|
|
|
|
# Basic Authentication required to access this API?
|
|
USE_BASIC_AUTH=false
|
|
#USE_BASIC_AUTH=true
|
|
#BASIC_AUTH_TOKEN=some-random-token
|
|
|
|
# END ACCESS CONTROL
|
|
|
|
# PSF token liquidity price proxy (GET /v6/price/psf). Off by default.
|
|
#PSF_LIQUIDITY_PROXY_ENABLED=true
|
|
#PSF_LIQUIDITY_URL=http://192.168.0.126:5000
|
|
|