I have installed geth and created genesis.json and run my own private eth network. I started my rpc using

geth --rpc --rpcport 5200 --rpcaddr --datadir ./private

Then I connected to this network in meta mask and then created a new account there. Then I came back to my terminal stopped rpc and then I do

geth --datadir ./private --networkid 1114 console 2>> eth.log

then I check using web3.eth.accounts it doesn't display my meta mask created address. So what is the proper way to create meta mask account which also reflects in my custom created network?


It is not possible. MetaMask manages the private key by itself inside the browser and only relies on the ethereum client to navigate the blockchain and to send transactions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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