status-desktop/ui
Alex Jbanca 00fb1ff60a
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-09 00:38:52 +02:00
..
StatusQ fix(StatusQ): Do not require ssl to check the internet connection 2024-11-07 21:06:11 +02:00
app fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-09 00:38:52 +02:00
fonts
i18n
imports fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-09 00:38:52 +02:00
include/StatusDesktop/Monitoring
src/StatusDesktop/Monitoring
MonitoringSources.cmake
generate-rcc.go
main.qml isAlias moved from Utils to UtilsStore 2024-10-28 23:16:31 +01:00
nim-status-client.pro chore: help QtCreator find the new StatusQ module 2024-10-22 15:54:31 +02:00