Beispiel #1
0
def deleted_wallet(tg_id):
    wallet = cache.get_wallet(tg_id)
    txt = f"wallet {wallet['title']} has been deleted."
    return txt
Beispiel #2
0
def confirm_delete_wallet(tg_id):
    wallet = cache.get_wallet(tg_id)
    txt = f"You are about to delete your wallet {wallet['title']}. Is that correct?\n\n" \
          f"тЪая╕П This action cannot be undone. You will lose your money if you didn't save the seed phrase or private key."
    return txt
Beispiel #3
0
def show_phrase(tg_id):
    wallet = cache.get_wallet(tg_id)
    txt = f"Seed phrase for this wallet {wallet['title']}\n\n" \
          f"```{wallet['mnemonic']}```"
    return txt
Beispiel #4
0
def delete_wallet(tg_id):
    wallet = cache.get_wallet(tg_id)
    txt = f"You are about to delete your wallet {wallet['title']}. Is that correct? "
    return txt
Beispiel #5
0
def settings_wallet(tg_id):
    wallet = cache.get_wallet(tg_id)
    txt = f"Here it is: {wallet['title']}\n\n" \
          f"What do you want to do with the wallet?"
    return txt