FEAT: Add Trezor Wallet Integration
-
What kind of change does this PR introduce?
- This PR introduces a Feature.
-
What is the current behavior?
- Currently there is does not have support for integrating the Trezor hardware wallet.
- Issue: Add Trezor Wallet connection
-
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 librariesand@stellar/stellar-sdklibraries. - 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.
- This feature uses the
-
Resources:
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).
Hey @earrietadev,
I am still experiencing issues running the kit locally. Here's the process I followed:
- I ran
npm i,npm run buildand thennpm run packon the kit. - In the project,(the create-react-app) I installed the
.tgzfrom the kit. - I confirmed that the kit was properly installed in the
node_modulesfolder
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!