Constants§
- DERIVATION_
PATH_ COIN_ TYPE - DERVIATION_
PATH_ PURPOSE_ ED25519 - DERVIATION_
PATH_ PURPOSE_ SECP256 K1 - DERVIATION_
PATH_ PURPOSE_ SECP256 R1
Functions§
- derive_
key_ pair_ from_ path - Ed25519 follows SLIP-0010 using hardened path: m/44’/4218’/0’/0’/{index}’ Secp256k1 follows BIP-32/44 using path where the first 3 levels are hardened: m/54’/4218’/0’/0/{index} Secp256r1 follows BIP-32/44 using path where the first 3 levels are hardened: m/74’/4218’/0’/0/{index}. Note that the purpose node is used to distinguish signature schemes.
- generate_
new_ key - validate_
path