Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Upgrade guide for release v0.8.0 #581

@fewensa

Description

@fewensa

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

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 and crab.signer to your private key.

Then you can run flow this command to start bridge.

bridger darwinia-crab start

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 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

If it's your first time run bridger on your machine, you need to start ECDSA signing service manually, please check this issue: #528 (comment)

# 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions