feat: add CoinGecko API key support with env-based attribution and docs updates

This commit is contained in:
2026-03-08 18:24:33 +01:00
parent 3c158963a5
commit 82b676d9c5
4 changed files with 78 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
# No API keys are required for the default setup.
# Optional: CoinGecko API key (server-side only).
# Preferred:
# COINGECKO_PRO_API_KEY=
# or
# COINGECKO_DEMO_API_KEY=
#
# Fallback generic option:
# COINGECKO_API_KEY=
# COINGECKO_API_KEY_TYPE=demo # demo | pro
#
# Optional: override the internal API route base when deploying behind a proxy.
# NEXT_PUBLIC_API_BASE_URL=