symbol / symbol-hd-wallets

Hierarchical-deterministic wallets library for Symbol
BSD 2-Clause "Simplified" License
11 stars 16 forks source link

fix code examples in README.md #6

Closed bassemmagdy closed 4 years ago

bassemmagdy commented 4 years ago

Parsing 'bip32Seed' buffer to hex string in order to get accepted as a parameter for createFromSeed() function.

evias commented 4 years ago

I am sorry this is confusion.

The README is wrong and I have fixed it just today. It should not use the toSeed() method but the toEntropy() method to generate the correct bip32 node.

The toSeed() permits to generate a password-protected copy of the mnemonic pass phrase. That is a confusion that is introduced through BIP44 naming "seed" and BIP32 naming "seed" something different.