-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.env.SAMPLE
67 lines (51 loc) · 2.65 KB
/
.env.SAMPLE
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
# Supabase Keys
SUPABASE_SERVICE_ROLE_KEY=<DB_WRITE_ACCESS_KEY>
NEXT_PUBLIC_SUPABASE_URL=<DB_ACCESS_URL>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<DB_ACCESS_KEY>
# Royco Keys
NEXT_PUBLIC_ROYCO_ORIGIN_URL=<ROYCO_ORIGIN_URL> # Same as NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_ROYCO_ORIGIN_KEY=<ROYCO_ORIGIN_KEY> # Same as NEXT_PUBLIC_SUPABASE_ANON_KEY
NEXT_PUBLIC_ROYCO_ORIGIN_ID=<ROYCO_ORIGIN_ID> # Auto-generated id from supabase from "anon_api_keys" table under "private" schema in your supabase instance
# Royco Server URL
NEXT_PUBLIC_ROYCO_SERVER_URL=https://waystar-royco.vercel.app # This will remain fixed
# Web3 Modal Project ID
NEXT_PUBLIC_PROJECT_ID=<YOUR_PROJECT_ID>
# App URL
NEXT_PUBLIC_APP_URL=http://localhost:3000 # Localhost, update for production (without trailing slash)
NEXT_PUBLIC_ENV=development # Set to production for production
# Protector Password
PROTECTOR_PASSWORD=<YOUR_PASSWORD_FOR_FRONTEND_LOCK> # Soft temporary lock, can be bypassed (make sure that it's length is exactly 7 characters, not more, not less)
# Is Local
NEXT_PUBLIC_IS_LOCAL=TRUE # Set to FALSE for production
# Frontend Type
NEXT_PUBLIC_FRONTEND_TYPE=TESTNET # Set to MAINNET for production
# RPC API Keys from Alchemy
NEXT_PUBLIC_RPC_API_KEY_1=https://eth-mainnet.g.alchemy.com/v2/<RPC_ACCESS_KEY> # Sample
NEXT_PUBLIC_RPC_API_KEY_11155111=<RPC_URL>
NEXT_PUBLIC_RPC_API_KEY_42161=<RPC_URL>
NEXT_PUBLIC_RPC_API_KEY_8453=<RPC_URL>
NEXT_PUBLIC_RPC_API_KEY_21000000=<RPC_URL>
NEXT_PUBLIC_RPC_API_KEY_98865=<RPC_URL>
# Api Keys from Etherscan (Note: Mainnet and Testnet share the same key, so just get the Mainnet key and use that same key for its corresponding testnet chain)
ETHERSCAN_API_KEY_1=<EXPLORER_KEY>
ETHERSCAN_API_KEY_11155111=<EXPLORER_KEY>
ETHERSCAN_API_KEY_42161=<EXPLORER_KEY>
ETHERSCAN_API_KEY_8453=<EXPLORER_KEY>
ETHERSCAN_API_KEY_21000000=<EXPLORER_KEY>
ETHERSCAN_API_KEY_98865=<EXPLORER_KEY>
# Frontend Fee Details
NEXT_PUBLIC_FRONTEND_FEE=5000000000000000 # Base fee for the frontend (in Wei) (By default, it's 0.05%) -- Note:10^18 = 100%
NEXT_PUBLIC_FRONTEND_FEE_RECIPIENT=0x85De42e5697D16b853eA24259C42290DaCe35190 # Address to receive the fee (By default, it's the address of Royco Foundation)
# Tenderly Keys
TENDERLY_API_KEY=<YOUR_TENDERLY_ACCESS_KEY>
TENDERLY_ACCOUNT_SLUG=<YOUR_TENDERLY_ACCOUNT_SLUG>
TENDERLY_PROJECT_SLUG=<YOUR_TENDERLY_PROJECT_SLUG>
# Is Geoblocked
NEXT_PUBLIC_IS_GEOBLOCKED=FALSE # Set to TRUE for production
# Is Locked
NEXT_PUBLIC_IS_LOCKED=FALSE # Set to TRUE for locking the frontend with password
# Github Token
PERSONAL_ACCESS_GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>
# Token API Keys
COINMARKETCAP_API_KEY=<YOUR_COINMARKETCAP_API_KEY>
COINGECKO_API_KEY=<YOUR_COINGECKO_API_KEY>