Bip32Ed25519.import constructor
Bip32Ed25519.import(
- String encodedKey
It creates a sub key tree from a, usually Bech32
, decoded,
Bip32-Ed25519
compatible private or public key.
It can be used for creating read-, watch-only HD wallets.
The imported key becomes the root node of the sub tree.
The root of the tree, usually, is NOT a BIP32-ED25519
master key,
but a valid BIP-ED25519
compatible signing and verifying key.
Implementation
Bip32Ed25519.import(String encodedKey) {
root = doImport(encodedKey);
}