LedgerHQ / ledger-live-desktop

⛔️ DEPRECATED - Ledger Live (Desktop)
https://www.ledger.com/live
MIT License
952 stars 301 forks source link

[FEATURE] Add FTX to live swap #4959

Open chabroA opened 2 years ago

chabroA commented 2 years ago

πŸ¦’ Context (issues, jira)

πŸ’» Description / Demo (image or video)

πŸ”— https://github.com/LedgerHQ/ledger-live-common/pull/1927

πŸ“Έ Screenshot of updated parts bellow πŸ‘‡

Settings page ![3](https://user-images.githubusercontent.com/9203826/156803834-ce206ee7-d1f0-49f9-96f9-6a9b4e766969.png) ![3](https://user-images.githubusercontent.com/9203826/156803861-02b8d8ee-e4f3-4894-864b-edd0ad95c0be.png) ![3 1](https://user-images.githubusercontent.com/9203826/156803876-e6f2bd3e-0636-4f44-94df-8d94c3619afc.png) ![3 1](https://user-images.githubusercontent.com/9203826/156803889-757bbbdf-8d5f-447d-8a6b-aa1fe3c543a5.png)
Swap page ### Before: ![1](https://user-images.githubusercontent.com/9203826/156804107-0e60c525-471c-4bab-a21b-4c176b57140e.png) ![2](https://user-images.githubusercontent.com/9203826/156804110-23f06465-8b66-4144-a6f8-1bbf7452b7e4.png) ### After: 1 2
New widgets ![Screenshot 2022-03-04 at 17 15 15](https://user-images.githubusercontent.com/9203826/156804376-3697690e-03a8-4220-b9b5-ec1ea39a5586.png) ![Screenshot 2022-03-04 at 17 15 47](https://user-images.githubusercontent.com/9203826/156804388-0144fad2-4b9d-4fbc-9773-0172fcbc1c28.png)

πŸ§ͺ QA steps:

To put it shortly, test the different login / KYC flows for swap with FTX and FTX US. FTX should always be first provider available.

You can use these test credentials in order to test each flow. Follow the instruction on the page to use a test account. ⚠️ Do not try to update KYC (i.e: submit the form) or enable MFA on any of these test accounts ⚠️

Use provider 7 to get the compatible nano apps

πŸ–€ Expectations to reach

PR must pass CI, rebase develop if conflicts. Thanks!

β˜‘οΈ TODO before merge / release

github-actions[bot] commented 2 years ago

Thanks for your contribution. To be groomed for next release, you need to:

github-actions[bot] commented 2 years ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements 23.46% 38/162
πŸ”΄ Branches 20.51% 8/39
πŸ”΄ Functions 3.64% 2/55
πŸ”΄ Lines 24.16% 36/149

Test suite run success

2 tests passing in 2 suites.

Report generated by πŸ§ͺjest coverage report action from 4f19bb24a11ce73c2d510e753365082ed4856b84