Weekly Edition for Thursday, Nov 19
Complete countervalues rework
This is a breaking changes.
We have completely reworked the way countervalues logic works as well as moved to a new Countervalues API. It have better performance, better accuracy and coverage of countervalues. We fixes through this many known issues like some fiat support missing (AUD for instance), many erc20 countervalues price missing, hole or peaks in the data,… We also add some features like hourly granularity.
Technically, everything has changed: we no longer are expecting the user land to have redux and this logic can in fact be used (and is used) by the CLI. In term of React integration, we have defined some React hooks to solve classical usecases (like calculating countervalues).
This will be documented soon in https://github.com/LedgerHQ/ledger-live-common/blob/master/docs/countervalues.md
You can see these PRs as reference: - live-common https://github.com/LedgerHQ/ledger-live-common/pull/892 - live-desktop https://github.com/LedgerHQ/ledger-live-desktop/pull/3194 - live-mobile https://github.com/LedgerHQ/ledger-live-mobile/pull/1410
quit app logic
The quit app mechanism is now active by default for everyone. During device flows, the device will automatically quit the app when another app is needed (e.g. receive,send,add accounts) or when we need the dashboard (e.g. manager). It makes the whole experience really smooth in worse case scenario: if my device is in the Litecoin app and i need to add Bitcoin accounts, the only thing i need to do on my device is to accept the opening of Bitcoin. If the device is locked, we also will correctly handle the fact that it would get correctly restored and potentially would automatically close Bitcoin and intent-open again in case of 0x6f04 which can happen when device is locked (it's a tradeoff until firmapps address it).
To fix LL-3497, we made sure that optimistic operations were working for ASA transactions. This also shall make the parent transaction a "FEE" operation.
We have upgraded ripple-lib. No changes expected, things should work as normally.
Business logic for Sell feature.
Change the import of
ETH 2 deposit contract API (