-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
54 lines (47 loc) · 2.38 KB
/
Copy path.env.example
File metadata and controls
54 lines (47 loc) · 2.38 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
51
52
53
54
# Supabase (auth + order persistence)
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
# Service-role (secret) key. Server-only - never expose to the browser.
# Used to auto-create the demo admin user on boot. Run `supabase status` to get it.
SUPABASE_SECRET_KEY=
# Arc Testnet
# Chain ID 5042002. RPC defaults to the public endpoint if unset.
NEXT_PUBLIC_ARC_RPC_URL=https://rpc.testnet.arc.network
# Wallet connect (RainbowKit / WalletConnect)
# Project ID from https://cloud.reown.com. Required for QR / mobile
# connectors. Injected wallets (MetaMask, etc.) work without it.
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
# Circle Developer-Controlled Wallets (operator backend)
# BACKEND ONLY. Never expose to the browser, never commit real values.
# Register the entity secret first:
# https://developers.circle.com/wallets/dev-controlled/register-entity-secret
CIRCLE_API_KEY=
CIRCLE_ENTITY_SECRET=
# Escrow contracts on Arc (deployed via SCP)
# Leave blank - `npm run setup` writes all three addresses here on success.
# Source/ABIs pinned in contracts/ (see contracts/README.md).
# - TOKEN_COLLECTOR pulls the shopper's signed funds into escrow (authorize).
# - REFUND_COLLECTOR pulls operator funds back to the payer (refund); setup
# also grants it a standing USDC + EURC allowance from the operator wallet.
NEXT_PUBLIC_ESCROW_ADDRESS=
NEXT_PUBLIC_TOKEN_COLLECTOR_ADDRESS=
NEXT_PUBLIC_REFUND_COLLECTOR_ADDRESS=
# Deployer wallet (Developer-Controlled) for `npm run setup`.
# Leave blank on first run - the script creates a wallet and writes these IDs
# here so reruns reuse it. Fund the wallet address from faucet.circle.com.
DEPLOYER_WALLET_SET_ID=
DEPLOYER_WALLET_ID=
# Operator + merchant wallets (Developer-Controlled) for checkout.
# Leave blank - `npm run setup` creates them and writes these back.
# The operator submits every protocol op and sponsors Arc gas (USDC), so its
# address must hold gas; the merchant is the receiver of captured funds. The
# operator address must match the wallet behind OPERATOR_WALLET_ID.
OPERATOR_WALLET_ID=
OPERATOR_ADDRESS=
MERCHANT_WALLET_ID=
MERCHANT_ADDRESS=
# SCP webhook secret (optional, but recommended in production).
# Set to any strong random string, then register it when creating the SCP
# event-monitoring subscription via the Circle API. The webhook handler at
# POST /api/webhooks/payments will verify the HMAC-SHA256 signature once set.
WEBHOOK_SECRET=