Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 1.09 KB

deploy.md

File metadata and controls

24 lines (21 loc) · 1.09 KB

Deploy Command

This command can be used to deploy all or some of the contracts required for bridging.

Selection of contracts can be made by either specifying --all or a subset of these:

  --bridge                     Deploy bridge contract
  --erc20Handler               Deploy erc20Handler contract
  --erc721Handler              Deploy erc721Handler contract
  --genericHandler             Deploy genericHandler contract
  --erc20                      Deploy erc20 contract
  --erc721                     Deploy erc721 contract
  --centAsset                  Deploy centrifuge asset contract
  --wetc                       Deploy wrapped ETC Erc20 contract
  --config                     Logs the configuration based on the deployment

If you are deploying the Bridge contract, you may want to specify these options as well:

  --chainId <value>           Chain ID for the instance
  --relayers <value>          List of initial relayers
  --relayerThreshold <value>  Number of votes required for a proposal to pass
  --fee <value>               Fee to be taken when making a deposit (in Ether)