-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (32 loc) · 831 Bytes
/
Copy path.env.example
File metadata and controls
41 lines (32 loc) · 831 Bytes
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
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost/agentpay
# Security
API_KEY_SALT=change-me
SECRET_KEY=change-me
# Blockchain
CHAIN_ID=137
USDC_ADDRESS=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
RPC_URL=https://polygon-rpc.com
PRIVATE_KEY= # Optional: private key for signing transactions (deprecated)
# Key Management
KEY_MANAGEMENT_MODE=mock # mock, kms, non_custodial
KMS_KEY_ID= # AWS KMS Key ID (must be ECC_SECG_P256K1 spec)
KMS_REGION=us-east-1
# Webhooks
WEBHOOK_RETRY_ATTEMPTS=3
WEBHOOK_TIMEOUT=5
WEBHOOK_SIGNING_SECRET=change-me
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS_PER_MINUTE=100
REDIS_URL=redis://localhost:6379
# Idempotency
IDEMPOTENCY_KEY_TTL=86400
# Gas
GAS_PRICE_MULTIPLIER=1.2
MAX_GAS_PRICE_GWEI=500
# Logging
LOG_LEVEL=INFO
LOG_JSON=false
# CORS
CORS_ORIGINS=[]