Files
lp-terminal_github/.env.example
T
labrinyang 4e317eff6d LP TERMINAL — terminal-style LP frontend for Robinhood Chain
Static SPA over UP33 (ve(3,3)) + the official Uniswap v2/v3 deployments:
browse and add liquidity across all three, manage CL/v2 positions, one-token
ZAP adds, aggregator vs native swaps, and LP-based limit orders. Ships with a
zero-dependency pool indexer for uniswap discovery.

Browser-wallet signing only; no key material anywhere.
2026-07-17 19:10:30 +08:00

30 lines
1.5 KiB
Bash

# LP TERMINAL — copy to `.env` in the REPO ROOT (next to package.json).
# Vite reads it via envDir/envPrefix (see vite.config.ts); the indexer reads
# `RPC` from the same file. Every key here is OPTIONAL — with no .env at all
# the app runs against the chain's public RPC and the public Kyber aggregator.
# Private JSON-RPC URL for Robinhood Chain (chainId 4663), e.g. a provider URL
# with its key path. SECRET: Vite BAKES this into the JS bundle, so set it only
# for personal/local builds. A build you serve publicly must leave RPC unset —
# it then reads through same-origin /rpc, or falls back to the public RPC.
# Unset -> https://rpc.mainnet.chain.robinhood.com (keyless, slower).
RPC=
# KyberSwap aggregator base. Absolute URL = browser calls Kyber directly.
# A path like /kyber = route through your own same-origin reverse proxy.
KYBERSWAP_AGGREGATOR_API_BASE_URL=https://aggregator-api.kyberswap.com
KYBERSWAP_CHAIN=robinhood
# WHITELIST: the only address swap calldata is ever sent to. The app hard-fails
# a quote whose routerAddress differs from this. Change only if Kyber migrates.
KYBERSWAP_ROUTER_ADDRESS=0x6131B5fae19EA4f9D964eAc0408E4408b66337b5
# Optional platform fee on Kyber swaps, charged on the output token and paid by
# the Kyber router. BOTH must be set to activate; leave blank for no fee.
# KYBERSWAP_FEE_BPS=10
# KYBERSWAP_FEE_RECEIVER=0x...
# Optional: only WalletConnect QR pairing needs this. Injected wallets
# (MetaMask / Rabby / OKX) work without it. Get one at cloud.walletconnect.com
# VITE_WALLETCONNECT_PROJECT_ID=