-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.env
71 lines (61 loc) · 2.59 KB
/
sample.env
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
# mongodb
MONGODB_URI=mongodb+srv://<mongodb-user>:<mongodb-password>@<mongodb-host>:<mongodb-port>/<mongodb-database>
MONGODB_DATABASE=mongodb-database
MONGODB_TIMEOUT_MS=2000
# mnemonic
SIGNER_MNEMONIC=your-mnemonic
SIGNER_GCP_KMS_KEY_NAME=projects/your-project/locations/global/keyRings/your-keyring/cryptoKeys/your-key/cryptoKeyVersions/your-version
# google secret manager
GOOGLE_APPLICATION_CREDENTIALS=./credentials.json # path to google service account credentials
# docker-compose
COMPOSE_PROJECT_NAME=wpokt-oracle
# health check
HEALTH_CHECK_INTERVAL_MS=5000
HEACK_CHECK_READ_LAST_HEALTH=false
# logging
LOGGER_LEVEL=info
LOGGER_FORMAT=json
COSMOS_NETWORK_START_BLOCK_HEIGHT=100
COSMOS_NETWORK_CONFIRMATIONS=6
COSMOS_NETWORK_RPC_URL="http://localhost:26657"
COSMOS_NETWORK_GRPC_ENABLED=true
COSMOS_NETWORK_GRPC_HOST="localhost"
COSMOS_NETWORK_GRPC_PORT=9090
COSMOS_NETWORK_TIMEOUT_MS=5000
COSMOS_NETWORK_CHAIN_ID="cosmoshub-4"
COSMOS_NETWORK_CHAIN_NAME="Cosmos Hub"
COSMOS_NETWORK_TX_FEE=1000
COSMOS_NETWORK_BECH32_PREFIX="cosmos"
COSMOS_NETWORK_COIN_DENOM="atom"
COSMOS_NETWORK_MULTISIG_ADDRESS="cosmos1multisigaddress"
COSMOS_NETWORK_MULTISIG_PUBLIC_KEYS="pubkey1,pubkey2,pubkey3"
COSMOS_NETWORK_MULTISIG_THRESHOLD=2
COSMOS_NETWORK_MESSAGE_MONITOR_ENABLED=true
COSMOS_NETWORK_MESSAGE_MONITOR_INTERVAL_MS=5000
COSMOS_NETWORK_MESSAGE_SIGNER_ENABLED=true
COSMOS_NETWORK_MESSAGE_SIGNER_INTERVAL_MS=5000
COSMOS_NETWORK_MESSAGE_RELAYER_ENABLED=true
COSMOS_NETWORK_MESSAGE_RELAYER_INTERVAL_MS=5000
NUM_ETHEREUM_NETWORKS=3
# Ethereum Network 0
ETHEREUM_NETWORKS_0_START_BLOCK_HEIGHT=1000000
ETHEREUM_NETWORKS_0_CONFIRMATIONS=12
ETHEREUM_NETWORKS_0_RPC_URL=https://mainnet.infura.io/v3/your-infura-project-id
ETHEREUM_NETWORKS_0_TIMEOUT_MS=30000
ETHEREUM_NETWORKS_0_CHAIN_ID=1
ETHEREUM_NETWORKS_0_CHAIN_NAME=mainnet
ETHEREUM_NETWORKS_0_MAILBOX_ADDRESS=0xYourMailboxAddress
ETHEREUM_NETWORKS_0_MINT_CONTROLLER_ADDRESS=0xYourMintControllerAddress
ETHEREUM_NETWORKS_0_OMNI_TOKEN_ADDRESS=0xYourOmniTokenAddress
ETHEREUM_NETWORKS_0_WARP_ISM_ADDRESS=0xYourWarpISMAddress
ETHEREUM_NETWORKS_0_ORACLE_ADDRESSES=0xOracle1Address,0xOracle2Address
ETHEREUM_NETWORKS_0_MESSAGE_MONITOR_ENABLED=true
ETHEREUM_NETWORKS_0_MESSAGE_MONITOR_INTERVAL_MS=5000
ETHEREUM_NETWORKS_0_MESSAGE_SIGNER_ENABLED=true
ETHEREUM_NETWORKS_0_MESSAGE_SIGNER_INTERVAL_MS=5000
ETHEREUM_NETWORKS_0_MESSAGE_RELAYER_ENABLED=true
ETHEREUM_NETWORKS_0_MESSAGE_RELAYER_INTERVAL_MS=5000
# Repeat for other networks up to NUM_ETHEREUM_NETWORKS ...
ETHEREUM_NETWORKS_1_START_BLOCK_HEIGHT=1100000
ETHEREUM_NETWORKS_1_CONFIRMATIONS=15
# ... and so on for all NUM_ETHEREUM_NETWORKS networks