Files
openlaunch/app/.env.example
Kevin Codex 312489a7b4 Initial commit
openlaunch — launch a token. Free. Open source. On Base or Robinhood Chain.
Contracts (LaunchFactory / LaunchLocker / LaunchToken, Foundry), the site (Next.js),
brand assets. No platform fee, liquidity locked forever.
2026-09-07 11:28:24 +08:00

37 lines
1.6 KiB
Bash

# Copy to .env.local for local dev. Never commit real values.
# Public site URL (used in metadata, image URLs, share cards)
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Browser RPCs (the site proxies mainnet reads through /api/rpc; these are for local anvil forks)
NEXT_PUBLIC_RPC_URL_BASE=http://127.0.0.1:8545
NEXT_PUBLIC_RPC_URL_ROBINHOOD=http://127.0.0.1:8546
# Server RPCs (indexer + read proxy). Alchemy works for both chains, but cannot execute Base's B20
# stock tokens — BASE_B20_RPC_URL is the fallback node for those (default: base-rpc.publicnode.com).
BASE_RPC_URL=
ROBINHOOD_RPC_URL=
# BASE_B20_RPC_URL=https://base-rpc.publicnode.com
# Postgres (schema in db/schema.sql; `npm run migrate` applies it idempotently)
DATABASE_URL=postgres://localhost/openlaunch_dev
# Launchpad contracts per chain (same addresses on both chains for the live deployment)
NEXT_PUBLIC_LAUNCH_FACTORY=0x815542E8b392389A1389E22E588E4B62A67Ade72
NEXT_PUBLIC_LAUNCH_LOCKER=0xcd1680D26922fcd9CabFbb8a56bA40C333fD842a
LAUNCH_DEPLOY_BLOCK=50940130
NEXT_PUBLIC_LAUNCH_FACTORY_ROBINHOOD=0x815542E8b392389A1389E22E588E4B62A67Ade72
NEXT_PUBLIC_LAUNCH_LOCKER_ROBINHOOD=0xcd1680D26922fcd9CabFbb8a56bA40C333fD842a
LAUNCH_DEPLOY_BLOCK_ROBINHOOD=55880172
# Indexer: run the in-process poll loop (1) and how many confirmations to wait for
LAUNCH_SYNC_LOOP=1
LAUNCH_SYNC_CONFIRMATIONS=2
# Token logo uploads: "local" stores files in .uploads/ (dev). In production set the Tigris/S3 secrets
# (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ENDPOINT_URL_S3, AWS_REGION, BUCKET_NAME) instead.
IMAGE_STORE=local
# Wallets allowed to moderate posts (comma-separated, lowercase)
ADMIN_WALLETS=