To improve security of the storage, I'm proposing to use eth-keyring-controller which provides a unified enclave like way to sign transaction. The enclave/controller prevents any leakage of privateKey, stores multiple type of keyring in a standard way, and provide proper lock & unlock (Lock removes all the private key in memory store, which makes secure!)
Tasks
[x] evaluate the impact on the code
[ ] need event passing between popup & background for add/remove wallet, and get wallets
[ ] migrate function
[ ] migrate UI
[x] add wallet functionality
[x] serialization of keyring-controller and meta data
Motivation
To improve security of the storage, I'm proposing to use
eth-keyring-controller
which provides a unified enclave like way to sign transaction. The enclave/controller prevents any leakage of privateKey, stores multiple type of keyring in a standard way, and provide proper lock & unlock (Lock removes all the private key in memory store, which makes secure!)Tasks