devnet

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	L1RPCURL  = "http://127.0.0.1:8545"
	L2RPCURL  = "http://127.0.0.1:9545"
	RollupURL = "http://127.0.0.1:7545"
)

TODO(#10968): read from docker-compose.yml

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	L1     *ethclient.Client
	L2     *ethclient.Client
	Rollup *sources.RollupClient
	Cfg    e2e.SystemConfig
}

func NewSystem

func NewSystem(ctx context.Context, lgr log.Logger) (sys *System, err error)

func (System) Config

func (s System) Config() e2e.SystemConfig

func (System) NodeClient

func (s System) NodeClient(role string) *ethclient.Client

func (System) RollupClient

func (s System) RollupClient(string) *sources.RollupClient

func (System) TestAccount

func (s System) TestAccount(idx int) *ecdsa.PrivateKey

Jump to

Keyboard shortcuts

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