Documentation
¶
Overview ¶
Package hdwallet implements SLIP-0010 hierarchical deterministic key derivation for Ed25519. Solana uses hardened-only derivation paths of the form m/44'/501'/0'/0'.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
Key holds an Ed25519 private key and its chain code as produced by SLIP-0010 derivation.
func CKDPriv ¶
CKDPriv performs SLIP-0010 hardened child key derivation. index must have the hardened bit set (index >= 1<<31).
func CreateMasterKey ¶
CreateMasterKey derives the master key from a BIP39 seed using the SLIP-0010 Ed25519 domain string "ed25519 seed".
Click to show internal directories.
Click to hide internal directories.