Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions templates/onchainkit-nextjs/.template.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# ==============================================================================
# OnchainKit Next.js template — environment configuration
# ==============================================================================
# Copy this file to `.env.local` before running the app:
# cp .template.env .env.local
#
# Never commit `.env.local` to version control.
# ==============================================================================

# -----------------------------------------------------------------------------
# Project
# -----------------------------------------------------------------------------
# Display name used in the app layout metadata.
NEXT_PUBLIC_PROJECT_NAME="template-next-basic"

# -----------------------------------------------------------------------------
# OnchainKit
# -----------------------------------------------------------------------------
# API key from https://portal.cdp.coinbase.com/ (OnchainKit / Developer Platform).
NEXT_PUBLIC_ONCHAINKIT_API_KEY=""

# -----------------------------------------------------------------------------
# Base Sepolia (local development)
# -----------------------------------------------------------------------------
# The starter template defaults to Base mainnet in `app/rootProvider.tsx`.
# For Base Sepolia testnet development, switch `chain` to `baseSepolia` from
# `wagmi/chains` and use a Sepolia RPC endpoint, for example:
#
# NEXT_PUBLIC_RPC_URL=https://sepolia.base.org
#
# Public Base Sepolia RPC: https://sepolia.base.org
# Public Base mainnet RPC: https://mainnet.base.org
#
# Third-party providers (Alchemy, Infura, QuickNode) are recommended for
# production workloads that need higher rate limits.
NEXT_PUBLIC_RPC_URL=https://sepolia.base.org