config

package
v0.0.0-...-083907b Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BaseDir           string
	ConfigPath        string
	WaitForCompletion bool
)

Functions

func AddChain

func AddChain(name, chainID string)

func AddWaspNode

func AddWaspNode(name, apiURL string)

func GetAuthTokenForImport

func GetAuthTokenForImport() map[string]string

func GetChain

func GetChain(name string) isc.ChainID

func GetKeyChain

func GetKeyChain() keychain.KeyChain

func GetSeedForMigration

func GetSeedForMigration() string

GetSeedForMigration is used to migrate the seed of the config file to a certain wallet provider.

func GetTestingSeed

func GetTestingSeed() string

func GetToken

func GetToken(node string) string

func GetUseLegacyDerivation

func GetUseLegacyDerivation() bool

func GetWalletLogLevel

func GetWalletLogLevel() types.ILoggerConfigLevelFilter

func GetWalletProviderString

func GetWalletProviderString() string

func L1APIAddress

func L1APIAddress() string

func L1FaucetAddress

func L1FaucetAddress() string

func L1ParamsExpired

func L1ParamsExpired() bool

func LoadL1ParamsFromConfig

func LoadL1ParamsFromConfig()

func MustWaspAPIURL

func MustWaspAPIURL(nodeName string) string

func NodeAPIURLs

func NodeAPIURLs(nodeNames []string) []string

func Read

func Read()

func RefreshL1ParamsFromNode

func RefreshL1ParamsFromNode()

func RemoveSeedForMigration

func RemoveSeedForMigration()

func Set

func Set(key string, value interface{})

func SetTestingSeed

func SetTestingSeed(seed string)

func SetToken

func SetToken(node, token string)

func SetWalletLogLevel

func SetWalletLogLevel(filter types.ILoggerConfigLevelFilter)

func SetWalletProviderString

func SetWalletProviderString(provider string)

func WaspAPIURL

func WaspAPIURL(nodeName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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