-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (24 loc) · 1.88 KB
/
.env.example
File metadata and controls
31 lines (24 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ─── Stellar Configuration ───────────────────────────────────────────────────
# IMPORTANT: Use TWO different wallets — one for the service (receiver),
# one for the agent (payer). Generate both at https://laboratory.stellar.org
# Fund both with testnet XLM at https://friendbot.stellar.org
# Add USDC trustline to BOTH wallets via Stellar Lab
# Service wallet — receives payments from agents
STELLAR_RECEIVER_ADDRESS=GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Agent wallet — pays for tool access (needs USDC trustline + balance)
STELLAR_PRIVATE_KEY=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ─── x402 Configuration ──────────────────────────────────────────────────────
FACILITATOR_URL=https://x402.org/facilitator
X402_NETWORK=stellar:testnet
# Base URL of this app (REQUIRED — used by agent to call tool endpoints)
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# ─── Supabase Configuration (Optional) ───────────────────────────────────────
# Without these, the app runs in in-memory mode (data resets on restart)
SUPABASE_URL=https://xxxxxxxxxxxxxxxxxxxx.supabase.co
SUPABASE_SERVICE_ROLE_KEY=eyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ─── LLM Provider (one of these is REQUIRED) ──────────────────────────────────────────────────────
# Option A — OpenRouter (FREE to start, no credit card required)
# Sign up at https://openrouter.ai — get a free API key instantly
OPENROUTER_API_KEY=sk-or-...
# Option B — OpenAI (paid)
# OPENAI_API_KEY=sk-...