MetaMask / key-tree

MIT License
49 stars 19 forks source link

export getBIP44CoinTypeToAddressPathTuple #168

Closed nom4dv3 closed 3 months ago

nom4dv3 commented 5 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'