Open lukaw3d opened 2 years ago
Proof of concept https://github.com/oasisprotocol/wallet-poc/pull/1
Main issues with proof of concept - storing and syncing whole redux state:
Instead of persisting and syncing everything, we should be more selective.
Current state, by longterm-ness
We definitely need to store: theme, network (partially), wallet, selected account, dapp (soon) and we definitely shouldn't store and sync: fatalError.
More considerations:
state.wallets[*].balance
Defer/ignore:
Updated
Deferred out of https://github.com/oasisprotocol/oasis-wallet-web/pull/975
Extension:
Add an option to keep imported accounts in password-encrypted localStorage
Currently user loses all state on reload.
Make sure stored information is also migrate-able from existing extension https://github.com/oasisprotocol/oasis-wallet-ext/blob/e6998cff910449fd0f33fc998d9c5e306d59aa99/src/background/service/APIService.js#L177-L189