Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the useHWAccounts hook #4775

Closed
Tracked by #4041
soroushm opened this issue Jan 30, 2023 · 0 comments
Closed
Tracked by #4041

Create the useHWAccounts hook #4775

soroushm opened this issue Jan 30, 2023 · 0 comments

Comments

@soroushm
Copy link
Contributor

soroushm commented Jan 30, 2023

Description

UseHWAccounts is a hook that allows for account management access to the HW account and it will manipulate accounts in order to add account names from local storage and make them similar to the account management format. The main tasks of UseHWAccounts include:

Acceptance Criteria

  • Reading the HW account list from HWManager through the events emitted.
  • Add unit test

Additional information

The UseHWAccounts get list of accounts witch is already merged and ready from the HW Provider or store

{
  "hw": {
    deviceId: "",
    model: "",
    brand: "",
  },
  "metadata": {
    "name": "masoud123",
    "pubkey": "a07e06d3d21bfcbd6e6cb158a0adc18b6ccc92db66dc8a323c7462af9c539fab",
    "path": "",
    "accountIndex": 1, //HW index
    “isHW”: true,	
    "address": "lskdgtenb76rf93bzd56cqn6ova46wfvoesbk4hnd",
    "creationTime": "2022-12-08T15:30:39.979Z"
  },
  "version": 1
}
@reyraa reyraa changed the title Create useHWAccounts Create the useHWAccounts hook Jan 30, 2023
@sridharmeganathan sridharmeganathan added this to the Sprint 92 milestone Jan 30, 2023
@ikem-legend ikem-legend self-assigned this Jan 31, 2023
@ikem-legend ikem-legend moved this from Backlog to Todo in Lisk Desktop Version 3.0.0 Jan 31, 2023
@ikem-legend ikem-legend moved this from Todo to In Progress in Lisk Desktop Version 3.0.0 Jan 31, 2023
@ikem-legend ikem-legend moved this from In Progress to Pending Review in Lisk Desktop Version 3.0.0 Feb 3, 2023
@soroushm soroushm closed this as completed Feb 6, 2023
@github-project-automation github-project-automation bot moved this from Pending Review to Done in Lisk Desktop Version 3.0.0 Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants