trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

Implement --unlock-all flag to unlock all accounts (known or not) for eth_signTransaction, eth_sign, and eth_signTypedData_v4 #3790

Open satyajeetkolhapure opened 2 years ago

satyajeetkolhapure commented 2 years ago

This option is implemented for eth_sendTransaction in PR

Note : eth_sendTransaction does not need original private key so fake private key is used. For eth_signTransaction, eth_sign, and eth_signTypedData_v4 there is a dependency on private key and fake private key won't work

for reference - https://github.com/trufflesuite/ganache/issues/3620