Added
Added compatibility for importing wallets from seed phrases.
- This was done by adding an optional parameter
chainCodeto theimportPrivateKeyImportermethod in the SDK. - When the
chainCodeparameter is provided, the SDK will now be able to import wallets that were generated using seed phrases, in addition to the existing functionality of importing raw private keys. - To use this feature, derive all hardened child keys from the master key using the BIP32 standard, and provide the corresponding
chainCodewhen importing the private key. - This change affects
EcdsaandBIP-340.