Open schancel opened 4 years ago
Possible solutions in order of complexity, ascending.
I think it is possible to get away with something like 1 on the home send screen given that the connection is on websockets (will not persist in background or in other apps afaik) and hence, we have notifications only when the user has his attention on the app open?
The most important part is fixing up the electrum api.
Yes, 1 works easily with some refactor. I looked into the other two briefly. 2 seems preferrable as you don't need any changes to the electrum API. Anything else would require us putting some kind of intermediate layer up that we have to run ourselves. Maybe in time we'll want to developer our own indexer, because electrum kinda sucks.
We need to notify the user when they've received a transaction and for how much. A OS notification would be good.