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

Implement a script to deploy bridge contracts #30

Closed akolotov closed 6 years ago

akolotov commented 6 years ago

Since we have a new version of bridge contracts (https://github.com/poanetwork/poa-parity-bridge-contracts/commit/d53ae359653ee04df650576b53347d256c9a7f56) which complitely different from the original parity-bridge contracts, it is necessary to change deployment code in the bridge. But in order to be more undependent in maintanance of the deployment code, it is being suggested to implement it in form of a js/python/... script (the langugage is discussible).

The script must:

  1. read the configuration toml file
  2. deploy contracts with set of parameters given from configuration file
  3. write the database file
rstormsf commented 6 years ago
  1. read what exactly? for validators?
  2. what params?
rstormsf commented 6 years ago

done @akolotov https://github.com/poanetwork/poa-parity-bridge-contracts/tree/master/deploy