# Functions
DecryptDataV3 ...
DecryptKey decrypts a key from a json blob, returning the private key itself.
EncryptDataV3 encrypts the data given as 'data' with the password 'auth'.
EncryptKey encrypts a key using the specified scrypt parameters into a json blob that can be decrypted later on.
ForPath return keystore from path.
NewAuthNeededError creates a new authentication error with the extra details about the needed fields set.
NewKeyForDirectICAP generates a key whose address fits into < 155 bits so it can fit into the Direct ICAP spec.
NewKeyStore creates a keystore for the given directory.
No description provided by the author
StoreKey generates a key, encrypts with 'auth' and stores in the given directory.
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.
No description provided by the author
# Constants
KeyStoreScheme is the protocol scheme prefixing account and wallet URLs.
LightScryptN is the N parameter of Scrypt encryption algorithm, using 4MB memory and taking approximately 100ms CPU time on a modern processor.
LightScryptP is the P parameter of Scrypt encryption algorithm, using 4MB memory and taking approximately 100ms CPU time on a modern processor.
StandardScryptN is the N parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.
StandardScryptP is the P parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.
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
ErrAccountAlreadyExists is returned if an account attempted to import is already present in the keystore.
ErrLocked ...
ErrInvalidPassphrase is returned when a decryption operation receives a bad passphrase.
ErrLocked ...
ErrLocked ...
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.
KeyStoreType is the reflect type of a keystore backend.
# Structs
Account represents an Ethereum account located at a specific location defined by the optional URL field.
AmbiguousAddrError is returned when attempting to unlock an address for which more than one file exists.
AuthNeededError is returned by backends for signing requests where the user is required to provide further authentication before signing can succeed.
CryptoJSON ...
Key struct represents the account Key.
KeyStore manages a key storage directory on disk.
URL represents the canonical identification URL of a wallet or account.
departure is detected.
# Interfaces
Wallet represents a software or hardware wallet that might contain one or more accounts (derived from the same seed).
# Type aliases
No description provided by the author
WalletEventType represents the different event types that can be fired by the wallet subscription subsystem.