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 base structure for HWCommunication and logic for react side #2440

Closed
osvaldovega opened this issue Sep 13, 2019 · 0 comments
Assignees
Milestone

Comments

@osvaldovega
Copy link
Contributor

@osvaldovega osvaldovega commented Sep 13, 2019

This ticket is for implement the communication and src/utils/hwManager.js file with a basic structure.

What basic structure means:

  • Create file under libs/hwManager/communication.js
  • Create and export the need it function for communicate with the HWManager file
  • Create a hwManager.js file under src/utils that will be on charge to have the logic for the interaction between the hw devices and the react app.

The functions that are need it for the communication with the HW Manager and devices are:

  1. getPublickey
  2. signTransaction
  3. subscribeToDevicesList
  4. onDeviceConnected
  5. onDeviceDisconnected
  6. executeCommand
  7. CheckIfAppIsOpenForLedger

The functions that are need it for the hwManager.js file under src/utils are:

  1. getAccounts
  2. signSendTransaction
  3. signVoteTransaction
  4. CheckIfAppIsOpenForLedger
@osvaldovega osvaldovega added this to the Spike 1 milestone Sep 13, 2019
@osvaldovega osvaldovega self-assigned this Sep 13, 2019
@osvaldovega osvaldovega added this to Issues in Version 1.22.0 via automation Sep 13, 2019
osvaldovega added a commit that referenced this issue Sep 13, 2019
…WCommunication-and-logic-for-react-side

Create base structure for HWCommunication and logic for react side - closes #2440
Version 1.22.0 automation moved this from Issues to Closed Issues Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Version 1.22.0
  
Closed Issues
1 participant
You can’t perform that action at this time.