omgnetwork / elixir-omg

OMG-Network repository of Watcher and Watcher Info
https://omg.network
Apache License 2.0
213 stars 59 forks source link

How to setup Geth account password #1817

Open RickyElune opened 3 years ago

RickyElune commented 3 years ago

Hi,

I'm running the whole backend well and want to import the geth accounts of into my Metamask wallet. It requires the password of geth account. I checked the "dev_geth.ex" file and found your procedure of creating geth accounts. Seems you set the password as blank with an empty text file by command line. MetaMask, however, forcibly requires a password to import the account.

Can I set password of the initial geth accounts in this system?

1

2

RickyElune commented 3 years ago

3

InoMurko commented 3 years ago

dev_geth.ex is only used for unit tests.

if you're running the backend, I presume you're starting it with docker compose? This should help you: https://github.com/omgnetwork/specs/blob/master/apps/itest/lib/account.ex