Skip to content

Detect real-time threats and events on Scroll blockchains

Notifications You must be signed in to change notification settings

scroll-tech/chain-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chain-monitor

Detect real-time threats and events on Scroll blockchains. chain monitor can detect ETH, ERC20, ERC721, ERC1155. As for erc20 can support WETH, StandardERC20, CustomERC20, USDC, DAI, LIDO.

Detect features:

  1. L2 withdraw root message hash check.
  2. ERC20, ERC721, ERC1155's token id and amount check.
  3. ETH balance check.
  4. Event that happened on L1/L2 can match.

Dependencies

  • solc

The detail tutorial please follow here.

  • abigen
go install -v github.com/scroll-tech/go-ethereum/cmd/abigen@develop
  • foundry
curl -L https://foundry.paradigm.xyz | bash

Build chain-monitor

  • Update dependence
# compile contracts with foundry and translate abi to go source files 
make abi CPATH=xxx

# updaye golang depedence
make update
  • Make chain-monitor
make 

About

Detect real-time threats and events on Scroll blockchains

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages