forked from Cylo-Traders/Agrocylo-PIP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 1.6 KB
/
Copy path.env.example
File metadata and controls
34 lines (27 loc) · 1.6 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
# Soroban RPC endpoint used for contract reads/writes and event queries.
# Example (testnet): https://soroban-testnet.stellar.org
VITE_SOROBAN_RPC_URL=
# Network passphrase matching VITE_SOROBAN_RPC_URL. Optional, defaults to the
# public Testnet passphrase ("Test SDF Network ; September 2015").
VITE_SOROBAN_NETWORK_PASSPHRASE=
# Deployed ProductionEscrowContract id (campaign funding, tranches, harvest, disputes).
VITE_PRODUCTION_ESCROW_CONTRACT_ID=
# Deployed RegistryContract id (farmer profiles, campaign metadata, activity log).
VITE_REGISTRY_CONTRACT_ID=
# How many ledgers of history to scan for events on load. Optional, defaults to 120000
# (~1 week at ~5s/ledger). Most public RPC providers only retain events for a limited
# window, so this should stay within your RPC provider's retention period.
VITE_SOROBAN_EVENTS_LOOKBACK_LEDGERS=
# Backend WebSocket gateway URL for real-time campaign updates (server/src/websocket).
# Example (local dev): http://localhost:3000
# Optional — if unset, the app falls back to the existing 30s staleTime polling
# and never opens a socket connection.
VITE_WS_URL=
# Prefer backend-indexed REST data over direct contract reads (see src/lib/api/).
# Optional, defaults to off. Accepts true/1/yes. While off, the API client serves
# local fallback data and makes no network calls. The backend only serves /health
# today, so leave this off until its data endpoints are implemented.
VITE_USE_BACKEND_API=
# Base URL of the backend REST API. Optional, defaults to http://localhost:3000
# (the NestJS server's default port). Only used when VITE_USE_BACKEND_API is on.
VITE_BACKEND_API_URL=