This version will support Darwinia2<>Crab2 and Dawrinia2<>Ethereum2 bridge.
Darwinia2<>Crab2
Darwinia2<>Crab2 bridge is parachain to parachain bridge.
The first, you should prepare bridge config. named bridge-darwinia-crab.toml to $HOME/.bridger/ path. or you can set environment named BRIDGER_HOME=/path/to/your/bridger
Enabling enable_ecdsa_relay = true is sufficient if you only need to sign ECDSA messages. Afterwards, you can update darwinia_substrate.private_key and darwinia_evm.private_key with your private key,
ensuring they are the same.
⚠️ darwinia_substrate.private_key must start with 0x
# Execute this to begin to play the first role
bridger darwinia-ethereum kv put scan.darwinia.collecting-message.running true
# Execute this to begin to play the second role
bridger darwinia-ethereum kv put scan.darwinia.collecting-authorities.running true
This version will support Darwinia2<>Crab2 and Dawrinia2<>Ethereum2 bridge.
Darwinia2<>Crab2
Darwinia2<>Crab2 bridge is parachain to parachain bridge.
The first, you should prepare bridge config. named
bridge-darwinia-crab.toml
to$HOME/.bridger/
path. or you can set environment namedBRIDGER_HOME=/path/to/your/bridger
Copy this template config https://github.com/darwinia-network/bridger/blob/master/.maintain/config/bridge-darwinia-crab.toml to your path. and modify
darwinia.signer
andcrab.signer
to your private key.Then you can run flow this command to start bridge.
Darwinia2<>Ethereum2
Copy template config file https://github.com/darwinia-network/bridger/blob/master/.maintain/config/bridge-darwinia-ethereum.toml first.
ECDSA
Enabling
enable_ecdsa_relay = true
is sufficient if you only need to sign ECDSA messages. Afterwards, you can updatedarwinia_substrate.private_key
anddarwinia_evm.private_key
with your private key,ensuring they are the same.
⚠️
darwinia_substrate.private_key
must start with0x
If it's your first time run bridger on your machine, you need to start ECDSA signing service manually, please check this issue: https://github.com/darwinia-network/bridger/issues/528#issuecomment-1261839790