Documentation
¶
Index ¶
- Constants
- func InitSDKConfig()
- func NewRootCmd() *cobra.Command
- func ProvideClientContext(appCodec codec.Codec, interfaceRegistry codectypes.InterfaceRegistry, ...) client.Context
- func ProvideKeyring(clientCtx client.Context, addressCodec address.Codec) (clientv2keyring.Keyring, error)
- type PocketAppConfig
Constants ¶
View Source
const DefaultChainID = "pocket"
TODO_MAINNET: adjust chain ID to `pocket`, `pokt` or `shannon`
Variables ¶
This section is empty.
Functions ¶
func InitSDKConfig ¶
func InitSDKConfig()
InitSDKConfig initializes the SDK configuration with the appropriate parameters via a singleton.
func NewRootCmd ¶
NewRootCmd creates a new root command for pocketd. It is called once in the main function.
func ProvideClientContext ¶
func ProvideClientContext( appCodec codec.Codec, interfaceRegistry codectypes.InterfaceRegistry, txConfig client.TxConfig, legacyAmino *codec.LegacyAmino, ) client.Context
func ProvideKeyring ¶
Types ¶
type PocketAppConfig ¶
type PocketAppConfig struct {
Telemetry telemetry.PocketTelemetryConfig `mapstructure:"telemetry"`
}
PocketAppConfig represents a pocket-specific part of `app.toml` file.
Click to show internal directories.
Click to hide internal directories.