package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Packages

Package abi implements the Ethereum ABI (Application Binary Interface).
Package keystore implements encrypted storage of secp256k1 private keys.
Package usbwallet implements support for USB hardware wallets.

# Functions

DefaultIterator creates a BIP-32 path iterator, which progresses by increasing the last component: i.e.
LedgerLiveIterator creates a bip44 path iterator for Ledger Live.
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.
ParseDerivationPath converts a user specified derivation path string to the internal binary representation.
TextAndHash is a helper function that calculates a hash for the given message that can be safely used to calculate a signature from.
TextHash is a helper function that calculates a hash for the given message that can be safely used to calculate a signature from.

# Constants

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

# Variables

DefaultBaseDerivationPath is the base path from which custom derivation endpoints are incremented.
DefaultRootDerivationPath is the root path to which custom derivation endpoints are appended.
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 offline.
LegacyLedgerBaseDerivationPath is the legacy base path from which custom derivation endpoints are incremented.

# Structs

Account represents an Ethereum 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.
Config is a legacy struct which is not used.
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

AccountsByURL implements sort.Interface for []Account based on the URL field.
DerivationPath represents the computer friendly version of a hierarchical deterministic wallet account derivation path.
WalletEventType represents the different event types that can be fired by the wallet subscription subsystem.
WalletsByURL implements sort.Interface for []Wallet based on the URL field.