Attributes
Members list
Value members
Concrete methods
Create an HdKeyPair from a BIP32-Ed25519 extended key.
Create an HdKeyPair from a BIP32-Ed25519 extended key.
Derives the public key from the private key using Ed25519 base point multiplication.
Value parameters
- extendedKey
-
the BIP32-Ed25519 extended key
Attributes
- Returns
-
the HD key pair
Create an HdKeyPair from a mnemonic at a given derivation path.
Create an HdKeyPair from a mnemonic at a given derivation path.
Uses BIP32-Ed25519 (Icarus-style) derivation which is compatible with standard Cardano wallets.
Value parameters
- mnemonic
-
the BIP-39 mnemonic
- passphrase
-
optional passphrase
- path
-
the derivation path (e.g., "m/1852'/1815'/0'/0/0")
Attributes
- Returns
-
the HD key pair
Create an HdKeyPair from a mnemonic at a given derivation path (no passphrase).
Create an HdKeyPair from a mnemonic at a given derivation path (no passphrase).
Value parameters
- mnemonic
-
the BIP-39 mnemonic
- path
-
the derivation path
Attributes
- Returns
-
the HD key pair
Create a master HdKeyPair from a BIP-39 mnemonic.
Create a master HdKeyPair from a BIP-39 mnemonic.
Value parameters
- mnemonic
-
the BIP-39 mnemonic
- passphrase
-
optional passphrase
Attributes
- Returns
-
the master HD key pair at path "m"