How to bypass account unlock in private testnet, i want to transfer randomly between address. Is this possible, if yes how?

I am looking forward to bypass the prompt in console so that i can transfer to and fro by account index.


Unlock multiple accounts

In this case the argument to unlock is a whitespace delimited list of accounts addresses or indexes.

geth --unlock "0x407d73d8a49eeb85d32cf465507dd71d507100c1 0 5 e470b1a7d2c9c5c6f03bbaa8fa20db6d404a0c32"

If this construction is used non-interactively, your password file will need to contain the respective passwords for the accounts in question, one per line.

Unlocking one account:

geth --password <(echo this is not secret!) account new 


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.