LBRY-Vault/plugins/trezor/qt.py
Neil Booth 21bf5a8a84 Better support for USB devices
Benefits of this rewrite include:

- support of disconnecting / reconnecting a device without having
  to close the wallet, even in a different USB socket
- support of multiple keepkey / trezor devices, both during wallet
  creation and general use
- wallet is watching-only dynamically according to whether the
  associated device is currently plugged in or not
2016-01-02 20:39:29 +09:00

11 lines
316 B
Python

from plugins.trezor.qt_generic import qt_plugin_class
from trezor import TrezorPlugin
class Plugin(qt_plugin_class(TrezorPlugin)):
icon_file = ":icons/trezor.png"
@classmethod
def pin_matrix_widget_class(self):
from trezorlib.qt.pinmatrix import PinMatrixWidget
return PinMatrixWidget