Devices

Hot key

Liana can generate a key and keep it on your computer for tests, at the price of a seed phrase stored unencrypted on disk.

A hot key signs from inside Liana, with no signing device to connect. Its only backup is the 12 words Liana shows once, when you create the wallet.

Before you start

Use a hot key for tests only

Liana writes the 12 words of a hot key to a plain text file on this computer, and asks for no password. Malware, or anyone who can read your files, can copy the words and spend any coins the key can spend on its own. Outside tests, a hot key is only for an expert who knowingly accepts this risk and its known limitations.

A hot key suits two kinds of tests:

  • Signet, testnet and regtest: The coins have no value. Try Liana on signet builds such a wallet.
  • Rehearsals: You walk through a refresh or a recovery before you repeat it with signing devices.

For real bitcoin you keep, use a signing device.

You need paper or metal for the 12 words, and the installer open on the Set keys screen of a new wallet. Create your first wallet takes you there.

Add a hot key to a wallet

Open the key source window

On the Set keys screen, select Set on the key that the hot key fills. Liana opens Select key source.

Generate the hot key

Select Other options, then Generate hot key stored on this computer.

Name the key

Liana fills Key name (alias): with Hot signer. Keep it or enter another name of 24 characters at most, then select Apply. Liana shows this name each time you sign.

Liana generates one hot key per wallet. Once you apply it, the window lists the key under Already used sources and no longer offers to generate one.

Back up the seed phrase

No other backup holds the seed phrase

The descriptor file and the Export wallet file do not contain it. Your written copy is the only one that lives off this computer.

Write down the 12 words

After Set keys, Liana shows Back up your seed phrase. Write the words down in order, from #1 to #12, on paper or metal. Never make a digital copy of them.

Check your copy

Check that your copy matches the screen. Liana does not ask you to type the words back, so this is the only check.

Confirm the backup

Tick I have backed up my seed phrase, then select Next.

Liana's Back up your seed phrase screen with 12 numbered words, the ticked I have backed up my seed phrase checkbox and the active Next button.
Write the 12 words down in order, then tick the box.

Liana never shows these words again. It writes them to its data directory when you finish the installer, in a file named mnemonic-<fingerprint>-<checksum>-<timestamp>.txt inside the mnemonics folder of the network. Find the files of a wallet gives the data directory of each operating system.

Sign a transaction

Review the draft

Read the address and the amount of each payment on the draft. A hot key has no screen of its own, so Liana is the only place where you check them.

Select Sign

Select Sign. Liana opens Select signing device to sign with: and lists the hot key below the connected signing devices, by its name and fingerprint.

Select the hot key

Select the hot key. Liana signs at once, with no confirmation, and marks the entry Signed. Select outside the window to close it.

Liana's Select signing device to sign with window, with no signing device detected and the Hot signer entry, fingerprint 0bd18bcc, below.
Liana lists the hot key below the signing devices, by its name and fingerprint.

If the hot key is not part of the transaction's spending path, Liana shows This signing device is not part of this spending path. on its entry. Liana does not let you select it. Send bitcoin and Recover in Liana cover the rest of each transaction.

Restore the hot key on another computer

Liana asks for the 12 words when you add an existing wallet.

Add the wallet

On the launcher, click Select under Add an existing Liana wallet. If the launcher already lists wallets, select Add wallet first. Then import the descriptor or the backup file. On Liana Connect, you can instead select the wallet under Load a previously used wallet. Change your backend shows these screens.

Open the import form

On the Import seed phrase screen, select the Import seed phrase entry to unfold it.

If the wallet has no hot key, select Skip on Import seed phrase.

Liana also accepts the 12 words of a signing device's key, with no passphrase. That key then signs from this computer like a hot key, with the same risk. Enter such a seed phrase only as the last resort that Handle a missing piece describes. Once the recovery is confirmed, remove the key from this computer.

Enter the 12 words

Enter each word in its numbered field. Liana suggests matching words as you type, and puts a check mark next to each valid word.

Finish the import

Select Next, then complete the installer. At the end, Liana writes the seed phrase to the data directory of this computer, unencrypted.

Liana's Import seed phrase screen with the Import seed phrase form open: abandon, marked valid, in field 1, the letters ab in field 2 with word suggestions, and the Skip button.
Enter each word in its numbered field. Liana suggests words and marks each valid one.

Remove the hot key from this computer

Deleting the wallet deletes the seed phrase file

Keep your written copy of the 12 words if the key still protects coins, or if someone can still pay to an address of the wallet. Without it, deleting the wallet can leave no copy of the key.

Delete the wallet from the launcher. Liana deletes the seed phrase file it wrote for that wallet, along with the rest of its data. If you added the same wallet more than once on this computer, each copy that generated the key or received its 12 words has a seed phrase file of its own. Delete those copies too.

Known limitations

  • File permissions: On Linux and macOS, Liana makes the seed phrase file readable by your user account only. On Windows, Liana sets no permission of its own on the file.
  • No screen: The hot key signs whatever Liana asks it to sign. Malware that changes a transaction in Liana gets it signed. See Threat model.

Fix common problems