challenger

package module
v0.0.0-...-2910ca2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 9 Imported by: 0

README

DA Challenger

Da-challenger is a project about the fraud proof for EigenDA of Mantle Network

Tips: need Go 1.18+

Install

1.Install dependencies

git submodule update --init --recursive

go mod tidy

2.build binary

make datalayr-mantle
make binding
make da-challenger

3.build docker

make datalayr-mantle
docker build -t challenger:latest -f ./Dockerfile .

4.start binary

Config .env, You can refer to .env_example, if config finished, you can exec following command

./da-challenger

5.start docker

wait

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(gitVersion string) func(ctx *cli.Context) error

Types

type Config

type Config struct {
	L1EthRpc             string
	L2MtlRpc             string
	ChainId              uint64
	PrivateKey           string
	Mnemonic             string
	SequencerHDPath      string
	EigenContractAddress string
	GraphProvider        string
	RetrieverSocket      string
	KzgConfig            challenger.KzgConfig
	FromStoreNumber      uint64
	DisableHTTP2         bool

	LoggingConfig logging.Config
}

func NewConfig

func NewConfig(ctx *cli.Context) (Config, error)

Directories

Path Synopsis
cmd
contract

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL