Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/scroll-tech/chain-monitor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/scroll-tech/chain-monitor

  • v1.1.29
  • Source
  • Go
  • Socket score

Version published
Created
Source

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 

FAQs

Package last updated on 05 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc