-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
54 lines (46 loc) · 2.09 KB
/
.env.example
File metadata and controls
54 lines (46 loc) · 2.09 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
# =====================================================
# ProofPay Backend Configuration
# =====================================================
# Copy this file to .env and fill in your values
# -----------------------------------------------------
# Flare Network Configuration (REQUIRED)
# -----------------------------------------------------
# Mainnet: https://flare-api.flare.network/ext/C/rpc
# Testnet: https://coston2-api.flare.network/ext/C/rpc
FLARE_RPC_URL=https://flare-api.flare.network/ext/C/rpc
# Mainnet: 14, Coston2 Testnet: 114
CHAIN_ID=14
# -----------------------------------------------------
# USDT0 Token Configuration (REQUIRED)
# -----------------------------------------------------
# Flare Mainnet USDT0: 0x0B38e83B86d491735fEaa0a791F65c2B99535396
USDT0_ADDRESS=0x0B38e83B86d491735fEaa0a791F65c2B99535396
# -----------------------------------------------------
# Merchant Configuration (REQUIRED)
# -----------------------------------------------------
# Your merchant wallet address that receives payments
MERCHANT_ADDRESS=0xYourMerchantWalletAddressHere
# -----------------------------------------------------
# Database Configuration (OPTIONAL)
# -----------------------------------------------------
# Defaults to SQLite (dev.db) if not set
DATABASE_URL=sqlite:///./dev.db
# -----------------------------------------------------
# Evidence Anchoring Configuration (OPTIONAL)
# -----------------------------------------------------
# Mainnet contract: 0xb59f0d6077A15a3778C262264a83A54B9ABbdEff
ANCHOR_CONTRACT_ADDR=0xb59f0d6077A15a3778C262264a83A54B9ABbdEff
# ANCHOR_PRIVATE_KEY=0xYourPrivateKeyHere
ANCHOR_ABI_PATH=contracts/EvidenceAnchor.abi.json
# -----------------------------------------------------
# Worker Configuration (OPTIONAL)
# -----------------------------------------------------
CONFIRMATIONS=3
POLL_INTERVAL_SECONDS=10
PROOFPAY_CHUNK_SIZE=25
# -----------------------------------------------------
# API Configuration (OPTIONAL)
# -----------------------------------------------------
ARTIFACTS_DIR=artifacts
WEB_ORIGIN=http://localhost:3000,http://127.0.0.1:3000
LOG_LEVEL=INFO