Skip to content

Commit 122e597

Browse files
committed
chore: 💚 add configuration file
1 parent 7fd8b53 commit 122e597

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

backend/configuration.yaml.example

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
server:
2+
port: ${PORT}
3+
rpcPort: ${RPC_PORT}
4+
5+
snapshot:
6+
rpc: ${SNAPSHOT_RPC}
7+
8+
drand:
9+
url:
10+
- "https://api.drand.secureweb3.com:6875"
11+
- "https://api.drand.sh/"
12+
- "https://api2.drand.sh/"
13+
- "https://api3.drand.sh/"
14+
- "https://drand.cloudflare.com/"
15+
chainHash: "52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
16+
17+
github:
18+
token: ${GITHUB_TOKEN}
19+
20+
mysql:
21+
url: ${MYSQL_NODE}
22+
username: ${MYSQL_USER}
23+
password: ${MYSQL_PASSWORD}
24+
25+
network:
26+
chainId: ${CHAIN_ID}
27+
name: ${CHAIN_NAME}
28+
rpc: ${CHAIN_RPC_NODE}
29+
syncEventStartHeight: ${SYNC_EVENT_START_HEIGHT}
30+
oracleContract: ${ORACLE_CONTRACT}
31+
minerIdPrefix: ${MINER_ID_PREFIX}
32+
33+
oraclePowersContract: ${ORACLE_POWERS_CONTRACT}
34+
powerVotingContract: ${POWERVOTING_CONTRACT}
35+
36+
fipContract: ${FIP_CONTRACT}
37+
fipInitEditor: ${FIP_INIT_EDITOR}
38+
39+
abiPath:
40+
powerVotingAbi: ${POWERVOTING_ABI_PATH}
41+
oraclePowersAbi: ${ORACLE_POWERS_ABI_PATH}
42+
oracleAbi: ${ORACLE_ABI_PATH}
43+
fipAbi: ${FIP_ABI_PATH}

0 commit comments

Comments
 (0)