Skip to content

Setheum-Labs/zkevm-synchronizer-l1

This branch is 220 commits behind 0xPolygonHermez/zkevm-synchronizer-l1:develop.

Folders and files

NameName
Last commit message
Last commit date
Mar 6, 2024
Mar 6, 2024
Apr 10, 2024
Mar 15, 2024
Mar 20, 2024
Mar 13, 2024
Mar 6, 2024
Mar 15, 2024
Mar 6, 2024
Mar 6, 2024
Mar 6, 2024
Mar 6, 2024
Apr 10, 2024
Apr 15, 2024
Mar 19, 2024
Mar 8, 2024
Apr 10, 2024
Mar 6, 2024
Mar 8, 2024
Mar 8, 2024
Mar 6, 2024
Apr 29, 2024
Apr 29, 2024
Apr 15, 2024

Repository files navigation

zkEVM Synchronizer-L1

zkEVM Synchronizer-L1 This is a library to synchronize L1InfoTree events from L1

Usage

Import it

"github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer"

Create object

You can choose to create from a config file object calling NewSynchronizer or from a toml config file using NewSynchronizerFromConfigfile

Executing

The function Sync if a blocking function that starts the synchronization. You can run as a go rutine:

go mySync.Sync(false)

The parameter returnOnSync allows to return when the synchornization is finish so you can run the first time as a blocking call and, once the system is synchronized, run another time in the background

Interacting

You can call to IsSynced to known if the system is syncrhonized

Check usage.md for a client example

About

zkEVM Synchronizer-L1

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.4%
  • Makefile 4.3%
  • Other 0.3%