Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { RPCEndpoint string `toml:"rpc_endpoint"` LCDEndpoint string `toml:"lcd_endpoint"` }
ClientConfig defines all client configuration parameters.
type Config ¶
type Config struct { Client ClientConfig `toml:"client"` Wallet WalletConfig `toml:"wallet"` }
Config defines all necessary configuration parameters.
func ParseConfig ¶
ParseConfig attempts to read and parse a Juno config from the given file path. An error reading or parsing the config results in a panic.
type WalletConfig ¶
type WalletConfig struct {
Mnemonic string `toml:"mnemonic"`
}
WalletConfig defines all wallet configuration parameters.
Click to show internal directories.
Click to hide internal directories.