l1contractdeployer

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config holds the properties that configure the package

func NewContractDeployerConfig

func NewContractDeployerConfig(opts ...Option) *Config

type ContractDeployer

type ContractDeployer struct {
	// contains filtered or unexported fields
}

func NewDockerContractDeployer

func NewDockerContractDeployer(cfg *Config) (*ContractDeployer, error)

func (*ContractDeployer) RetrieveL1ContractAddresses

func (n *ContractDeployer) RetrieveL1ContractAddresses() (*node.NetworkConfig, error)

func (*ContractDeployer) Start

func (n *ContractDeployer) Start() error

type Option

type Option = func(c *Config)

Option is a function that applies configs to a Config Object

func WithDockerImage

func WithDockerImage(s string) Option

func WithL1HTTPURL

func WithL1HTTPURL(s string) Option

func WithPrivateKey

func WithPrivateKey(s string) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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