2

I unlock an account on parity startup using the following arguments:

parity
   --unlock $COINBASE \
   --password $CONFIG_DIR/password \
   ...

How can I unlock multiple accounts at startup?

3

--unlock expects a comma-delimited list of addresses, e.g.:

parity \
  -- unlock $COINBASE,$ACCOUNT3,$ACCOUNT7 \
  -- password $CONFIG_DIR/password \
  ...

Note that this implies that the password on all accounts is the same. Hope this helps.

Disclosure: I work for Parity.

  • What if the password is different for the each account, does it still work? @5chdn♦ – alper May 11 '17 at 20:31
  • No, you should use the console for that. – soc1c May 15 '17 at 9:12
  • @5chdn What about using the config toml file? Could you unlock multiple accounts with different passwords in that case? – stone.212 Nov 22 '17 at 0:01
  • 1
    Yes, it's working the same way. – soc1c Nov 23 '17 at 13:57
  • @Afri is there a way to unlock accounts programmatically using json or web3? It would be better because you could also re-lock them when the transaction is complete. – stone.212 May 19 '18 at 23:03

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.