Closed nom4dv3 closed 3 months ago
getBIP44CoinTypeToAddressPathTuple is used widely in the ref-impl tests, BUT it's not correctly exported, making the ref implementation hard to use.
getBIP44CoinTypeToAddressPathTuple
Specifically, it throws error when import it by this:
import { getBIP44CoinTypeToAddressPathTuple } from '@metamask/key-tree'
For someone who hit this error, a possible work around can be:
//@ts-ignore import { getBIP44CoinTypeToAddressPathTuple } from './node_modules/@metamask/key-tree/dist/esm/utils.js'
getBIP44CoinTypeToAddressPathTuple
is used widely in the ref-impl tests, BUT it's not correctly exported, making the ref implementation hard to use.Specifically, it throws error when import it by this:
For someone who hit this error, a possible work around can be: