4

I have private net and created 2 accounts using geth...I connected private net to metamask but accounts were not visible...I didn't get any seed while creating accounts using geth...Is the only option is to import account in metamask?

2 Answers 2

8

you can't get it.

You didn't get any seed because the accounts created with geth aren't part of a Hierarchical Deterministic Wallet.

The seed is a 12-word composition called mnemonic, which is derived from HMA-SHA512, in order to obtain all the accounts of a (HDW).

By creating accounts with geth you'll never be able to get a seed, because the accounts don't come from it.

Anyways, you can import your account into Metamask as said on this post response:

You can now import single/"loose"(as we call) keys into MetaMask if you click the menu in the top right corner. It will drop down with the option "Import account", you can click that and it will take you to a view where it will ask you to import your private key or json file.

Hope it helps.

0
1

How would metamask know about your account? You either create accounts with metamask or import an existing account. If you have created account with geth then you can find the keystore json file named as UTC-- inside keystore of your node. This can be imported in metamask under Import Account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.