コード例 #1
0
 def derive_bip32_seed(self, seed, passphrase):
     self.bip32_seed = Mnemonic_Electrum('en').mnemonic_to_seed(
         seed, passphrase)
コード例 #2
0
 def create_seed(self, wizard):
     wizard.seed_type = 'electrum'
     wizard.opt_bip39 = False
     seed = Mnemonic_Electrum('en').make_seed(wizard.seed_type)
     f = lambda x: self.request_passphrase(wizard, seed, x)
     wizard.show_seed_dialog(run_next=f, seed_text=seed)