Documentation ¶
Index ¶
- func DevTestnet(opts ...TestnetEnvOption) networktest.Environment
- func LocalDevNetwork(opts ...devnetwork.TenConfigOption) networktest.Environment
- func LocalNetworkLiveL1(seqWallet wallet.Wallet, validatorWallets []wallet.Wallet, l1RPCURLs []string) networktest.Environment
- func LongRunningLocalNetwork(l1WSURL string) networktest.Environment
- func SepoliaTestnet(opts ...TestnetEnvOption) networktest.Environment
- func UATTestnet(opts ...TestnetEnvOption) networktest.Environment
- type TestnetEnvOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevTestnet ¶
func DevTestnet(opts ...TestnetEnvOption) networktest.Environment
func LocalDevNetwork ¶
func LocalDevNetwork(opts ...devnetwork.TenConfigOption) 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
Click to show internal directories.
Click to hide internal directories.