Documentation ¶
Index ¶
- func AddKeyCmd(config *types.WalletConfig) *cobra.Command
- func CollectDustCmd(config *types.WalletConfig) *cobra.Command
- func CreateCmd(config *types.WalletConfig) *cobra.Command
- func ExecAddKeyCmd(cmd *cobra.Command, config *types.WalletConfig) error
- func ExecCollectDust(cmd *cobra.Command, config *types.WalletConfig) error
- func ExecCreateCmd(cmd *cobra.Command, config *types.WalletConfig) (err error)
- func ExecGetBalanceCmd(cmd *cobra.Command, config *types.WalletConfig) error
- func ExecGetPubKeysCmd(cmd *cobra.Command, config *types.WalletConfig) error
- func ExecSendCmd(ctx context.Context, cmd *cobra.Command, config *types.WalletConfig) error
- func GetBalanceCmd(config *types.WalletConfig) *cobra.Command
- func GetPubKeysCmd(config *types.WalletConfig) *cobra.Command
- func GroupPubKeysAndAmounts(pubKeys []string, amounts []string) ([]money.ReceiverData, error)
- func InitWalletConfig(cmd *cobra.Command, config *types.WalletConfig) error
- func NewWalletCmd(baseConfig *types.BaseConfiguration, obsF Factory) *cobra.Command
- func SendCmd(config *types.WalletConfig) *cobra.Command
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectDustCmd ¶
func CollectDustCmd(config *types.WalletConfig) *cobra.Command
func ExecAddKeyCmd ¶
func ExecAddKeyCmd(cmd *cobra.Command, config *types.WalletConfig) error
func ExecCollectDust ¶
func ExecCollectDust(cmd *cobra.Command, config *types.WalletConfig) error
func ExecCreateCmd ¶
func ExecCreateCmd(cmd *cobra.Command, config *types.WalletConfig) (err error)
func ExecGetBalanceCmd ¶
func ExecGetBalanceCmd(cmd *cobra.Command, config *types.WalletConfig) error
func ExecGetPubKeysCmd ¶
func ExecGetPubKeysCmd(cmd *cobra.Command, config *types.WalletConfig) error
func ExecSendCmd ¶
func GetBalanceCmd ¶
func GetBalanceCmd(config *types.WalletConfig) *cobra.Command
func GetPubKeysCmd ¶
func GetPubKeysCmd(config *types.WalletConfig) *cobra.Command
func GroupPubKeysAndAmounts ¶
func GroupPubKeysAndAmounts(pubKeys []string, amounts []string) ([]money.ReceiverData, error)
func InitWalletConfig ¶
func InitWalletConfig(cmd *cobra.Command, config *types.WalletConfig) error
func NewWalletCmd ¶
func NewWalletCmd(baseConfig *types.BaseConfiguration, obsF Factory) *cobra.Command
NewWalletCmd creates a new cobra command for the wallet component.
Types ¶
type Factory ¶
type Factory interface { Logger(cfg *logger.LogConfiguration) (*slog.Logger, error) Observability(metrics, traces string) (observability.MeterAndTracer, error) }
Click to show internal directories.
Click to hide internal directories.