this project is an interop-explorer backend.
Mainly listens to the events from L2ToL2CrossDomainMessenger and CrossL2Inbox, and then writes the data to the database. And determine whether a block includes cross-chain transactions based on the ExecutingMessage event of the CrossL2Outbox contract.
contract:
- L2ToL2CrossDomainMessenger: 0x4200000000000000000000000000000000000023
events:
event SentMessage(uint256 indexed destination, address indexed target,
uint256 indexed messageNonce, address sender, bytes message);
event RelayedMessage(uint256 indexed source, uint256 indexed messageNonce,
bytes32 indexed messageHash);
contract:
- CrossL2Inbox: 0x4200000000000000000000000000000000000022
events:
event ExecutingMessage(bytes32 indexed msgHash, Identifier id);
Follow this guide or supersim to install supersim.
./deploy/start.sh
./deploy/stop.sh