If private key is created from mnemonic using Mnemonic.toEcdsaPrivateKey() we cannot use Mnemonic.toStandardECDSAsecp256k1PrivateKey()to retrieve that private key from memonics. Those two functions are having different algorithm and they are returning different values. Because of that we need to support both toEcdsaPrivateKey() and toStandardECDSAsecp256k1PrivateKey().
Solution
Implement toEcdsaPrivateKey() and toStandardECDSAsecp256k1PrivateKey()
Problem
If private key is created from mnemonic using
Mnemonic.toEcdsaPrivateKey()
we cannot useMnemonic.toStandardECDSAsecp256k1PrivateKey()
to retrieve that private key from memonics. Those two functions are having different algorithm and they are returning different values. Because of that we need to support bothtoEcdsaPrivateKey()
andtoStandardECDSAsecp256k1PrivateKey()
.Solution
Implement
toEcdsaPrivateKey()
andtoStandardECDSAsecp256k1PrivateKey()
Alternatives
No response