forked from StellarCheckMate/Checkmate-Escrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (40 loc) · 1.77 KB
/
Copy path.env.example
File metadata and controls
47 lines (40 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
37
38
39
40
41
42
43
44
45
46
47
STELLAR_NETWORK=testnet
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
# Deployment (see scripts/deploy_testnet.sh)
DEPLOYER_KEYPAIR=deployer
ORACLE_ADMIN=
ESCROW_ADMIN=
CONTRACT_ESCROW=
CONTRACT_ORACLE=
LICHESS_API_TOKEN=
# Chess.com Oracle is planned for v1.1 and not yet implemented
CHESSDOTCOM_API_KEY=
# Oracle service signing key — hex-encoded 32-byte ed25519 seed used to sign
# submit_result transactions. Generate one with: openssl rand -hex 32
# The corresponding G-address must be set as the escrow contract's oracle
# (see docs/oracle.md). Never commit a real key.
ORACLE_SIGNING_KEY=
ORACLE_QUEUE_DIR=./oracle-queue
ORACLE_POLL_INTERVAL_SECS=30
ORACLE_MAX_RETRIES=5
ORACLE_RETRY_BASE_DELAY_SECS=10
# How often (seconds) the reconciliation task re-scans the escrow contract's
# active matches for ones missing a result and enqueues them.
ORACLE_RECONCILIATION_INTERVAL_SECS=60
# RPC URL used by the oracle service specifically. Defaults to the local
# stellar-standalone container when running via docker-compose.
ORACLE_RPC_URL=http://localhost:8000/soroban/rpc
VITE_STELLAR_NETWORK=testnet
VITE_STELLAR_RPC_URL=https://soroban-testnet.stellar.org
# Event indexer — shared API response cache.
# Optional: leave unset to use a process-local cache with the same TTLs.
# Set it when running more than one indexer replica so that one replica's
# cache invalidation is seen by all of them.
REDIS_URL=redis://localhost:6379
# Event indexer / API server — structured JSON logging.
# LOG_LEVEL sets the service's own log level (error, warn, info, debug, trace).
LOG_LEVEL=info
# RUST_LOG overrides per-module log levels using `tracing-subscriber`'s
# EnvFilter syntax, e.g. `RUST_LOG=event_indexer=debug,tower_http=debug`.
# Leave unset to use LOG_LEVEL for the whole service.
RUST_LOG=