forked from monad-developers/monad-blitz-seoul
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
50 lines (37 loc) · 1.55 KB
/
example.env
File metadata and controls
50 lines (37 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ============================================================
# Contract Deployment (Foundry)
# Run from: contracts/
# forge script script/Deploy.s.sol \
# --rpc-url $MONAD_RPC_URL \
# --private-key $PRIVATE_KEY \
# --broadcast
# ============================================================
# Deployer private key (0x-prefixed)
PRIVATE_KEY=0x...
# Deployer wallet address (must match PRIVATE_KEY)
DEPLOYER_ADDRESS=0x...
# Optional: defaults to DEPLOYER_ADDRESS if not set
PLATFORM_WALLET=0x...
TREASURY_WALLET=0x...
# Monad Testnet RPC (default)
MONAD_RPC_URL=https://testnet-rpc.monad.xyz
# ============================================================
# Frontend (Next.js) — prefix NEXT_PUBLIC_ for client-side
# ============================================================
# PromptRegistry contract address after deployment
NEXT_PUBLIC_REGISTRY_ADDRESS=0x...
# WalletConnect project ID — get one at https://cloud.walletconnect.com
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
# ============================================================
# Backend / API Routes
# ============================================================
# MongoDB connection string
MONGODB_URI=mongodb://localhost:27017/prompthero
# Replicate API token — https://replicate.com/account/api-tokens
REPLICATE_API_TOKEN=r8_...
# Anthropic API key — https://console.anthropic.com
ANTHROPIC_API_KEY=sk-ant-...
# x402 facilitator URL (default uses molandak.org)
FACILITATOR_URL=https://x402-facilitator.molandak.org
# Address that receives x402 payments (your server wallet)
PAY_TO_ADDRESS=0x...