GuidesWallet policy

Set up inheritance

Give your heir a timelocked key to your wallet, and everything they need to use it.

In a Simple inheritance wallet, your heir holds the Inheritance key. That key can spend a coin only after the coin has stayed unmoved for the timelock, 52,596 blocks (about 1 year) by default.

You will need

  • Your signing device: Set up, with its seed phrase written down. Each model has its page under Signing devices.
  • A signing device for your heir: A separate device from yours. Your heir sets it up in Get your heir's key.

To add an heir to a wallet you already use, you create a new wallet and move your coins to it. Change a policy has the procedure.

Choose who can recover, and when

Two key holders under Simple inheritance, each on a path to the same coin. You, on the primary path, can spend at any time. Your heir, on the recovery path, can spend once the coin has stayed unmoved for 52,596 blocks (about 1 year), the default.
Your key spends at any time. Your heir's key waits for the timelock.

Simple inheritance gives one heir one key. Keep its default timelock of 52,596 blocks (about 1 year), unless Set the timelock of each recovery path shows a better fit.

For heirs who must sign together, or heirs who gain access at different dates, select Build your own instead. Choose a policy covers it.

Staged paths under Build your own, drawn to scale from the block that confirms a coin. Your key can spend at any time. Your partner's key can spend after 26,298 blocks (about 6 months). Your two children's keys can spend together after 52,596 blocks (about 1 year). When the coin moves, its clock starts again at 0 blocks.
Staged recovery paths under Build your own. Each path needs its own timelock. Each coin keeps its own clock, which starts again when the coin moves.

Get your heir's key

Your heir exports the xpub of their signing device and sends it to you. An xpub cannot move bitcoin, so it needs no secret channel. A private channel is enough, for example a direct message in an encrypted messaging app, or an email. Never publish it.

This xpub opens your encrypted descriptor backup

Once this key is part of your wallet, whoever holds the xpub and a copy of your encrypted descriptor backup can decrypt that file. They then see your balance, your history and your timelocks. They still cannot move a coin. One xpub is enough to decrypt explains why.

A swapped xpub gives the recovery path to someone else

Whoever replaces the xpub on its way to you puts their own key on the recovery path, in place of your heir's. Their key can then spend any coin that stays unmoved for the whole timelock. The safest way is to meet your heir and connect their signing device to your computer, so that Liana reads the xpub from the device. At a distance, check the xpub with your heir over a second channel before you use it. Before the wallet receives bitcoin, have your heir's device open the descriptor backup.

Your heir's xpub travels to you over a private channel, where an attacker could swap it for their own, so over a call or meeting you check together that the xpub you received and the one on your heir's Liana screen are identical, and you use it only if they are.
Check over a second channel that the two xpubs are identical before you use it.

Set up the heir's signing device

Your heir sets up the device and writes down its seed phrase. The device's page under Signing devices has the steps.

Open Share xpubs in Liana

Your heir opens Liana and selects Share xpubs at the top of the launcher. Liana opens Share your extended public keys (xpubs). Install Liana has the download steps.

Export the xpub

Your heir connects and unlocks the device, then selects it in the list. Liana shows the xpub. Your heir selects Export, saves the liana.pub file, and sends it to you over a private channel.

Check the xpub with your heir

Call your heir by voice or video, so that you recognize them, or meet them. Your heir selects their signing device again on Share your extended public keys (xpubs). Open the liana.pub file you received in a text editor. Check together that its xpub and the one your heir's Liana shows are identical.

If you cannot call, ask your heir to send the xpub again over a second, separate channel, for example an encrypted messaging app after an email. Check that both copies are identical. This check is weaker than a call. It shows that nobody changed the xpub on one of the two channels, not who sent it.

Use the xpub only if they match.

Build the inheritance wallet

Start a Simple inheritance wallet

In the launcher, select Add wallet if Liana already lists a wallet. Under Create a new Liana wallet, click Select. On Choose wallet type, select Simple inheritance, then select Next on the Introduction screen.

Set your Primary key

Connect and unlock your signing device. Select Set next to Primary key, then select the device under Detected devices. Enter a name in Key name (alias): and select Apply.

Add your heir's xpub as the Inheritance key

Select Set next to Inheritance key. Select Other options, then Import extended public key file (xpub), and select the liana.pub file. Enter a name such as Heir key, and select Apply.

If your heir sent the xpub as text, select Paste an extended public key (xpub) instead.

Confirm the timelock

Next to Available after inactivity of ~, Liana shows 1y, the default of 52,596 blocks. To change it, select the duration, enter a number of blocks, and select Apply. Then select Next.

Set keys for a Simple inheritance wallet with My Ledger as the Primary key, Heir key as the Inheritance key, 1y next to Available after inactivity of ~, and an active Next button.
Both keys are set and the recovery path opens after about a year. Select Next.

Back up the descriptor

On Back up your wallet configuration (descriptor), select Back up descriptor and save the liana.bip138 file. Tick I have backed up my descriptor, then select Next.

The descriptor backup screen with the Back up descriptor button, the wallet policy of My Ledger and Heir key after 52596 blocks, and I have backed up my descriptor ticked above Next.
Save the encrypted file, then tick the box to continue.

Register the descriptor on your signing device

On Register descriptor, select your device and approve the registration on its screen. Tick I have registered the descriptor on my device(s), then select Next.

Finish the setup

Select a backend and name the wallet, as Choose a backend and Finish the setup describe.

Write the letter for your heir

Adapt the template below and keep one copy of the letter with each copy of the descriptor. If your policy has several recovery paths, say which one belongs to your heir.

Rehearse the recovery on signet

Build the same wallet on signet, with a timelock of 144 blocks (about 1 day). Then let your heir recover it by following the letter, without your help. Signet coins are worthless, so every mistake is free. Try Liana on signet sets up the network.

Hand the package to your heir

Your heir needs their key, the descriptor, and the letter:

ItemWho keeps itCan it move bitcoin?
Your heir's signing device and its PINYour heirYes, through the recovery path, for each coin whose timelock has run out
The seed phrase of that deviceYour heir, offline, apart from the deviceYes, like the device
The encrypted descriptor backup, liana.bip138Your heir, and as many other private places as you likeNo
The letterWith every copy of the descriptorNo

Give your heir the encrypted descriptor backup, the liana.bip138 file. Opening it needs a key of this wallet, such as your heir's signing device. Wizardsardine does not recommend giving the plain-text descriptor instead, for privacy. Whoever reads it sees your balance, your history and your timelocks, as The descriptor is private, not secret explains.

Before the wallet receives bitcoin, have your heir open the file with their signing device, as Decrypt an encrypted backup shows. A file opens only with a key of its wallet, so this confirms that your heir's device holds one. Hand the file over in person, or send it over another channel than the one that carried the xpub. Someone who swapped the xpub can also send your heir a file that their device opens.

If Liana shows Failed to decrypt file with this device, unlock the device and try again. If the message comes back, the wallet does not hold that device's key. Get your heir's xpub again and check it. Then build a new wallet with it and move your coins before any of them stays unmoved for the whole timelock, as Change a policy shows.

Your heir cannot recover without the descriptor

The key alone cannot find the coins of this wallet. The encrypted descriptor backup cannot move bitcoin. Keep as many copies of it as you like, in private places.

Choose where to keep the descriptor

Choose a private place for each copy of the encrypted descriptor backup. Store the descriptor lists examples.

Keep the recovery path closed

A recovery key is delayed, not disabled

Once a coin has stayed unmoved for the whole timelock, your heir's key can spend it without you. Each coin has its own clock, so a wallet you use every week can still hold an old coin that has matured.

Every payment you make restarts the clock on the coins it creates. A coin you never move needs a refresh, a transaction from your wallet back to itself. When the Dashboard warns that a recovery path is or will soon be available, follow Refresh coins.

Update the package after a policy change

A new key, timelock, or recovery path means a new descriptor. Every copy of the old one then leads to an empty wallet.

Export the new descriptor

In the new wallet, go to Settings > Wallet and select Back up encrypted descriptor.

Settings > Wallet with the wallet descriptor, the Back up encrypted descriptor and Register on device buttons, and the policy card listing My Ledger on the primary path and Heir key after 52596 blocks.
Settings > Wallet backs up the descriptor again and shows the path your heir's key opens.

Add the new descriptor to every place

Wizardsardine recommends keeping the old encrypted descriptor backup in every place that holds a copy. Rename it, as Keep an archive of the old wallet explains, then add the new encrypted descriptor backup next to it. Update the letter if the file name or the timelock changed.

Next steps