package
0.0.0-20231025030425-6ec8c495a25d
Repository: https://github.com/hpb-project/go-hpb.git
Documentation: pkg.go.dev

# Packages

Package abi implements the HPB ABI (Application Binary Interface).
Package keystore implements encrypted storage of secp256k1 private keys.

# Functions

No description provided by the author
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.
No description provided by the author

# Structs

Account represents an Hpb 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.
URL represents the canonical identification URL of a wallet or account.
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.
Wallet represents a software or hardware wallet that might contain one or more accounts (derived from the same seed).

# Type aliases

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