Repository navigation
Expand file tree
/
Copy pathexample.env
More file actions
93 lines (84 loc) · 3.64 KB
/
Copy pathexample.env
File metadata and controls
93 lines (84 loc) · 3.64 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
## Default/unused values are commented out
# General
APPLICATION_BASE_URL="http://localhost:3000"
MAINNET_RPC_URL="https://rpc.cheqd.net:443"
TESTNET_RPC_URL="https://rpc.cheqd.network:443"
RESOLVER_URL="https://resolver.cheqd.net/1.0/identifiers/"
CORS_ALLOWED_ORIGINS="http://localhost:3000"
# External Veramo KMS Database
ENABLE_EXTERNAL_DB="false"
EXTERNAL_DB_CONNECTION_URL="postgres://<user>:<password>@<host>:<port>/<database>"
EXTERNAL_DB_ENCRYPTION_KEY="<db-encryption-key>"
EXTERNAL_DB_CERT="<path/to/extenal-db-cert>"
# LogTo
ENABLE_AUTHENTICATION="false"
LOGTO_ENDPOINT="http://localhost:3001"
LOGTO_APP_ID="ldfsr...rq432"
LOGTO_APP_SECRET="sdf...sdf"
# Optional: comma-separated IDs of native LogTo apps (e.g. the SDK quickstart login) whose ID tokens are accepted
LOGTO_CLI_APP_IDS=""
LOGTO_M2M_APP_ID="aaaa...ddddd"
LOGTO_M2M_APP_SECRET="aaaa...ddddd"
LOGTO_MANAGEMENT_API="https://default.logto.app/api"
LOGTO_DEFAULT_RESOURCE_URL="http://localhost:3000"
LOGTO_WEBHOOK_SECRET="sdf...sdf"
LOGTO_DEFAULT_ROLE_ID="sdlkfj"
LOGTO_TESTNET_ROLE_ID="asdf"
LOGTO_MAINNET_ROLE_ID="sdklfj"
COOKIE_SECRET="sdf...sdf"
# Provider validation settings
PROVIDER_ENCRYPTION_KEY=your-32-character-hex-key-here
DOCK_MASTER_API_KEY=dock-master-account-key
PARADYM_MASTER_API_KEY=paradym-master-account-key
HOVI_MASTER_API_KEY=hovi-master-account-key
PROVIDER_EXPORT_PASSWORD=password-with-lowercase-uppercase-number-specialchar
# Faucet settings
# Max CHEQ a customer can request via POST /account/faucet per calendar month (UTC)
# FAUCET_MONTHLY_LIMIT_CHEQ="100000"
# Max CHEQ a single testnet address can hold before the faucet stops topping it up (defaults to the monthly limit)
# FAUCET_ADDRESS_CAP_CHEQ="100000"
# Seconds POST /account/faucet caches a customer's Stripe subscription status and plan (0 disables)
# FAUCET_SUBSCRIPTION_CACHE_SECONDS="60"
# Minimum seconds between two POST /account/faucet requests from one customer (0 disables)
# FAUCET_MIN_INTERVAL_SECONDS="10"
# Seconds an unconfirmed faucet quota reservation keeps counting before it is treated as abandoned
# FAUCET_PENDING_TIMEOUT_SECONDS="600"
# Seconds recent requests for an address are subtracted from its room under the address cap
# FAUCET_BALANCE_SETTLE_SECONDS="20"
# Months of faucet request history to keep (0 keeps everything)
# FAUCET_REQUEST_RETENTION_MONTHS="13"
# Seconds to wait for the faucet service to answer before giving up
# FAUCET_REQUEST_TIMEOUT_SECONDS="30"
# FAUCET_URI="https://faucet-api.cheqd.network/credit"
# FAUCET_API_KEY="faucet-api-key"
# FAUCET_ACCESS_CLIENT_ID="cloudflare-access-client-id"
# FAUCET_ACCESS_CLIENT_SECRET="cloudflare-access-client-secret"
# CHEQ market data (CoinGecko) - powers the USD figures in GET /account/balances
# COINGECKO_API_URL="https://api.coingecko.com/api/v3"
# COINGECKO_TOKEN_ID="cheqd-network"
# COINGECKO_API_KEY=""
# CHEQ_USD_RATE_CACHE_TTL="300"
STRIPE_ENABLED="false"
STRIPE_WEBHOOK_SECRET="whs..ade"
STRIPE_SECRET_KEY="sk_zzz..."
STRIPE_BUILD_PLAN_ID="prod....5H"
STRIPE_BASIC_PLAN_ID="prod....BA"
STRIPE_EXPLORER_PLAN_ID="prod....ER"
STRIPE_TEST_PLAN_ID="prod....ST"
# Guard used only by the one-off Stripe plan migration script
STRIPE_MIGRATION_EXPECTED_ACCOUNT_ID="acct_..."
# Verida
ENABLE_VERIDA_CONNECTOR="false"
VERIDA_NETWORK="testnet"
VERIDA_PRIVATE_KEY="akjvncanv....avoa"
POLYGON_PRIVATE_KEY="alnvca...dvncioa"
POLYGON_RPC_URL="https://rpc.ankr.com/polygon_mumbai"
# Without Database
ISSUER_PRIVATE_KEY_HEX="akjvncanv....avoa"
ISSUER_PUBLIC_KEY_HEX="alnvca...dvncioa"
ISSUER_DID="did:cheqd:testnet:afcnoa...adv"
DEFAULT_FEE_PAYER_MNEMONIC="sketch mountain ....."
# TEST_RUNNER
TEST_USER_EMAIL='test@cheqd.io'
TEST_USER_PASSWORD='...'
TEST_USER_API_KEY='caas_...'