DevicesKrux

Krux

Sign for a Liana wallet with Krux, with a microSD card in place of a cable.

Krux is open-source firmware that turns off-the-shelf devices, such as the Maix Amigo, into signing devices. Liana never detects a Krux.

You will need

ModelsMaix Amigo and other Krux devices
ConnectionSD card only. Liana does not detect a Krux.
For a SegWit (P2WSH) wallet25.03.0+
For a Taproot (P2TR) wallet25.03.0+
Supported sinceLiana 11.0

Krux runs on other devices too, listed in the Krux parts list.

  • Connection: A microSD card, formatted FAT32 on an MBR partition table, that both the computer and the Krux can read.

What is specific to Krux

  • Files, never a cable: Liana writes the descriptor and each PSBT to the card, and reads the Krux's key file and signed PSBTs from it. Liana does not show or read a PSBT or descriptor as a QR code.
  • Miniscript before the key: Set the Krux's policy type to Miniscript before you export its key. The key then uses the path m/48h/0h/0h/2h on mainnet. With the default single-sig policy, the Krux cannot load the wallet's descriptor later.
  • The Krux forgets the descriptor: It keeps a loaded descriptor only until it turns off, and keeps no seed phrase unless you store one. Load it again each session, before you sign or check an address.
  • Addresses by QR code: Liana cannot ask a Krux to display an address. The Krux scans the address QR code that Liana shows, and checks that the address belongs to the wallet.
  • SegWit (P2WSH) and Taproot (P2TR): Krux loads both kinds of Liana descriptor, and shows the policy with older(…) and the block count of each recovery path.
Krux screen on a Maix Amigo listing keys A and B with fingerprint, path and shortened xpub, then the policy or_d(pk(A), and_v(v:pkh(B), older(52596))) above the Load? question.
The Krux shows a letter for each key, then the policy with the block count of the recovery path in older(52596).

Known limitations

  • No registration check: Liana cannot tell whether a Krux has the descriptor loaded.
  • No QR signing with Liana: Liana reads no QR code, so Krux's Sign to QR code does not work with Liana.
  • Experimental label: Krux calls its Miniscript policy type Miniscript (Experimental).
  • No feerate: For a Liana wallet, the Krux shows the fee and its percentage of the outputs, but no feerate.
  • No secure element: Krux protects a stored seed phrase with encryption only.
  • Maix Amigo no longer sold: The Maix Amigo is discontinued. Krux still releases firmware for it.
  • Maix Amigo screen variants: Some Amigo screens have mirrored X coordinates, and others show colors differently. Krux has settings to correct both, as the Maix Amigo page shows.

Fix common problems

SymptomFix
Liana lists no KruxExpected. Move files by microSD card instead.
The Krux does not detect the cardFormat it FAT32 on an MBR partition table. Test it in Tools > Device Tests > Check SD Card.
The Krux does not list the descriptor fileIt lists only .txt and .json files. Export liana-<checksum>.txt, as Register the descriptor shows.
Liana shows Xpub is for another networkUnder Customize > Network, select Mainnet or Testnet to match the wallet, then export the key again.
The Krux shows Invalid wallet: with xpub not a miniscript cosignerThe loaded seed phrase, passphrase or derivation path matches no key of the wallet. Compare the fingerprints. If they match, enter the path written before your key in the descriptor under Wallet > Customize > Derivation Path, with m/ in front and h in place of each '.
The Krux warns Wallet output descriptor not found. before signingSelect No at Proceed?, load the descriptor, then open the PSBT again.

For an error in Liana during the import, see Sign air-gapped.