MetaMask / key-tree

MIT License
50 stars 17 forks source link

export getBIP44CoinTypeToAddressPathTuple #168

Closed nom4dv3 closed 5 months ago

nom4dv3 commented 6 months ago

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'