-
-
Notifications
You must be signed in to change notification settings - Fork 262
Trezor Connect Electron integration #245
Comments
Hi @bestdude, |
Thanks, @prusnak , When can I use it supported electron? Because I want to develop a demo application for my teams this month. I have to decide to use trezor.js or connect for the time being. Do you have a demo use trezor.js? |
@szymonlesisz can you please describe what needs to done/fixed to use Connect in an Electron app? |
Over a year ago we took steps, including using a forked version of trezor.js for months, in order to get Trezor working with our MyCrypto Electron app. Now we're back to square 1 as, once again, Electron apps no way of communicating with Trezor devices. The "Safety check failed" error is now our # 1 support ticket with our users. While I understand Trezor has a lot going on, our in production and highly used applications are now broken due to the recent upgrades and, even worse, we have no path forward to resolve this matter. While I understand you view using trezor.js as an obsolete library, it's the only library that worked for electron applications + trezor. What can we do to get this resolved? |
@tayvano we fixed for now the issue with this change. https://github.com/SelfKeyFoundation/trezor-wallet-provider/pull/6/files though we know it can break at anytime they change something on the firmware or trezor-link and won't update trezor.js. We will investigate if we can start using trezor-connect but I guess it will not be an easy thing. Cheers |
Guys, good news. I've managed to run it inside electron. It could be used 100% offline (without serving connect from connect.trezor.io domain) with our UI/popup or without it (your own custom UI/modals) Note that i'm not an expert in electron env, so i will appreciate your help and hints. |
@szymonlesisz thanks a lot. we can't wait for it. Anything you need please let me know. Cheers |
@szymonlesisz thanks, this is good news |
so here it is: description in readme, try it and let me know is it working for you |
do you guys maybe know how to solve this issue with missing |
@szymonlesisz We have only been able to implement a bandaid solution using trezor js for now |
This is a little bit outdated, but better late than never. Electron examples: |
💖 |
I’m trying to integrate trezor connect v6 to my electron application, but it seems it is not compatible,
as popup\iframe window flow does not succeed. In one case popup cannot be created because of electron Window open differences. If I specify nativeWindowOpen for compatibility it doesn’t crash on the step of popup creation, but it just fails on the further steps.
Can you suggest what can be wrong or is it just not compatible? Are you aware
of any successful integrations into electron app?
The text was updated successfully, but these errors were encountered: