-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 1.77 KB
/
Copy path.env.example
File metadata and controls
36 lines (29 loc) · 1.77 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
VITE_PRIVATE_KEY=your_wallet_private_key
# ── 0G Chain & Storage ──────────────────────────────────
ZG_PRIVATE_KEY=your_wallet_private_key
ZG_NETWORK=mainnet
# ── 0G Compute — Router API (default) ───────────────────
# NOTE: Router mode is an OpenAI-compatible HTTP call. It performs NO TEE
# attestation — responses are reported as `verified: false`. Use the direct
# broker below if you need attested inference.
ZG_CHAT_API_KEY=your_0g_router_api_key
ZG_CHAT_BASE_URL=https://router-api.0g.ai/v1
ZG_CHAT_MODEL=0GM-1.0-35B-A3B
# ZG_CHAT_MODEL=minimax-m3 # (Free model option on 0G Compute!)
# ── 0G Compute — Direct Broker (TEE-attested) ───────────
# Setting this INSTEAD of ZG_CHAT_API_KEY/ZG_CHAT_BASE_URL routes inference
# through the 0G serving broker, which requests and verifies a TEE attestation.
# ZG_CHAT_PROVIDER=your_provider_address
PORT=3001
# ── Security ────────────────────────────────────────────
# Required for POST /api/registry/anchor. That endpoint signs 0G Chain
# transactions with ZG_PRIVATE_KEY, so it is fail-closed: if this is unset
# the endpoint returns 503 rather than accepting anonymous calls.
# Generate with: openssl rand -hex 32
MEMORIA_API_KEY=
# Global ceiling on server-signed on-chain writes per UTC day. Backstop
# against a drained wallet if rate limits or the API key are evaded.
MAX_DAILY_ANCHORS=200
# ── Waitlist & Marketing ────────────────────────────────
WAITLIST_GOOGLE_SHEET_URL=your_google_sheets_webhook_url
RESEND_API_KEY=your_resend_api_key