cryptocoinjs / hdkey

JavaScript component for Bitcoin hierarchical deterministic keys (BIP32)
MIT License
201 stars 74 forks source link

readme.MD is old #46

Closed dxteam2024 closed 2 years ago

dxteam2024 commented 2 years ago

not work const hdkey = HDKEY.fromMasterSeed(Buffer.from(seed, 'hex')) hdkey.derive("m/44'/1'/0'/0/0") change to hdkey.derivePath("m/44'/1'/0'/0/0") it works

in browser

RyanZim commented 2 years ago

Not sure what you're using; this library does not have a .derivePath method.

junderw commented 2 years ago

The bip32 package uses derivePath... maybe they are confusing the two?

dxteam2024 commented 2 years ago

true , i confuse this two lib

The bip32 package uses derivePath... maybe they are confusing the two?

true , i confuse this two lib