Beispiel #1
0
def show_seed():
    if wallet.use_encryption:
        password  = droid.dialogGetPassword('Seed').result
        if not password: return
    else:
        password = None
    
    try:
        seed = wallet.get_seed(password)
    except Exception:
        modal_dialog('error','incorrect password')
        return

    modal_dialog('Your seed is',seed)
    modal_dialog('Mnemonic code:', ' '.join(mnemonic_encode(seed)) )
Beispiel #2
0
 def show_seed(self):
     modal_dialog('Your seed is:', wallet.seed)
     modal_dialog('Mnemonic code:', ' '.join(mnemonic_encode(wallet.seed)) )