Skip to content
Open
Show file tree
Hide file tree
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
26 changes: 25 additions & 1 deletion templates/minikit-nextjs/.template.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
NEXT_PUBLIC_PROJECT_NAME="template-next-basic"
# ==============================================================
# OnchainKit MiniKit Next.js Template — Environment Configuration
# ==============================================================
# Copy this file to .env.local and fill in your values.
# Never commit .env.local — it is already in .gitignore.
# ==============================================================

# Your project name — used as the <title> in layout.tsx.
NEXT_PUBLIC_PROJECT_NAME="my-minikit-app"

# OnchainKit API key — get yours free at https://portal.cdp.coinbase.com/
# Required for OnchainKit components (wallet, identity, MiniKit, etc.).
NEXT_PUBLIC_ONCHAINKIT_API_KEY=""

# Canonical URL of your app (no trailing slash).
# Used for MiniKit frame metadata and notification proxying.
# In production this is set automatically via VERCEL_URL;
# set it here for local development.
# Example: http://localhost:3000
NEXT_PUBLIC_URL=""

# --------------------------------------------------------------
# Optional: WalletConnect Project ID
# Required only if you add WalletConnect support via wagmi.
# Create a project at https://cloud.walletconnect.com/
# --------------------------------------------------------------
# NEXT_PUBLIC_WC_PROJECT_ID=""
30 changes: 29 additions & 1 deletion templates/onchainkit-nextjs/.template.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
NEXT_PUBLIC_PROJECT_NAME="template-next-basic"
# ==============================================================
# OnchainKit Next.js Template — Environment Configuration
# ==============================================================
# Copy this file to .env.local and fill in your values.
# Never commit .env.local — it is already in .gitignore.
# ==============================================================

# Your project name — used as the <title> in layout.tsx.
NEXT_PUBLIC_PROJECT_NAME="my-onchain-app"

# OnchainKit API key — get yours free at https://portal.cdp.coinbase.com/
# Required for OnchainKit components (wallet, identity, swap, etc.).
NEXT_PUBLIC_ONCHAINKIT_API_KEY=""

# --------------------------------------------------------------
# Optional: WalletConnect Project ID
# Required only if you add WalletConnect support via wagmi.
# Create a project at https://cloud.walletconnect.com/
# --------------------------------------------------------------
# NEXT_PUBLIC_WC_PROJECT_ID=""

# --------------------------------------------------------------
# Optional: Custom RPC URL
# The template targets Base Mainnet by default (rootProvider.tsx).
# To develop against Base Sepolia testnet, replace with:
# https://sepolia.base.org
# Or use a private RPC from Alchemy / QuickNode / Infura for
# higher rate limits in production.
# --------------------------------------------------------------
# NEXT_PUBLIC_RPC_URL="https://mainnet.base.org"