docker pull iconloop/relay-eth2:latestCopy keystore files for source and destination network to ./keystore/.
Modify chains.src and chains.dst of ./config/relay_config.json.
In sample configuration, src is ICON and dst is Ethereum.
For Ethereum, two endpoints are required for execution and consensus clients.
endpoint: for execution clientoptions.consensus_endpoint: for consensus client. Consensus client must be a lodestar modified by ICON.
| Key | Description |
|---|---|
| address | BTPAddress ( btp://${Network}/${BMC Address} ) |
| endpoint | Network endpoint |
| key_store | Relay keystore |
| key_password | Relay keystore password |
| type | BTP2 contract type |
docker-compose up -d relay