Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MnemonicFromEncryptedWalletUseCase ¶
type MnemonicFromEncryptedWalletUseCase interface {
Execute(ctx context.Context, encryptedWalletBytes []byte, password *sstring.SecureString) (*sstring.SecureString, string, error)
}
func NewMnemonicFromEncryptedWalletUseCase ¶
func NewMnemonicFromEncryptedWalletUseCase( config *config.Configuration, logger *slog.Logger, keystore hdkeystore.KeystoreAdapter, ) MnemonicFromEncryptedWalletUseCase
type OpenHDWalletFromMnemonicUseCase ¶
type OpenHDWalletFromMnemonicUseCase interface {
Execute(ctx context.Context, mnemonic *sstring.SecureString, path string) (*accounts.Account, *hdwallet.Wallet, error)
}
func NewOpenHDWalletFromMnemonicUseCase ¶
func NewOpenHDWalletFromMnemonicUseCase( config *config.Configuration, logger *slog.Logger, keystore hdkeystore.KeystoreAdapter, ) OpenHDWalletFromMnemonicUseCase
type PrivateKeyFromHDWalletUseCase ¶
type PrivateKeyFromHDWalletUseCase interface {
Execute(ctx context.Context, mnemonic *sstring.SecureString, path string) (*ecdsa.PrivateKey, error)
}
func NewPrivateKeyFromHDWalletUseCase ¶
func NewPrivateKeyFromHDWalletUseCase( config *config.Configuration, logger *slog.Logger, keystore hdkeystore.KeystoreAdapter, ) PrivateKeyFromHDWalletUseCase
Click to show internal directories.
Click to hide internal directories.