interledger-deprecated / ilp-plugin-ethereum

Other
10 stars 12 forks source link

automatically unlock account #12

Closed michielbdejong closed 7 years ago

michielbdejong commented 7 years ago

Using https://github.com/ethereum/web3.js/blob/master/test/web3.personal.unlockAccount.js it should be possible to get rid of authentication needed: password or unlock errors

sharafian commented 7 years ago

the way you should do that is by just unlocking the account on your ethereum provider. You can pass the accounts you want to unlock as CLI parameters when you start it

michielbdejong commented 7 years ago

That's an option, yes, but that's an extra step, and if you forget to do that after each time you restart your geth node, it becomes quite annoying quite quickly.

I already implemented it in #13. Your option of unlocking via cli and then omitting options.secret will still work.