811e8da6b5
* Support other oracle's gas price values in Oracle * Add default gas price factor in Oracle * Support other oracle's gas price values in UI * Support other oracle's gas price values in Monitor
56 lines
2.0 KiB
YAML
56 lines
2.0 KiB
YAML
---
|
|
## General settings
|
|
BRIDGE_MODE: "NATIVE_TO_ERC"
|
|
HOME_NATIVE_NAME: "ETC"
|
|
|
|
## Home contract
|
|
HOME_RPC_URL: "https://ethereumclassic.network"
|
|
HOME_NAME: "Ethereum Classic"
|
|
HOME_WITHOUT_EVENTS: false
|
|
HOME_BRIDGE_ADDRESS: "0x073081832B4Ecdce79d4D6753565c85Ba4b3BeA9"
|
|
HOME_POLLING_INTERVAL: 7000
|
|
|
|
## Foreign contract
|
|
FOREIGN_RPC_URL: "https://mainnet.infura.io/"
|
|
FOREIGN_NAME: "Ethereum Mainnet"
|
|
FOREIGN_WITHOUT_EVENTS: false
|
|
FOREIGN_BRIDGE_ADDRESS: "0x0cB781EE62F815bdD9CD4c2210aE8600d43e7040"
|
|
ERC20_TOKEN_ADDRESS: "0x86aaBCc646f290b9Fc9Bd05CE17C3858d1511Da1"
|
|
FOREIGN_POLLING_INTERVAL: 7000
|
|
|
|
## Home Gasprice
|
|
HOME_GAS_PRICE_ORACLE_URL: "https://gasprice-etc.poa.network/"
|
|
HOME_GAS_PRICE_SPEED_TYPE: "standard"
|
|
HOME_GAS_PRICE_FALLBACK: 15000000000 # in wei
|
|
HOME_GAS_PRICE_UPDATE_INTERVAL: 600000
|
|
HOME_GAS_PRICE_FACTOR: 1
|
|
|
|
## Foreign Gasprice
|
|
FOREIGN_GAS_PRICE_ORACLE_URL: "https://gasprice.poa.network/"
|
|
FOREIGN_GAS_PRICE_SPEED_TYPE: "standard"
|
|
FOREIGN_GAS_PRICE_FALLBACK: 10000000000 # in wei
|
|
FOREIGN_GAS_PRICE_UPDATE_INTERVAL: 600000
|
|
FOREIGN_GAS_PRICE_FACTOR: 1
|
|
|
|
## UI
|
|
UI_TITLE: "TokenBridge UI app - %c"
|
|
UI_DESCRIPTION: "The TokenBridge serves as a method of transferring native tokens from the Ethereum Classic Network to the Ethereum network in a quick and cost-efficient manner."
|
|
UI_PORT: 3001
|
|
UI_HOME_EXPLORER_TX_TEMPLATE: https://blockscout.com/etc/mainnet/tx/%s
|
|
UI_FOREIGN_EXPLORER_TX_TEMPLATE: https://blockscout.com/eth/mainnet/tx/%s
|
|
UI_HOME_EXPLORER_ADDRESS_TEMPLATE: https://blockscout.com/etc/mainnet/address/%s
|
|
UI_FOREIGN_EXPLORER_ADDRESS_TEMPLATE: https://blockscout.com/eth/mainnet/address/%s
|
|
UI_HOME_GAS_PRICE_FALLBACK: 15000000000
|
|
UI_FOREIGN_GAS_PRICE_FALLBACK: 10000000000
|
|
|
|
## Monitor
|
|
MONITOR_PORT: 3003
|
|
MONITOR_HOME_DEPLOYMENT_BLOCK: 7703292
|
|
MONITOR_FOREIGN_DEPLOYMENT_BLOCK: 7412459
|
|
MONITOR_HOME_GAS_LIMIT: 300000
|
|
MONITOR_FOREIGN_GAS_LIMIT: 300000
|
|
MONITOR_HOME_GAS_PRICE_FALLBACK: 15000000000
|
|
MONITOR_FOREIGN_GAS_PRICE_FALLBACK: 10000000000
|
|
MONITOR_LEFT_TX_THRESHOLD: 100
|
|
MONITOR_CRON_SCHEDULE: "* * * * *"
|