Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
79 lines (68 loc) · 4.31 KB
/
Copy path.env.example
File metadata and controls
79 lines (68 loc) · 4.31 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# =============================================================================
# Bear Protocol — Root .env.example
# Copy this file to .env in the relevant package directory and fill in values.
# Each sub-package may also have its own .env.example with package-specific
# notes; this root file lists every variable used across the entire monorepo.
# =============================================================================
# ── Stellar network ───────────────────────────────────────────────────────────
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
# ── Contract addresses (testnet) ──────────────────────────────────────────────
# Circle's canonical testnet USDC SAC on Stellar (from x402-stellar token catalog).
USDC_TOKEN_CONTRACT=CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA
AGENT_IDENTITY_CONTRACT=CAMPXYFZJTIPEVOPOAZPRG5OHXKNBDPGTPRCOIO4LVPGEM4TONPY65A5
AGENTIC_COMMERCE_CONTRACT=CD2KWU7IE74Z2QKVP3FQ67J46XHNMGIDTNKXVWE7ZNVRC7T6UH46GQXE
# ── x402 facilitator ──────────────────────────────────────────────────────────
# Generate via: curl https://channels.openzeppelin.com/testnet/gen
X402_FACILITATOR_URL=https://channels.openzeppelin.com/x402/testnet
X402_FACILITATOR_API_KEY=
# Aliases consumed by seller agents / marcPaywall
FACILITATOR_URL=https://channels.openzeppelin.com/x402/testnet
FACILITATOR_API_KEY=
# ── Agent registry ────────────────────────────────────────────────────────────
REGISTRY_URL=http://localhost:4500
# Optional — leave blank to disable registry auth
REGISTRY_API_KEY=
# ── AI provider ───────────────────────────────────────────────────────────────
# Required by seller-researcher, seller-webbuilder, seller-copywriter, seller-namer.
# Get a free key at https://console.groq.com
GROQ_API_KEY=
# ── Seller agents ─────────────────────────────────────────────────────────────
# Generate with: stellar keys generate seller --network testnet --fund
SELLER_SECRET=
SELLER_PUBKEY=
# Port defaults: webbuilder=4501, copywriter=4502, namer=4503, researcher=4504
SELLER_PORT=4501
# Public-facing base URL; set to ngrok/tunnel URL when exposing locally.
# Example: PUBLIC_URL=https://abc123.ngrok.io
# If unset, defaults to http://localhost:SELLER_PORT
PUBLIC_URL=
# Used by demo/seller-agent.ts
SELLER_SERVICE_PRICE=$0.01
# Per-seller agent identifier (change per seller folder)
AGENT_ID=seller-webbuilder
# ── Buyer agent ───────────────────────────────────────────────────────────────
# Generate with: stellar keys generate buyer --network testnet --fund
BUYER_SECRET=
# Optional polling tuning
BUYER_POLL_BASE_MS=2000
BUYER_POLL_MULTIPLIER=2
BUYER_POLL_MAX_ATTEMPTS=10
BUYER_POLL_CAP_MS=30000
# ── Job ID (seller-agent.ts deliverable submission) ───────────────────────────
JOB_ID=
# ── Dashboard (dashboard/server.ts) ───────────────────────────────────────────
DASHBOARD_PORT=3000
DASHBOARD_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# ── TUI / simulate.ts — 4 seller + 5 buyer accounts ──────────────────────────
# Fund each via https://laboratory.stellar.org/#account-creator?network=test
# then add USDC trustline + balance via https://faucet.circle.com (Stellar Testnet)
SELLER_SECRET_1=
SELLER_SECRET_2=
SELLER_SECRET_3=
SELLER_SECRET_4=
BUYER_SECRET_1=
BUYER_SECRET_2=
BUYER_SECRET_3=
BUYER_SECRET_4=
BUYER_SECRET_5=