forked from harystyleseze/careguard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
71 lines (57 loc) · 2.5 KB
/
Copy path.env.example
File metadata and controls
71 lines (57 loc) · 2.5 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
# =============================================================================
# CareGuard Environment Configuration
# =============================================================================
# Copy to .env and fill in your values: cp .env.example .env
# --- Stellar Network ---
STELLAR_NETWORK=testnet
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
# --- Wallets ---
# Generate all wallets with: npm run setup
# The setup script outputs keys to paste here.
# Agent wallet (the AI agent's wallet — fund with testnet USDC)
AGENT_SECRET_KEY=S...
AGENT_PUBLIC_KEY=G...
# Caregiver wallet
CAREGIVER_SECRET_KEY=S...
CAREGIVER_PUBLIC_KEY=G...
# Pharmacy recipient wallets (receive USDC for medication payments)
PHARMACY_1_SECRET_KEY=S...
PHARMACY_1_PUBLIC_KEY=G...
PHARMACY_2_SECRET_KEY=S...
PHARMACY_2_PUBLIC_KEY=G...
PHARMACY_3_SECRET_KEY=S...
PHARMACY_3_PUBLIC_KEY=G...
# Bill provider wallet (receives USDC for bill payments)
BILL_PROVIDER_SECRET_KEY=S...
BILL_PROVIDER_PUBLIC_KEY=G...
# --- x402 Facilitator (OpenZeppelin on Stellar testnet) ---
# Generate API key at: https://channels.openzeppelin.com/testnet/gen
OZ_FACILITATOR_API_KEY=
X402_FACILITATOR_URL=https://channels.openzeppelin.com/x402/testnet
# --- Pharmacy Pricing Provider ---
# Options: static (default, 5 drugs), goodrx (500+ drugs), costco (500+ drugs)
PHARMACY_PRICING_PROVIDER=static
# --- MPP (Machine Payments Protocol) ---
# Shared secret for MPP credential signing. Generate with: openssl rand -hex 32
MPP_SECRET_KEY=
# --- LLM API (any OpenAI-compatible provider) ---
# Groq (free tier): LLM_BASE_URL=https://api.groq.com/openai/v1
# OpenRouter: LLM_BASE_URL=https://openrouter.ai/api/v1
# OpenAI: LLM_BASE_URL=https://api.openai.com/v1
LLM_BASE_URL=https://api.groq.com/openai/v1
LLM_API_KEY=
LLM_MODEL=llama-3.3-70b-versatile
# --- USDC on Stellar Testnet ---
USDC_ISSUER=GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5
USDC_SAC=CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA
# --- Server Port ---
# Unified server runs all services on one port
PORT=3004
# --- Service URLs (agent tools connect to these — same server in unified mode) ---
PHARMACY_API_URL=http://localhost:3004
BILL_AUDIT_API_URL=http://localhost:3004
DRUG_INTERACTION_API_URL=http://localhost:3004
PHARMACY_PAYMENT_URL=http://localhost:3004
# --- Dashboard (set in dashboard/.env.local or Vercel env vars) ---
# NEXT_PUBLIC_API_URL=http://localhost:3004 # local dev
# NEXT_PUBLIC_API_URL=https://your-app.onrender.com # production