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
3 tasks
osvaldovega opened this issue Sep 13, 2019 · 0 comments
Closed
3 tasks
Assignees
Milestone

Comments

@osvaldovega
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Version 1.22.0
  
Closed Issues
Development

No branches or pull requests

1 participant