Open jbax opened 3 years ago
@jbax I added a project board, mind taking a look at it to edit it/provide feedback to make sure this is what is desired?
https://github.com/Daniel-SchaeferJ/envlp-cardano-wallet/projects/2
Yes but I'm hoping a big chunk of that work is already done by the cardano wallet backend.
What needs to be done first is:
obtaining the hw key that the backend can use to open the wallet
create draft transaction the hw wallet can sign
sign the transaction and submit that
On Sat, Jan 9, 2021, 6:01 AM Daniel Schaefer notifications@github.com wrote:
@jbax https://github.com/jbax I added a project board, mind taking a look at it to edit it/provide feedback to make sure this is what is desired?
https://github.com/Daniel-SchaeferJ/envlp-cardano-wallet/projects/2
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/uniVocity/envlp-cardano-wallet/issues/1#issuecomment-756952403, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWFQPS5Q2BOAOKJHY3D5J3SY5MRDANCNFSM4UQGFZ6Q .
Investigate how to enable support for Ledger hardware wallets. The client code could look something like this:
It looks like there is some interaction with the following endpoint of the cardano-wallet:
https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Keys
The library already has code that interacts with this endpoint, but it's not clear yet how that is used to enable communication with hardware wallets.
This looks like the way to go:
There are also a few projects in the cardano-foundation repository that seem to be used by daedalus:
https://github.com/cardano-foundation/ledgerjs-hw-app-cardano
https://github.com/cardano-foundation/ledger-app-cardano
I think the easiest way to go about this is to check out what daedalus does by inspecting its code, otherwise simply getting the
cardano-hw-cli
and invoking the commands via CLI should work just fine.