Home | Platform SDK

BIP44

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

Importing the BIP44 class

import { BIP44 } from "@arkecosystem/platform-sdk-crypto";

Derive a child wallet from the given mnemonic

BIP44.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

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

Derive the master key from a mnemonic

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

Parse a path into all of its components

BIP44.parse("m / 44' / 0' / 0' / 0 / 0");

2020 © ARK.io | All rights reserved | An ARK.io Product