-
Notifications
You must be signed in to change notification settings - Fork 24
Trezor integration #387
Comments
@fboucquez What do you mean by "Ledger integration has created all the abstractions to add Trezor profiles" and "Trezor Ledger Client" ? Regarding the API its quite easy. Everything is protobuf based, you send a protobuf corresponding to the transaction you want to execute and you get back a protobuf with the result. You can see the symbol protobufs here: |
Hi @Momo10101 , I think there are 2 parts to the story.
Basically a client like these (but for trezor): https://github.com/symbol/desktop-wallet/blob/dev/src/core/utils/Ledger.ts In my opinion, the problem with protobuf is that it's another schema related to symbol transactions we need to maintain. We also need to create and mantain the mappers from/to catbuffer builders/symbol transaction and protobuf. The nice thing about the ledger client is that it sends catbuffer serialized payloads, so the integration is fairly trivial. In this Trezor case, a Trezor TS client would be more complicated as it would need to translate symbol objects/builders to/back protobuf. I am imagining the Trezor native app would also need to serialize protobuf to catbuffer in order to hash/sign. What about:
Makes sense? |
Add the possibility to create Trezor profiles connected to a Trezor device.
I believe the Ledger integration has created all the abstractions to add Trezor profiles and SigningAccount objects, what we don't have yet is a Trezor Ledger Client that integrates with the Trezor native app
@Momo10101 do you have the API specification between the client and the native Trezor app? Have you used the emultor? Does it use binaries like Ledger Speculus?
The text was updated successfully, but these errors were encountered: