-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (15 loc) · 990 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (15 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copy to .env, then: docker compose up --build
# Dashboard will be at http://localhost:3000
# Required. Encrypts the merchant Sign-In-With-Ethereum session cookie (>= 32 chars).
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
SESSION_SECRET=replace-with-a-long-random-string-at-least-32-chars
# Your merchant wallet that receives USDC (used by the demo /api/premium route).
AGENTPAY_PAYTO=0xYourMerchantWallet
# Optional. A private RPC (e.g. Alchemy/Infura) gives full payment history beyond
# the public Base Sepolia 2000-block getLogs limit.
NEXT_PUBLIC_RPC_URL=https://sepolia.base.org
# Admin token for programmatic provisioning (CLI / coding agents). Long random string.
# Generate: node -e "console.log(require('crypto').randomBytes(24).toString('hex'))"
AGENTPAY_ADMIN_TOKEN=replace-with-a-long-random-admin-token
# Endpoint the SDK / CLI / button hit. Your dashboard URL for self-host, or the cloud.
AGENTPAY_API_URL=http://localhost:3000