omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
79 stars 38 forks source link

Dynamic gas_price on foreign network #48

Closed rstormsf closed 6 years ago

rstormsf commented 6 years ago

Bridge should read from config.toml

gas_price_oracle_url = "https://gasprice.poa.network/"
gas_price_speed_type = "fast"

and receive this value in gwei, convert to hex value in wei for signing tx on foreign. this value could be cached only for short period of time ( 5-10min)

akolotov commented 6 years ago

This is a duplicate for https://github.com/poanetwork/parity-bridge/issues/16.