status-desktop/ui/app/AppLayouts/Wallet
Alex Jbanca 106988d534 fix(WC): Refactor dapps service to work with multiple SDKs
This PR is refactoring the dapps service to avoid code duplication between SDKs and also to avoid overlapping requests/responses.
It brings Browser Connect inline with Wallet Connect in terms of session management and sign transactions.

New architecture:

WalletConnectService becomes DAppsService. Its responsibility is to provide dapp access to the app. This is the component currently used by the UI
What does it do:
1. Provide dapp APIs line connect, disconnect, session requests etc
2. Spawn app notifications on dapp events
3. Timeout requests if the dapp does not respons

DAppsRequestHandler becomes DAppsModule. This component is consumed by the DAppService. Its responsibility is to aggregate all the building blocks for the dapps, but does not control any of the dapp features or consume the SDKs requests.
What does it do:
1. Aggregate all the building blocks for dapps (currently known as plugins)

DAppConnectionsPlugin - This component provides the session management features line connect, disconnect and provide a model with the connected dapps.
SignRequestPlugin - This component provides the sign request management. It receives the sign request from the dapp, translates it to what Status understands and manages the lifecycle of the request.
2024-11-20 18:10:29 +02:00
..
adaptors [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
controls feat(WC): Enable Wallet Connect feature by default 2024-11-20 18:10:29 +02:00
helpers feat(WC): Handle unavailable chains or internet connection 2024-11-20 18:10:29 +02:00
panels fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
popups chore: remove unused components 2024-11-08 17:09:14 -03:00
services/dapps fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
stores feat(activity): remove activity details screen 2024-11-08 17:09:14 -03:00
views feat(WC): Enable Wallet Connect feature by default 2024-11-20 18:10:29 +02:00
WalletLayout.qml feat(WC): Enable Wallet Connect feature by default 2024-11-20 18:10:29 +02:00
WalletUtils.qml feat(@desktop/wallet): Remove preferred chains from wallet accounts all over the app 2024-10-11 18:48:37 +02:00
qmldir feat(token mgmt): update main wallet view layout with community assets 2023-12-06 11:18:36 +01:00