Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 894 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 894 Bytes

l2node

The Privacy Layer 2 - The privacy and scaling for ethereum

Prerequires

  • Docker & docker-compose
  • go >= 1.20

Setup db and redis

Generate database and redis

docker compose up -d

Create table and index for database

  • Run sql command in internal/pkg/database/initdb/readme.md

Install package

go mod tidy

Generate zkey, wasm file

There are two way to generate zkey and wasm file:

Copy zkey and wasm file to internal/pkg/zkey | internal/pkg/wasm

Run scanner

go run cmd/synchronier/synchronier.go

Run Executor

go run cmd/selector/selector.go

go run cmd/batchbuilder/batchbuilder.go

Run monitor

go run cmd/monitor/main.go