BIP44

The BIP44 class provides methods to extract the numerical value out of any currency representation by normalizing the input and removing any locale specific rules like symbols and use of commas.

Importing the BIP44 class

1import { BIP44 } from "@ardenthq/sdk-cryptography";

Derive a child wallet from the given mnemonic

1BIP44.deriveChild('scout mushroom doctor prepare identify obvious soccer stage sudden already brass december million wish flower');

Derive a child wallet at the given index from the mnemonic and path

1BIP44.deriveChildFromPath(
2 'scout mushroom doctor prepare identify obvious soccer stage sudden already brass december million wish flower',
3 "m / 44' / 0' / 0' / 0 / 0",
4 0
5);

Derive the master key from a mnemonic

1BIP44.deriveMasterKey('scout mushroom doctor prepare identify obvious soccer stage sudden already brass december million wish flower');

Parse a path into all of its components

1BIP44.parse("m / 44' / 0' / 0' / 0 / 0");
Last updated 2 years ago
Edit Page
Share: