Open jasny opened 2 years ago
Support BIP39 for generating private keys. For ECDSA, BIP39 should be the only method available for seeding.
https://levelup.gitconnected.com/blockchain-series-how-metamask-creates-accounts-a8971b21a74b
The current keyPairFromSeed method should be removed. Create a new class Bip39ECDSA, specifically for seeding.
keyPairFromSeed
Bip39ECDSA
To test if the implementation is correct
You get a public address for your account by taking the last 20 bytes of the Keccak-256 hash of the public key and adding 0x to the beginning.
Support BIP39 for generating private keys. For ECDSA, BIP39 should be the only method available for seeding.
https://levelup.gitconnected.com/blockchain-series-how-metamask-creates-accounts-a8971b21a74b
The current
keyPairFromSeed
method should be removed. Create a new classBip39ECDSA
, specifically for seeding.To test if the implementation is correct