def __init__(self, config, name): BasePlugin.__init__(self, config, name) self._is_available = self._init() self._requires_settings = True self.wallet = None electrum.wallet.wallet_types.append( ('hardware', 'trezor', _("Trezor wallet"), TrezorWallet))
def toggle(self): out = BasePlugin.toggle(self) self.win.update_status() self.win.tabs.removeTab(1) new_send_tab = self.gui.main_window.create_send_tab() self.win.tabs.insertTab(1, new_send_tab, _('Send')) return out
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init()
def enable(self): return BasePlugin.enable(self)
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.config.get('currency', "BTC")] self.exchanges = [self.config.get('use_exchange', "MintPal")]
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "MintPal")] self.exchanger = None
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init() self.wallet = None electrum.wallet.wallet_types.append(('hardware', 'btchip', _("BTChip wallet"), BTChipWallet))