def derive_bip32_seed(self, seed, passphrase): self.bip32_seed = Mnemonic_Electrum('en').mnemonic_to_seed( seed, passphrase)
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)