BitBox02
Pair a BitBox02 with Liana, register the descriptor on it, verify addresses, and sign.

You will need
- Firmware: The versions on the BitBox page, on the Bitcoin-only and the Multi edition alike.
- Setup: A BitBox02 set up in the BitBoxApp, with its device password, as in BitBox's setup guide. The BitBox page says what its microSD backup holds.
- Port: A USB-C port, where the BitBox02 plugs in directly. Use the extension cable from the box for a hard-to-reach port, and its USB-A adapter on a computer without USB-C.
- On Linux: The udev rules that give Liana access to USB devices.
Prepare the BitBox02
The BitBox02 has no buttons. Three gestures on its touch sensors, above and below the screen, answer every prompt:
- Tap: Tap the right end of the top sensor, above the arrow or the checkmark, to continue. Tap its left end, above the cross, to reject.
- Slide: Slide a finger along the bottom sensor to scroll a long policy, key or address.
- Hold: Touch the right end of both sensors at once, and keep holding until the two arrows meet.
You set no network on the BitBox02. Liana names the network in every request.
Update the firmware in the BitBoxApp
Open the BitBoxApp, plug in the BitBox02 and unlock it. Go to Settings >
Manage device. Under Device information, the Firmware row reads
New BitBox upgrade available when an update exists. Select it, then select
Upgrade. Confirm Proceed to upgrade? on the BitBox02, then select
Upgrade firmware now in the BitBoxApp. Keep the BitBox02 plugged in until
the BitBoxApp finishes. BitBox's
firmware update guide
shows each screen.
Check the firmware version
Read the version on the Firmware row and compare it with the table on the BitBox page. Between the two versions, the BitBox02 signs for a SegWit (P2WSH) wallet and not for a Taproot (P2TR) one.
Quit the BitBoxApp
Close the BitBoxApp completely before you open Liana, as the BitBox page explains.
Connect to Liana
Plug in the BitBox02
With Liana open, plug the BitBox02 into the computer. Liana asks it to unlock. The BitBox02 shows Enter password.
Enter the device password
Tap the bottom sensor under the group that holds each character, until only that character is left. Tap the middle of the top sensor to switch to the next keyboard. Hold both sensors to confirm the password. After ten wrong passwords in a row, the BitBox02 resets itself.
Compare the pairing code
The first time the BitBox02 connects to this Liana installation, both show a
pairing code of four groups of five characters. Liana shows it as
Locked, check code: in its device lists, or as Pairing code: when you add a
key in the installer. The BitBox02 shows it under Pairing code.
The codes do not match?
Tap the cross on the BitBox02 and unplug it. Different codes mean Liana and the BitBox02 are not talking to each other directly.
Confirm the pairing on the BitBox02
Tap the checkmark once the codes match. Liana then lists the BitBox02 as
bitbox02 followed by its fingerprint, such as
bitbox02 #a1b2c3d4.
The BitBox page says when Liana asks for the code again.
Add the BitBox02's key to a new wallet
In the installer's Select key source window, Liana lists the BitBox02 under
Detected devices with its firmware version, such as Bitbox02 9.27.1.
Select it, enter a name in Key name (alias):, then select Apply.
Create your first wallet walks through the
installer.
If the installer shows Update firmware to … or later to use Taproot. on the
key, update the firmware before you use this BitBox02 in a Taproot wallet.
Register the descriptor
Register the descriptor on every BitBox of the wallet, including one that holds only a recovery key, as the BitBox page explains.
Start the registration in Liana
On the installer's Register descriptor step, select the BitBox02 under Select signing device to register descriptor on:.
Liana shows Processing, please check your device while the BitBox02 asks you
to check the policy.
Check the policy on the BitBox02
Read each screen, then tap the arrow to move to the next one. Slide along the bottom sensor to scroll the long ones.
- Register: The network and the number of keys, such as
Bitcoin policy with 2 keys. On signet and testnet, the BitBox02 showsBTC Testnet. - Name:
Liana-followed by the eight characters after the#at the end of your descriptor. - Policy: The policy, with
@0,@1in place of the keys. Each recovery path shows its timelock in blocks, such asolder(52596)for 52,596 blocks (about 1 year). - Key 1/2: One screen per key, with its fingerprint, derivation path and
xpub. The BitBox02 starts its own key with
This device:. Compare the fingerprints with those in Settings > Wallet.
Hold on the last key
On the last Key screen, hold both sensors until the arrows meet. The
BitBox02 shows Policy registered. In the installer, Liana marks the BitBox02
with a check mark. Under Settings, the Select device: window stays as
it was. To see Registered next to the BitBox02, select outside the window to
close it, then select Register on device again.
Finish in Liana
For a new wallet, tick I have registered the descriptor on my device(s), then select Next. For an existing wallet, the registration is done.
A new descriptor needs a new registration
Adding a recovery path, replacing a key, or changing a timelock gives the wallet a new descriptor. The BitBox02 cannot sign for it until you register it again.
Verify an address
Use the address only if both screens match
Malware on the computer can change the address Liana shows. The BitBox02 derives it from the registered policy, so its screen is the one to trust.
Generate an address in Liana
In Receive, select Generate address, enter a label, then select Generate. Receive your first bitcoin covers this screen.
Send the address to the BitBox02
In the Address window, select Verify on signing device. Then select the BitBox02 under Select device to verify address on:.
Skip to the address
The BitBox02 shows Receive to with the policy, then its Name. Tap the arrow on each. On Show policy details?, tap the cross to go straight to the address. This does not cancel the check.
Compare the address
The BitBox02 shows the address under Receive to, in groups of four characters from firmware 9.26.0. Slide along the bottom sensor to see every group, then check that the address matches the one in Liana. Tap the checkmark if it does.
Sign a transaction
Read the payment on the BitBox02
Malware on the computer can change the address or the amount that Liana shows. Approve only what the BitBox02's screen shows. See Threat model.
Build the transaction
Build it in Send, as Send bitcoin shows. Then select Sign.
Select the BitBox02
Select the BitBox02 in the Select signing device to sign with: window. Liana
closes the window and shows Processing... and
Please check your device at the top right.
Check the wallet
The BitBox02 shows Spend from with the policy, then the Name. Tap the arrow on each. On Show policy details?, tap the cross to skip the details.
Check each payment
The BitBox02 shows the amount above the address of each payment. Slide along
the bottom sensor to read the whole address, then tap the arrow. The BitBox02
skips the change that returns to your wallet, so a
refresh shows no payment. A payment to a receive
address of the same wallet starts with This BitBox (same account):.
Read the locktime
The BitBox02 usually shows Locktime on block: with a height close to the current
block. The
BitBox page explains it. Tap
the arrow.
Hold on the total and the fee
The BitBox02 shows Total and Fee. Check both, then hold both sensors
until the arrows meet. The BitBox02 shows Transaction confirmed. Liana adds
the signature to the draft. Its Signatures count reaches the threshold, such
as 2 of 2, once the path has every signature it needs.
If the fee is 10% or more of the amount you send, tap the arrow on Total and Fee instead. The BitBox02 then shows High fee. Hold on that screen. For a refresh, firmware 9.27.0 and later compares the fee with the coins spent.
If the path needs more signatures, sign with the next device. Then broadcast the transaction, as Send bitcoin describes.
Sign with a recovery path
The BitBox02 shows the same screens as for any transaction. Only the steps in Liana change:
- Build it in Recovery: Once a timelock has expired, build the transaction in Recovery, as Recover in Liana shows.
- Select the recovery key: Select the BitBox02 that holds a key of that
path. Liana marks a device that holds another key of this wallet with
This signing device is not part of this spending path.A device that has not registered the descriptor shows a warning icon instead. - Register first: The BitBox02 that holds the recovery key signs only if it has registered the descriptor. Register it when you set up the wallet.
Rehearse the recovery before you need it
The BitBox02 that holds a recovery key is often stored far away. Run the whole
procedure once on signet, where the BitBox02 shows
BTC Testnet.