proofchain/packages/web/.env.example
caelum0x d49c8fd7ee feat: wire app to live Ethereum Sepolia deployment (chainId 11155111)
- shared: Ethereum Sepolia chain + addresses load from deployments/sepolia.json (default)
- web/agent/api: default network -> Sepolia, RPC config; .env.example updated
- typecheck green across shared/web/agent/api

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-01 14:31:31 +03:00

30 lines
1.5 KiB
Plaintext

# ─────────────────────────────────────────────────────────────
# @proofchain/web — environment variables
# Copy to `.env.local` and fill in. All are exposed to the browser
# (NEXT_PUBLIC_ prefix) — NEVER put private keys or secrets here.
# ─────────────────────────────────────────────────────────────
# WalletConnect Cloud project id (https://cloud.walletconnect.com).
# Required for RainbowKit / WalletConnect wallets.
NEXT_PUBLIC_WALLETCONNECT_ID=
# Base URL of the @proofchain/agent verification API.
NEXT_PUBLIC_AGENT_API_URL=http://localhost:8080
# Base URL of the @proofchain/api platform backend (batches, financing,
# analytics, etc.). Consumed by src/lib/api.ts. Public — no secrets.
NEXT_PUBLIC_API_URL=http://localhost:8081
# Target chain id. ProofChain runs LIVE on Ethereum Sepolia (11155111).
NEXT_PUBLIC_CHAIN_ID=11155111
# Optional: block number the contracts were deployed at. Used as the
# `fromBlock` when back-filling historical events for the verifier
# dashboard. Leave empty to scan from genesis (slower on public RPC).
NEXT_PUBLIC_DEPLOY_BLOCK=
# Optional: override the JSON-RPC endpoint used for reads. When empty the
# app uses the public Ethereum Sepolia RPC bundled with viem.
# Recommended: https://ethereum-sepolia-rpc.publicnode.com
NEXT_PUBLIC_RPC_URL=