Commit graph

3 commits

Author SHA1 Message Date
infiinte-persistence
3ca0c8d204 CoinSwap: handle "receiving/received LBC" 2021-04-12 16:18:51 -04:00
infiinte-persistence
5f3a40a420 CoinSwap: websocket + multi-coin
- For the active swap, switch from polling to websocket. The returned data is now the Charge data from the commerce, so some parsing will be required.

- Only save the 'chargeCode' to the wallet. The other data can be repopulated from this.
2021-04-07 14:35:15 -04:00
infiinte-persistence
8335c9d2de Save CoinSwapInfo instead of just the swap address.
User should be able to retrieve the expected send/receive amount, otherwise they might be sending insufficient amounts.

This change also includes the coin type, as we might be supporting other coins beyond BTC.
2021-04-07 14:35:15 -04:00