key-tree icon indicating copy to clipboard operation
key-tree copied to clipboard

export getBIP44CoinTypeToAddressPathTuple

Open nom4dv3 opened this issue 1 year ago • 0 comments

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:

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'

nom4dv3 avatar Apr 10 '24 07:04 nom4dv3