backend/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NODE_ENV
PORT
LOG_LEVEL
STELLAR_NETWORK
STELLAR_RPC_URL
STELLAR_NETWORK_PASSPHRASE
CONTRACT_ID
Service Registry contract (deploy from contract/)
AGENTS_CONTRACT_ID
Agent Credit Scoring contract (deploy from contract/agents/)
SERVER_STELLAR_ADDRESS
Server Stellar keypair (receives x402 payments)
SERVER_STELLAR_SECRET
secret
FACILITATOR_URL
SEARCH_PRICE
WEATHER_PRICE
BRAVE_API_KEY
secret
CORS_ORIGIN
Comma-separated list of allowed CORS origins (e.g. http://localhost:3000,https://app.example.com)
JSON_BODY_LIMIT
JSON body size limit (default 100kb)
USDC_CONTRACT_ID
DEMO_AGENT_1_SECRET
secret
Optional: pre-funded demo agent secrets for seed-agents script If omitted, seed script generates ephemeral random keypairs
DEMO_AGENT_2_SECRET
secret
DEMO_AGENT_3_SECRET
secret
brew install flyctl && fly launch --from https://github.com/anonfedora/lodestar
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/anonfedora/lodestar
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/anonfedora/lodestar