package
1.1.0
Repository: https://github.com/dsisc/wallet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAuthNeededError creates a new authentication error with the extra details about the needed fields set.
NewManager creates a generic account manager to sign transaction via various supported backends.

# Constants

WalletArrived is fired when a new wallet is detected either via USB or via a filesystem event in the keystore.
WalletDropped.
WalletOpened is fired when a wallet is successfully opened with the purpose of starting any background processes such as automatic key derivation.

# Variables

ErrInvalidPassphrase is returned when a decryption operation receives a bad passphrase.
ErrNotSupported is returned when an operation is requested from an account backend that it does not support.
ErrUnknownAccount is returned for any requested operation for which no backend provides the specified account.
ErrUnknownWallet is returned for any requested operation for which no backend provides the specified wallet.
ErrWalletAlreadyOpen is returned if a wallet is attempted to be opened the second time.
ErrWalletClosed is returned if a wallet is attempted to be opened the secodn time.

# Structs

Account represents an justitia account located at a specific location defined by the optional URL field.
AuthNeededError is returned by backends for signing requests where the user is required to provide further authentication before signing can succeed.
Manager is an overarching account manager that can communicate with various backends for signing transactions.
No description provided by the author
WalletEvent is an event fired by an account backend when a wallet arrival or departure is detected.

# Interfaces

Backend is a "wallet provider" that may contain a batch of accounts they can sign transactions with and upon request, do so.
No description provided by the author

# Type aliases

WalletEventType represents the different event types that can be fired by the wallet subscription subsystem.