DevicesLedger

Stax

Set up a Ledger Stax for Liana, register the descriptor on it, verify an address, and sign on its touchscreen.

A Ledger Stax seen from the front: a device the size of a card, with a touchscreen over its whole face.

You will need

  • Setup: A Stax that already has its PIN and seed phrase. Ledger's Set up your Ledger secure touchscreen device covers that part.
  • Ledger Wallet: Ledger's desktop program (formerly Ledger Live), to install and update the Bitcoin app. See Download and install Ledger Wallet.
  • Cable: The USB-C to USB-C cable from the box, or another USB-C data cable, plugged into a USB-C port of the computer.

Prepare the Stax

Install the Bitcoin app

In Ledger Wallet, select the profile icon, then My Ledger. Connect and unlock the Stax, then tap Allow on it to allow My Ledger. Find Bitcoin in the App catalog and select Install. Ledger's Install, uninstall and update apps covers each screen.

Update the Bitcoin app

When My Ledger offers updates, select Update all, then check the version against the table on the Ledger page.

Install Bitcoin Test for a test network (optional)

Skip this step on mainnet. On signet, testnet, or regtest, turn on Developer mode in Ledger Wallet's Settings > Experimental features, then install Bitcoin Test from the App catalog. The Ledger page explains why each network needs its own app.

Connect to Liana

Connect and unlock the Stax

Plug the Stax into the computer with the USB-C cable. If it is off, press and hold the button on its right side for one second. Enter your PIN on the touchscreen.

Open the Bitcoin app

Open Bitcoin on the Stax, or Bitcoin Test on a test network. Bitcoin Test shows its name as Bitcoin Testnet.

Ledger Stax home screen of the Bitcoin app, with the Bitcoin logo, a settings button, and Quit app.
The Bitcoin app is open and waits for Liana.

Quit Ledger Wallet

Quit Ledger Wallet and any other wallet software that can reach the Stax, as the Ledger page explains.

Find the Stax in Liana

Liana looks for devices every two seconds. In the installer's Select key source window, it lists the Stax under Detected devices as a Ledger with the version of the Bitcoin app, such as Ledger 2.5.1. Select it to add its key. Liana reads the key without asking you to confirm on the Stax.

In the windows where you register, verify, and sign, Liana lists the Stax under the name of its key, with its type and fingerprint below, such as ledger #f5acc2fd.

Register the descriptor

Register the descriptor on every Ledger that holds a key of the wallet, including one that holds only a recovery key, as the Ledger page explains.

Open the registration screen

When you create a wallet, Liana shows the Register descriptor screen after the descriptor backup. When you add an existing wallet from its descriptor, it shows the same screen. Later, go to Settings > Wallet and select Register on device.

Select the Stax

Connect the Stax with the Bitcoin app open, then select it in the list. Liana shows Processing, please check your device while the Stax displays the registration.

Check the account on the Stax

The Stax opens on Review account to register. Swipe, or tap the arrow at the bottom right, to move through the pages. Where a value is cut short, tap More to read all of it. Check each page against your descriptor:

  • Account name: Liana- followed by the descriptor's checksum, the eight characters after the # at the end of the descriptor. Liana shows the descriptor under Wallet descriptor: in Settings > Wallet.
  • Descriptor template: The descriptor with each key replaced by @0, @1, and so on. The number in older() is the recovery path's timelock in blocks, such as older(52596).
  • Review co-signer public keys: A page that opens the list of keys.
  • Internal key and External key: Internal key is the Stax's own key. External key is each other key. Both carry the number the template uses, such as Internal key@0. Each starts with its fingerprint, such as [f5acc2fd/48'/0'/0'/2'].

In some Taproot wallets, a key that Liana adds on purpose and that no one can sign with shows as Unspendable key. With Bitcoin app 2.5.0 or later, some Taproot wallets also get pages that describe the spending paths in words, such as Primary spending path and Spending path #1. These pages come between Account name and Descriptor template.

During wallet creation, Liana's Register descriptor screen shows the same Descriptor template and each Key @0:, Key @1:, and so on.

Ledger Stax registration page 4 of 6 showing Internal key@0 with fingerprint f5acc2fd, its derivation path and its xpub.
The Stax labels the key it holds Internal key@0. Check each fingerprint against your descriptor.

Approve the registration

On the last page, Register account?, tap Approve. The Stax shows Account registered. Liana marks the Stax with a check mark, or with Registered when you register from Settings.

Ledger Stax registration page 6 of 6 asking Register account?, with an Approve button and Reject at the bottom left.
On the last page, tap Approve to register the descriptor.

To refuse, tap Reject at the bottom left, then Yes, reject. Liana shows no error. You can select the Stax again.

Finish the installer step

When you create a wallet, tick I have registered the descriptor on my device(s), then select Next. When you add an existing wallet, select Next.

Register again after the descriptor changes, for example after Change a policy. The new descriptor has a new checksum, so the Stax sees a new account. Do the same whenever Liana marks the Stax with a warning icon whose tooltip reads The wallet descriptor is not registered on the device.

Verify an address

Liana asks the Stax to display an address of the wallet. You compare the two addresses yourself.

Generate the address

In Receive, select Generate address, enter a label, then select Generate. For an address already in the list, skip to the next step.

Send the address to the Stax

Select Verify on signing device, then select the Stax in the Verify address window.

Compare the addresses

The Stax opens on Verify bitcoin address. Swipe to the Address and the Account name of the wallet. Check that the address matches the one in Liana, and check the account name.

The two addresses differ?

Do not share either one. Malware on the computer can swap the address Liana shows. Update the Bitcoin app, check that the Stax shows this wallet's account name, and try again before you receive anything.

Ledger Stax page showing a bc1q address and the account name Liana-kgcve5ak, with a QR code button, Confirm, and Cancel.
The Stax shows the address and the wallet's account name. Check that the address matches the one in Liana before you tap Confirm.

Approve on the Stax

Tap Confirm. The Stax shows Address verified. Share the address only now. To refuse, tap Cancel at the bottom left.

Sign a transaction

Open the transaction

Build the transaction in Send, as Send bitcoin shows, then select Sign.

Select the Stax

In the Select signing device to sign with: window, select the Stax. Liana closes the window and shows Processing... and Please check your device at the top right.

Check the transaction on the Stax

The Stax opens on Review transaction to send bitcoin. Swipe through the pages:

  • From registered account: The account name of the wallet.
  • Amount and To: Each payment and its address. With several payments, Transaction output numbers them. Check the change in Liana, as Known limitations explains.
  • Fees: The fee this transaction pays.

Compare each payment with the address you meant to pay. When the fee is at least 10% of the coins spent, and those coins total more than 100,000 sats, the Stax adds a High fees warning page. For a refresh, where every output returns to the wallet, Amount reads 0 BTC (self-transfer) on mainnet.

Ledger Stax signing page 2 of 3 showing From registered account Liana-kgcve5ak, Amount 0.1 BTC, the To address, and Fees 0.0000216 BTC.
Check the account name, then each amount and address against the payment you meant to make.

Sign on the Stax

On the last page, Sign transaction to send bitcoin?, keep your finger on Hold to sign until the Stax shows Transaction signed. 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 path needs other signatures, sign with the next key.

To refuse, tap Reject at the bottom left, then Yes, reject.

Ledger Stax last signing page asking Sign transaction to send bitcoin?, with a Hold to sign row and its check mark button.
Keep your finger on Hold to sign until the Stax shows Transaction signed.

Sign with a recovery path

The Stax signs a recovery transaction with the same steps and the same pages. What changes:

  • Where you build it: In Recovery, once the timelock of the path has expired, as Recover in Liana shows.
  • Which Ledger signs: The one that holds a key of that recovery path. Liana marks any other key of this wallet with This signing device is not part of this spending path. A Ledger that has not registered the descriptor shows a warning icon instead.
  • Registration: On a computer where the wallet is new, such as an heir's, register the descriptor on the Stax at the Register descriptor step. Claim an inheritance covers the whole procedure.