Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDefaultValuesFromDefaultClientConfig ¶ added in v0.50.4
ReadDefaultValuesFromDefaultClientConfig reads default values from default client.toml file and updates them in client.Context The client.toml is then discarded.
Types ¶
type ClientConfig ¶
type ClientConfig struct { ChainID string `mapstructure:"chain-id" json:"chain-id"` KeyringBackend string `mapstructure:"keyring-backend" json:"keyring-backend"` Output string `mapstructure:"output" json:"output"` Node string `mapstructure:"node" json:"node"` BroadcastMode string `mapstructure:"broadcast-mode" json:"broadcast-mode"` }
func DefaultConfig ¶ added in v0.50.0
func DefaultConfig() *ClientConfig
func (*ClientConfig) SetBroadcastMode ¶
func (c *ClientConfig) SetBroadcastMode(broadcastMode string)
func (*ClientConfig) SetChainID ¶
func (c *ClientConfig) SetChainID(chainID string)
func (*ClientConfig) SetKeyringBackend ¶
func (c *ClientConfig) SetKeyringBackend(keyringBackend string)
func (*ClientConfig) SetNode ¶
func (c *ClientConfig) SetNode(node string)
func (*ClientConfig) SetOutput ¶
func (c *ClientConfig) SetOutput(output string)
Click to show internal directories.
Click to hide internal directories.