You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UseHWStatus is a custom hook that allows for easy access to the status of a hardware wallet (HW) from within the application. It retrieves the status information from the HW Manager and makes it available to be used in different parts of the application, such as displaying the status on the top bar or prompting the user to reconnect the device before signing a transaction.
Acceptance Criteria
Retrieving the HW status from the HW Manager
Making the status information available to be used throughout the application
Make sure status is always is up to date. e.g. Subscribe to the events from HWManager and update the status accordingly
Add Unit test
Additional information
The status information returned by UseHWStatus should include the device ID, model, brand, and status of the HW, with possible values of "connected", and "standby". The "standby" status means that the framework channel is closed and needs to be reconfirmed.
The status object should have the following structure:
Description
UseHWStatus is a custom hook that allows for easy access to the status of a hardware wallet (HW) from within the application. It retrieves the status information from the HW Manager and makes it available to be used in different parts of the application, such as displaying the status on the top bar or prompting the user to reconnect the device before signing a transaction.
Acceptance Criteria
Retrieving the HW status from the HW Manager
Making the status information available to be used throughout the application
Make sure status is always is up to date. e.g. Subscribe to the events from HWManager and update the status accordingly
Add Unit test
Additional information
The status information returned by UseHWStatus should include the device ID, model, brand, and status of the HW, with possible values of "connected", and "standby". The "standby" status means that the framework channel is closed and needs to be reconfirmed.
The status object should have the following structure:
The text was updated successfully, but these errors were encountered: