From 133cb3bab417533d249401f1d9c349087b68bce7 Mon Sep 17 00:00:00 2001 From: Chummy-debug Date: Wed, 29 Jul 2026 17:57:48 +0100 Subject: [PATCH] fix: wire contract addresses and env vars from NEXT_PUBLIC_* with testnet defaults --- frontend/.env.example | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/frontend/.env.example b/frontend/.env.example index b902a17..b7f4d3d 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -6,7 +6,7 @@ NEXT_PUBLIC_NETWORK=TESTNET # Soroban RPC endpoint used for transaction simulation and submission. -NEXT_PUBLIC_SOROBAN_RPC_URL=https://your-soroban-rpc.example.com +NEXT_PUBLIC_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org # Stellar network passphrase used when signing transactions. NEXT_PUBLIC_STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015" @@ -25,3 +25,22 @@ NEXT_PUBLIC_MARKETPLACE_CONTRACT_ID=CCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Token contract ID for the in-app payment/reward asset. NEXT_PUBLIC_TOKEN_CONTRACT_ID=CCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX05 + +# Horizon URL for account and transaction queries. +NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org + +# Transaction tunables. +NEXT_PUBLIC_TX_TIMEOUT=30 +NEXT_PUBLIC_BASE_FEE=100 + +# Points-to-AMT conversion threshold (points per 1 AMT). +NEXT_PUBLIC_POINTS_PER_AMT=1000 + +# Leaderboard pagination limit. +NEXT_PUBLIC_LEADERBOARD_LIMIT=50 + +# Polling interval when waiting for a transaction to complete (ms). +NEXT_PUBLIC_POLL_INTERVAL_MS=1000 + +# Tick interval used by the accrual counter (ms). +NEXT_PUBLIC_COUNTER_TICK_MS=1000