-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 2.75 KB
/
Copy path.env.example
File metadata and controls
42 lines (36 loc) · 2.75 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
# ─── App ─────────────────────────────────────────────────────────────────────
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_APP_DOMAIN=localhost:3000
# ─── Database ────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://user:password@localhost:5432/newfolder
# ─── Auth ────────────────────────────────────────────────────────────────────
# Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
# ─── Wallet / Web3 ───────────────────────────────────────────────────────────
# Get a project ID at https://cloud.walletconnect.com
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
# Set to "true" to connect to the 0G Galileo testnet instead of mainnet
NEXT_PUBLIC_IS_TESTNET=false
# Deployed CreditVault contract address
NEXT_PUBLIC_CREDIT_VAULT_ADDRESS=
# ─── 0G Storage Network ──────────────────────────────────────────────────────
ZG_EVM_RPC=https://evmrpc-testnet.0g.ai
ZG_INDEXER_RPC=https://indexer-storage-testnet-turbo.0g.ai
# Required: private key of the treasury wallet (pays on-chain storage & compute fees)
ZG_PRIVATE_KEY=
# Optional: credit fee charged per byte uploaded (in wei). Default 0 = free on testnet.
ZG_UPLOAD_FEE_PER_BYTE=0
# ─── 0G Compute Network ──────────────────────────────────────────────────────
# AI inference provider contract address
ZG_COMPUTE_PROVIDER_ADDRESS=
# Optional: separate provider for vision/multimodal models (falls back to above)
ZG_COMPUTE_VISION_PROVIDER_ADDRESS=
# Auto-refill: deposit when ledger balance drops below this threshold (in A0GI)
ZG_LEDGER_REFILL_THRESHOLD_OG=1
# Auto-refill: top up to this amount (in A0GI)
ZG_LEDGER_REFILL_TARGET_OG=5
# ─── Pricing ─────────────────────────────────────────────────────────────────
# Credits charged per 100 characters of chat context (default: 1)
CHAT_PRICE_PER_100_CHARS=1