Comments (3)
I think you need to give permissions in trezor popup page (with save option). after it is done you will be receiving events.
from community.
That works thanks. Once the origin is trusted it will receive device events.
{"permissions":[{"origin":"https://tmp.local:3000"}
I also noticed you need to call a method like
TrezorConnect.getPublicKey
for the popup page to show the option to save permissions.
If I only call TrezorConnect.getFeatures()
The popup page will not ask the user to trust the origin, its just blank and closes.
I am using the device events to subscribe to device connect events to show the device in a dropdown.
edit I can use this method: "https://trezor.github.io/trezor-suite/connect-explorer/#/method/cipherKeyValue"
I can display a message like activate trezor password manager.
However Its a very poor user experience, since they are prompted to connect as soon as they are on the site.
from community.
https://trezor.github.io/trezor-suite/connect-explorer/#/method/requestLogin-sync
This method is probably better, it causes the pop-up page to be displayed.
from community.
Related Issues (13)
- Password Manager Issues for a few sites? HOT 1
- Multi-line memo with custom fields for Password Manager HOT 2
- [REQ] Add Segwit Sign/Verify support to https://btc-bitcore1.trezor.io/messages/verify HOT 5
- [REQ] Implement RBF for BTC on beta-wallet.trezor.io HOT 4
- Possible USB TXN injection attack vector? HOT 3
- Change the links for the documentation for community and gitter. HOT 1
- For Trezor-One, how long should `trezorlib.debuglink.self_test` take? HOT 1
- Javascript Port of Slip--39 HOT 1
- [REQ] Add Mango Farm as RVN wallet HOT 4
- Remove link to non-authorized Amazon Reseller in Wiki HOT 1
- Unable to use Trezor wallet with Edge browser for Android HOT 2
- ChangeHero is a scam! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.