env

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevTestnet

func DevTestnet(opts ...TestnetEnvOption) networktest.Environment

func LocalNetworkLiveL1

func LocalNetworkLiveL1(seqWallet wallet.Wallet, validatorWallets []wallet.Wallet, l1RPCURLs []string) networktest.Environment

LocalNetworkLiveL1 creates a local network that points to a live running L1. Note: seqWallet and validatorWallets need funds. seqWallet is used to deploy the L1 contracts

func LongRunningLocalNetwork

func LongRunningLocalNetwork(l1WSURL string) networktest.Environment

LongRunningLocalNetwork is a local network, the l1WSURL is optional (can be empty string), only required if testing L1 interactions

func SepoliaTestnet

func SepoliaTestnet(opts ...TestnetEnvOption) networktest.Environment

func UATTestnet added in v0.21.0

func UATTestnet(opts ...TestnetEnvOption) networktest.Environment

Types

type TestnetEnvOption added in v0.24.0

type TestnetEnvOption func(env *testnetEnv)

func WithLocalTenGateway added in v0.24.0

func WithLocalTenGateway() TestnetEnvOption

Jump to

Keyboard shortcuts

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