Files
scroll/bridge
ChuhanJin d376c903af feat(bridge): separate bridge into subcomponents (#397)
Co-authored-by: vincent <419436363@qq.com>
Co-authored-by: colinlyguo <651734127@qq.com>
2023-03-31 11:04:24 +08:00
..
2022-10-19 21:01:35 +08:00
2022-10-19 21:01:35 +08:00
2022-12-19 20:06:00 +08:00

Bridge

This repo contains the Scroll bridge.

In addition, launching the bridge will launch a separate instance of l2geth, and sets up a communication channel between the two, over JSON-RPC sockets.

Something we should pay attention is that all private keys inside sender instance cannot be duplicated.

Dependency

  • install abigen
go install -v github.com/scroll-tech/go-ethereum/cmd/abigen

Build

make clean
make bridge

Start

  • use default ports and config.json
./build/bin/bridge --http
  • use specified ports and config.json
./build/bin/bridge --config ./config.json --http --http.addr localhost --http.port 8290