Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 def __init__(self, x, y):
     BasePlugin.__init__(self, x, y)
     electrum_peseta.wallet.wallet_types.append(
         ('twofactor', '2fa', _("Wallet with two-factor authentication"),
          Wallet_2fa))
     self.seed_func = lambda x: bitcoin.is_new_seed(x, SEED_PREFIX)
     self.billing_info = None
Ejemplo n.º 3
0
 def enable(self):
     return BasePlugin.enable(self)
Ejemplo n.º 4
0
 def __init__(self, config, name):
     BasePlugin.__init__(self, config, name)
     if self.is_available():
         self.modem_config = amodem.config.slowest()
         self.library_name = {'Linux': 'libportaudio.so'}[platform.system()]
Ejemplo n.º 5
0
 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))
Ejemplo n.º 6
0
 def __init__(self, gui, name):
     print_msg('[OA] Initialiasing OpenAlias plugin, OA_READY is ' +
               str(OA_READY))
     BasePlugin.__init__(self, gui, name)
     self._is_available = OA_READY
Ejemplo n.º 7
0
 def __init__(self, a, b):
     BasePlugin.__init__(self, a, b)
     self.currencies = [self.fiat_unit()]
     self.exchanges = [self.config.get('use_exchange', "Bter")]
     self.exchanger = None