Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTendermintCLIContext ¶
func LoadTendermintCLIContext(appCodec *amino.Codec, validatorAddress sdk.ValAddress, validatorName string, rpcURL string, chainID string) sdkContext.CLIContext
Types ¶
type CosmosSub ¶
type CosmosSub struct {
Cdc *codec.Codec
Logger tmLog.Logger
CliCtx sdkContext.CLIContext
TxBldr authtypes.TxBuilder
ChainId string
ValidatorMoniker string
ValidatorAddress sdk.ValAddress
ProximaxPrivateKey string
ProximxMultisigPublicKey string
TendermintClient *tmClient.HTTP
ProximaXClient *proximax.Client
}
func NewCosmosSub ¶
func NewCosmosSub(cdc *codec.Codec, cliCtx sdkContext.CLIContext, txBldr authtypes.TxBuilder, logger tmLog.Logger, tendermintNode, chainID, validatorMoniker string, validatorAddress sdk.ValAddress, proximaXNode, proximaXPrivateKey, proximaXMultisibPublicKey string) (CosmosSub, error)
type ProximaXSub ¶
type ProximaXSub struct {
Cdc *codec.Codec
CliCtx sdkContext.CLIContext
TxBldr authtypes.TxBuilder
Logger tmLog.Logger
ChainId string
ValidatorMoniker string
ValidatorAddress cosmosSdk.ValAddress
SignerAccount *sdk.Account
MultisigAccount *sdk.PublicAccount
TendermintClient *tmClient.HTTP
ProximaXClient *sdk.Client
ProximaXWsClient websocket.CatapultClient
}
func NewProximaxSub ¶
func NewProximaxSub(cdc *codec.Codec, cliCtx sdkContext.CLIContext, txBldr authtypes.TxBuilder, logger tmLog.Logger, chainID, validatorMoniker string, validatorAddress cosmosSdk.ValAddress, proximaXNode, proximaXPrivateKey, proximaXMultisibPublicKey string) (ProximaXSub, error)
Click to show internal directories.
Click to hide internal directories.