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
18 changes: 16 additions & 2 deletions templates/minikit-nextjs/.template.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
NEXT_PUBLIC_PROJECT_NAME="template-next-basic"
NEXT_PUBLIC_ONCHAINKIT_API_KEY=""
# =============================================================================
# MiniKit Template Environment Configuration
# =============================================================================
# Copy this file to .env.local and fill in your values:
# cp .template.env .env.local
#
# MiniKit enables Farcaster Mini App integration on Base.
# =============================================================================

# Project name displayed in the app
NEXT_PUBLIC_PROJECT_NAME="My MiniKit App"

# OnchainKit API key - Required for Swap, Fund, and other API features
# Get yours at: https://onchainkit.xyz
NEXT_PUBLIC_ONCHAINKIT_API_KEY=*** App URL - Required for Farcaster Mini App manifest
# This should be your deployed app URL (e.g., https://myapp.vercel.app)
NEXT_PUBLIC_URL=""
44 changes: 42 additions & 2 deletions templates/onchainkit-nextjs/.template.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
NEXT_PUBLIC_PROJECT_NAME="template-next-basic"
NEXT_PUBLIC_ONCHAINKIT_API_KEY=""
# =============================================================================
# OnchainKit Template Environment Configuration
# =============================================================================
# Copy this file to .env.local and fill in your values:
# cp .template.env .env.local
#
# For Base Sepolia testnet development:
# 1. Get an OnchainKit API key at https://onchainkit.xyz
# 2. Set up a Coinbase Developer Platform (CDP) API key at https://portal.cdp.coinbase.com
# =============================================================================

# Project name displayed in the app
NEXT_PUBLIC_PROJECT_NAME="My Base App"

# OnchainKit API key - Required for Swap, Fund, and other API features
# Get yours at: https://onchainkit.xyz
NEXT_PUBLIC_ONCHAINKIT_API_KEY=

# =============================================================================
# OPTIONAL: Network Configuration
# =============================================================================
# Base Sepolia testnet is used by default for development.
# For production, ensure your contracts are deployed to Base mainnet (chain ID 8453).
#
# Base Sepolia RPC (default, no key needed):
# https://sepolia.base.org
# Base Mainnet RPC:
# https://mainnet.base.org
# =============================================================================

# =============================================================================
# OPTIONAL: WalletConnect Project ID
# Required if you want WalletConnect QR code support
# Get yours at: https://cloud.walletconnect.com
# =============================================================================
# NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=

# =============================================================================
# OPTIONAL: Coinbase Commerce
# For accepting crypto payments in your app
# =============================================================================
# NEXT_PUBLIC_COINBASE_COMMERCE_APP_ID=