Stellar-Wallets-Kit icon indicating copy to clipboard operation
Stellar-Wallets-Kit copied to clipboard

FEAT: Add Trezor Wallet Integration

Open lauchaves opened this issue 1 year ago • 2 comments

  • What kind of change does this PR introduce?

    • This PR introduces a Feature.
  • What is the current behavior?

  • What is the new behavior (if this is a feature change)?

    • The new behavior includes the integration of the Trezor hardware wallet, following the Stellar Wallets Kit Docs. A new "module" compatible with the kit has been developed.
    • The following functionalities were implemented:
      • Checking if a Trezor device is available.
      • Retrieving the public key from a connected Trezor device.
      • Signing Stellar transactions using the Trezor device.
  • Other information:

    • This feature uses the @trezor/connect , @trezor/connect-plugin-stellar libraries and @stellar/stellar-sdk libraries.
    • It supports essential Trezor functionalities but does not support signing random blobs or authorization entries.
    • Detailed error handling and logging have been implemented to ensure better debugging and user feedback.
  • Resources:

lauchaves avatar Jun 28 '24 04:06 lauchaves

Checking this and it doesn't work, there are missing npm packages and there are called functions that doesn't exist or the classes haven't been started before calling the functions (for example getFeatures).

earrietadev avatar Jul 02 '24 20:07 earrietadev

Hey @earrietadev,

I am still experiencing issues running the kit locally. Here's the process I followed:

  • I ran npm i, npm run build and then npm run pack on the kit.
  • In the project,(the create-react-app) I installed the .tgz from the kit.
  • I confirmed that the kit was properly installed in the node_modules folder

Despite these steps, I am getting an error stating that the module cannot be found. Is there a step that I might be missing?

Additionally, I wanted to let you know that I am really into this project and am eager to finish it. I have learned a lot by reading over the Trevor and Stellar wallet kits docs, however, I might not be able to work properly on this until next Monday when I return to Costa Rica. I am currently in the Dominican Republic and experiencing a lot connectivity issues due to Hurricane Beryl that's passing now.

Thank you for your understanding. I look forward to hearing back from you!

lauchaves avatar Jul 02 '24 20:07 lauchaves