GuidesRecovery

Find the descriptor

Look for a copy of the wallet's descriptor wherever one can still be, and know what you can and cannot do without it.

Liana cannot open a wallet without its descriptor, even with every seed phrase. Search the places below, the likeliest first.

Do not delete anything while you search

Keep every computer that ran Liana, every disk backup and every signing device as it is. Deleting the wallet in Liana's launcher, reinstalling the operating system or resetting a signing device can destroy the last copy of the descriptor.

Copy the descriptor from Liana

On a computer where Liana still opens the wallet:

Open the wallet settings

Open the wallet, then go to Settings > Wallet.

Save the encrypted descriptor backup

Liana shows the descriptor under Wallet descriptor:. Select Back up encrypted descriptor under it, then save the file. Liana suggests the name liana.bip138.

Need the descriptor as text?

The copy icon next to the descriptor copies the plain-text descriptor. Use that text for a task that needs it. Wizardsardine does not recommend keeping it as a backup, for privacy. Whoever reads it sees your balance, your history and your timelocks, as The descriptor is private, not secret explains.

Then make new copies, as Back up your wallet describes.

Get it back from Liana Connect

If the wallet used Liana Connect, Wizardsardine keeps its descriptor. You need access to the email address of the account.

Log in to Liana Connect

In Liana, add an existing wallet, click Select under Use Liana Connect, and log in with that email address. Claim an inheritance shows each screen.

Select the wallet

On Add wallet, select the wallet under Load a previously used wallet, then finish the installer steps. Once the wallet opens, Settings > Wallet shows the descriptor.

Search for a backup file

Liana suggests these file names when it saves a copy:

  • liana.bip138: The encrypted descriptor, from the installer's Back up descriptor or from Back up encrypted descriptor. Decrypt it with a key of the wallet. Liana 15.0 and earlier gave it another name.
  • liana-backup-<date>.json: A wallet backup from Settings > Import/export > Export wallet. It holds the descriptor in plain text, with the labels and the names of the keys.
  • liana-<checksum>.txt: The descriptor in plain text, from Descriptor only - plain-text in the same menu.

Search your cloud storage, your email, USB drives and other computers for these names. Also search for text that starts with wsh( or tr(. Check any paper kept with the seed phrases, and any letter left for an heir.

Decrypt an encrypted backup

Liana decrypts the file with any key of the wallet: a signing device, or its xpub. The file has no password.

Decrypt with a signing device or an xpub, never a seed phrase

Decrypt backup file also offers UNSAFE: Enter the seed phrase of one of the keys. Malware on the computer can read a seed phrase typed into it, then take the bitcoin. Use that option only for a hot key, which already lives on a computer.

Start adding the wallet

In Liana, click Select under Add an existing Liana wallet. If Liana already lists wallets, select Add wallet first. On Choose backend, click Select under Use your own node or Use Liana Connect.

Select the file

With your own node, select Import a backup on Import the wallet. With Liana Connect, log in, then select Other options > Import a descriptor on Add wallet. Select the liana.bip138 file.

Liana's Import the wallet screen with the Import a backup and Paste a descriptor entries above an inactive Next button.
With your own node, select Import a backup, then the liana.bip138 file.

Connect a key of the wallet

Liana opens Decrypt backup file. Connect and unlock any signing device of the wallet. For a device that never connects to a computer, select Other options, then import or paste its xpub.

Liana's Decrypt backup file window with No signing device detected, and under Other options the choices Import extended public key file (xpub), Paste an extended public key (xpub) and UNSAFE: Enter the seed phrase of one of the keys.
Connect a signing device of the wallet, or give one of its xpubs under Other options, to decrypt the file.

Liana decrypts the file and continues the setup. If Liana asks Try other derivation paths?, the device could not decrypt the file with the derivation paths Liana uses. Select Skip, unless the wallet holds an xpub that other software exported from this device: then select Try other derivation paths. If Liana shows Failed to decrypt file with this device, that device holds no key of this wallet. Connect another signing device of the wallet, or give one of its xpubs under Other options. Once the wallet opens, Settings > Wallet shows the descriptor.

Open a backup from Liana 15.0 or earlier

Liana 13.0 to 15.0 saved the encrypted descriptor as liana.bed, in an early version of the BIP 138 format. Liana 16.0 opens that file with the steps above. It recognizes the format from the content of the file, not from its name. Liana 15.0 and earlier cannot open a liana.bip138 file, so use Liana 16.0 or later to open one.

Read it in Liana's data directory

A computer that ran the wallet with your own node keeps the descriptor in a file named daemon.toml, even if Liana no longer opens. A disk backup of that computer can hold it too. A wallet on Liana Connect has no such file, so get it back from Liana Connect instead.

Liana's data directory is here:

~/.liana

Each mainnet wallet has its own folder, named after the checksum of its descriptor and its creation time:

daemon.toml

Search the data directory for every file named daemon.toml, because a wallet from an older version of Liana keeps it directly in the bitcoin folder. Open the file in a text editor. The line that starts with main_descriptor holds the descriptor, between quotes.

Export it from a Coldcard

A Coldcard keeps each descriptor registered on it, and can save it to an SD card.

Open the wallet on the Coldcard

Unlock the Coldcard, then go to Settings > Multisig/Miniscript. Select the wallet, which Liana registers as Liana- followed by the descriptor's checksum. A wallet registered from a file takes the file's name instead, such as liana-<checksum>.

No Settings menu on the Coldcard?

With the Single-Signer spending policy active, the Coldcard hides the Settings menu. See Coldcard.

Export the descriptor

Select Descriptors > Export, then press 1 to save the file to the SD card. The Coldcard names it minsc- followed by the wallet's name, such as minsc-Liana-<checksum>.txt. The file holds the whole descriptor. Its checksum can differ from the one in the wallet's name, because the Coldcard writes hardened steps as h instead of '. The descriptor is the same.

A Coldcard Q screen showing the Descriptors menu of a Liana wallet, with Export selected above Bitcoin Core and BIP-388 Policy.
Select Export to save the whole descriptor to the SD card.

The other signing devices give less back, or nothing at all:

  • Ledger and BitBox02: They keep no copy of the descriptor.
  • Krux: It forgets the descriptor when it turns off. Check its microSD card, where Krux can save a copy.
  • Blockstream Jade: It shows a registered wallet, keys included, under Options > Wallet > Registered Wallets. Its menus cannot export it. Software that talks to an unlocked Jade over USB, such as Blockstream's jadepy, can read it back.

Ask the people who hold a copy

A descriptor cannot spend, so the owner may have handed out copies:

  • Cosigners and heirs: Everyone who holds a key of the wallet needs the same descriptor to use that key.
  • A notary or a lawyer: The owner may have filed it with estate documents.

Know what you cannot do without it

  • Count on rebuilding it in the installer: A new wallet with the same keys and timelocks can get a different descriptor. It then has different addresses and shows none of the coins.
  • Get it from Wizardsardine without Liana Connect: A wallet that does not use Liana Connect never sends its descriptor to Wizardsardine.

Next steps