2026-01-20 08:34:04 -07:00
|
|
|
# START INFRASTRUCTURE SETUP
|
|
|
|
|
|
|
|
|
|
# Full Node Connection
|
2026-03-10 15:25:38 -04:00
|
|
|
export RPC_BASEURL=http://172.17.0.1:8332
|
|
|
|
|
export RPC_USERNAME=bitcoin
|
|
|
|
|
export RPC_PASSWORD=password
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# Fulcrum Indexer
|
2026-03-10 15:25:38 -04:00
|
|
|
export FULCRUM_API=http://172.17.0.1:3001/v1
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# SLP Indexer
|
2026-03-10 15:25:38 -04:00
|
|
|
export SLP_INDEXER_API=http://localhost:5010
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# REST API URL for wallet operations
|
2026-03-10 15:25:38 -04:00
|
|
|
export LOCAL_RESTURL=http://localhost:5942/v6
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# END INFRASTRUCTURE SETUP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# START ACCESS CONTROL
|
|
|
|
|
|
2026-03-10 15:25:38 -04:00
|
|
|
export PORT=5942
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# x402 payments required to access this API?
|
2026-03-10 15:25:38 -04:00
|
|
|
export X402_ENABLED=true
|
|
|
|
|
export SERVER_BASE_ADDRESS=0xd32585CE60815654C50CAf350e18de8096061e63
|
2026-03-18 20:26:01 -04:00
|
|
|
export X402_PRICE_USDC=0.1
|
2026-03-10 15:25:38 -04:00
|
|
|
|
2026-03-23 10:09:13 -07:00
|
|
|
# Network configuration (CAIP-2 format required by CDP)
|
|
|
|
|
# Use 'eip155:8453' for Base mainnet
|
|
|
|
|
# Use 'eip155:84532' for Base Sepolia (testnet)
|
|
|
|
|
export x402_NETWORK=eip155:8453
|
|
|
|
|
|
|
|
|
|
# Facilitator URL
|
|
|
|
|
# For Coinbase CDP (recommended): https://api.cdp.coinbase.com/platform/v2/x402
|
|
|
|
|
# For custom/local facilitator: http://localhost:4022
|
|
|
|
|
export x402_FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402
|
|
|
|
|
|
|
|
|
|
# CDP API Credentials (required when using CDP facilitator)
|
|
|
|
|
# Get these from https://cdp.coinbase.com - API Keys section
|
|
|
|
|
export FACILITATOR_KEY_ID=your_key_id_here
|
|
|
|
|
export FACILITATOR_SECRET_KEY=your_secret_key_here
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# Basic Authentication required to access this API?
|
2026-03-10 15:25:38 -04:00
|
|
|
export USE_BASIC_AUTH=true
|
|
|
|
|
export BASIC_AUTH_TOKEN=some-random-token
|
2026-01-20 08:34:04 -07:00
|
|
|
|
|
|
|
|
# END ACCESS CONTROL
|
2025-11-23 09:58:08 -08:00
|
|
|
|
2026-03-28 19:23:10 -07:00
|
|
|
# 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
|
|
|
|
|
|