# Functions
NewKeyFromBytes creates a new private key from private key bytes.
NewKeyFromDirectory returns a new key from a directory containing JSON files.
NewKeyFromECDSA creates a new private key from an ecdsa.PrivateKey.
NewKeyFromJSON loads an Ethereum key from a JSON file.
NewKeyFromJSONContent returns a new key from a JSON.
NewKeyFromMnemonic creates a new private key from a mnemonic phrase.
NewKeyRPC returns a new KeyRPC.
NewMnemonic creates a new mnemonic that can be used to derive private keys.
NewRandomKey creates a random private key.
ParseDerivationPath converts a BIP-33 derivation path string into the internal binary format.
# Constants
Indices of the components in the derivation path.
Indices of the components in the derivation path.
Indices of the components in the derivation path.
Indices of the components in the derivation path.
No description provided by the author
No description provided by the author
Indices of the components in the derivation path.
No description provided by the author
No description provided by the author
# Variables
DefaultDerivationPath is the default derivation path for the first key.
No description provided by the author
RootDerivationPath is the root derivation path used to derive the child keys.
# Structs
KeyRPC is an Ethereum key that uses an RPC client to sign messages and transactions.
Mnemonic is a mnemonic phrase with a password used to derive private keys.
No description provided by the author
# Interfaces
Key is the interface for an Ethereum key.
KeyWithHashSigner is the interface for an Ethereum key that can sign data using a private key, skipping the EIP-191 message prefix.
RPCSigningClient is the interface for an Ethereum RPC client that can sign messages and transactions.
# Type aliases
DerivationPath represents derivation path as internal binary format.