cybertim / blockwallet

Block Wallet
10 stars 51 forks source link

Convert seed phrase #27

Closed neuhaus closed 6 years ago

neuhaus commented 6 years ago

How do I get from a 24 word seed phrase generated by blockwallet to a 12 word seed phrase that works with Metamask? I know I can get the private key using the keytools, but how do I generate a 12 word seed phrase from the private key?

I hope this issue isn't unwanted here since it isn't strictly specific to blockwallet..

cybertim commented 6 years ago

I don't think this is possible, metamask uses bip44 as a wallet-solution. Which if i'm not mistaking means they derive all 'keys' for different currencies from one special root-key.

Blockwallet only uses a single ethereum private key which is directly translated to a phrase through bip39 so people can easily write it down. There is no 'root key'.

If you would like to use bip44 I think the only route ahead is generate a complete new 12 words bip39 root key and within the wallet derive a new ethereum address and send all your ethereum to that address. After this you can extract a single private-key from the wallet and put that one back into blockwallet.

neuhaus commented 6 years ago

I managed to import the private key into Metamask using the "import key" feature (you only see it when managing accounts).