mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api-base.git
synced 2026-09-21 16:52:00 -07:00
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
# START INFRASTRUCTURE SETUP
|
|
|
|
# Full Node Connection
|
|
export RPC_BASEURL=http://172.17.0.1:8332
|
|
export RPC_USERNAME=bitcoin
|
|
export RPC_PASSWORD=password
|
|
|
|
# Fulcrum Indexer
|
|
export FULCRUM_API=http://172.17.0.1:3001/v1
|
|
|
|
# SLP Indexer
|
|
export SLP_INDEXER_API=http://localhost:5010
|
|
|
|
# REST API URL for wallet operations
|
|
export LOCAL_RESTURL=http://localhost: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
|
|
|
|
export PORT=6100
|
|
|
|
# x402 payments required to access this API?
|
|
export X402_ENABLED=true
|
|
export SERVER_BASE_ADDRESS=0xd32585CE60815654C50CAf350e18de8096061e63
|
|
export X402_PRICE_USDC=0.1
|
|
export x402_NETWORK=base
|
|
export ACTIVE_FACILITATORS=dexter,payai
|
|
export X402_BAZAAR_ENABLED=true
|
|
export PRIMARY_FACILITATOR=cdp
|
|
|
|
# Facilitator: cdp (default) | dexter | payai. Default base URL follows PRIMARY_FACILITATOR unless x402_FACILITATOR_URL is set.
|
|
# export PRIMARY_FACILITATOR=payai
|
|
# Multi-facilitator (CDP + Dexter + PayAI): unset x402_FACILITATOR_URL or use single-facilitator mode only.
|
|
# export ACTIVE_FACILITATORS=cdp,dexter,payai
|
|
# Bazaar discovery on 402 responses (default on)
|
|
# export X402_BAZAAR_ENABLED=true
|
|
# Optional PayAI host override (default https://facilitator.payai.network)
|
|
# export PAYAI_FACILITATOR_URL=https://facilitator.payai.network
|
|
|
|
# Optional: force a specific facilitator base URL (overrides PRIMARY_FACILITATOR URL resolution)
|
|
# export x402_FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402
|
|
|
|
# CDP JWT credentials (required only when using Coinbase CDP)
|
|
export FACILITATOR_KEY_ID=your_key_id_here
|
|
export FACILITATOR_SECRET_KEY=your_secret_key_here
|
|
|
|
# Basic Authentication required to access this API?
|
|
export USE_BASIC_AUTH=true
|
|
export 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
|
|
|