GuidesMaintenance

Change your backend

Edit the connection to your own node, or move a wallet to another backend without changing a key.

Pick the steps for your change

Open Settings in the wallet. Liana shows Node for a wallet on your own node, and Backend for a wallet on Liana Connect.

You want toDo this
Reach the same Bitcoin Core or Electrum server at a new address, port, cookie file or passwordEdit the connection
Stop using the Bitcoin Core that Liana installed for youAdd the wallet again
Switch between Bitcoin Core and an Electrum serverAdd the wallet again
Switch between your own node and Liana ConnectAdd the wallet again
Liana's Settings > Node screen for a wallet on the Bitcoin Core that Liana runs, with the Running status and no pencil icon, the link I want to change node type or use Liana Connect, and the Blockchain rescan card.
For a Bitcoin Core that Liana runs itself, Liana shows no pencil icon.

Edit the connection to your own node

Open the node settings

Go to Settings > Node. Liana shows the Bitcoin Core or the Electrum card of the wallet, with its current connection.

Select the pencil icon

Select the pencil icon on the card. If it is missing or inactive, see the accordion under these steps.

Enter the new connection details

  • RPC authentication: Select Cookie file path and enter the path of the .cookie file of Bitcoin Core. Or select User and password and enter both.
  • Socket address: Enter an IP address and the RPC port, for example 127.0.0.1:8332 on mainnet or 127.0.0.1:38332 on signet.
Liana's Settings > Node screen with the Bitcoin Core card in edit mode: Cookie file path selected, a cookie file path in the field below, 127.0.0.1:8332 in Socket address, and the Cancel and Save buttons.
Enter the cookie file path and the RPC address of your Bitcoin Core, then select Save.

Only connect to a node you control

Enter the address of a Bitcoin Core on this computer, or of an Electrum server that you run, never a public server or someone else's node. Choose a backend explains the risk.

Save the connection

Select Save. Liana reconnects to the node with the new details, saves them, and closes the form. If the form stays open, fix what Liana shows, then select Save again.

Move the wallet to another backend

You add the same wallet a second time, on the new backend, because Liana's interface has no setting that moves a wallet from one backend to another. The new copy uses the same descriptor, so the keys and the addresses stay the same, and no coin moves. The old copy stays on the launcher and keeps its backend until you delete it.

Have these at hand before you start:

  • The seed phrase of the hot key, if the wallet has one. The new copy asks for it.
  • The Ledger, if the wallet uses one. A Ledger stores no registration. It returns a proof that Liana keeps with each copy of the wallet, so you register the descriptor on the Ledger again for the new copy. The other signing devices need no new registration, because the descriptor does not change.
  • About 30 GB of free disk space on mainnet, if you let Liana install Bitcoin Core for you.

Export the wallet backup file

In the old copy, go to Settings > Import/export and select Export wallet. Your operating system asks where to save the file, and suggests a name that starts with liana-backup-.

The file holds the descriptor, the labels, the aliases and the drafts. Liana does not encrypt it, so keep it private.

Drafts waiting in the old copy?

Before the move, broadcast the drafts you still need and delete the others. To keep a draft that still needs a signature, export its PSBT. Liana restores a draft only if the new copy already knows the coins it spends, and Bitcoin Core knows none of them before the rescan.

Open a launcher tab

Select the plus icon at the end of the tab bar. Liana opens a Launcher tab. If it shows another network, select the network of the wallet in the list at the top right.

Start adding the wallet

Select Add wallet, then click Select under Add an existing Liana wallet.

Select your own node

On the Choose backend screen, click Select under Use your own node.

Liana's Choose backend screen on signet, with the Use your own node and Use Liana Connect options side by side, each with its Select button.
Click Select under Use your own node to keep the wallet on Bitcoin Core or an Electrum server.

Import the backup file

On the Import the wallet screen, select Import a backup and open the file you exported. Liana confirms that it imported the backup. Select Next.

Liana's Import the wallet screen after the import of a backup file, with the line Backup successfully imported!, the note about the rescan that Bitcoin Core needs, and the Next button.
Liana confirms the import of the backup file, and reminds you that Bitcoin Core needs a rescan.

Enter the seed phrase of the hot key

On the Import seed phrase screen, select the Import seed phrase entry, enter the 12 words, then select Next. If the wallet has no hot key, select Skip.

If Liana shows The descriptor does not use a key derived from this seed phrase, check that you entered the seed phrase of this wallet's hot key.

Register the descriptor on the Ledger

On the Register descriptor screen, connect and unlock the Ledger, select it in the list, and approve on the Ledger. Then select Next. Without a Ledger, select Next at once.

Set up the node connection

On the Bitcoin node management screen, click Select under I already have a node or under I want Liana to automatically install a Bitcoin node on my device. Choose a backend shows both options.

Liana's Bitcoin node management screen with two options, I already have a node and I want Liana to automatically install a Bitcoin node on my device, each with its Select button.
Pick the node the new copy uses.

Name the new copy

On Give your wallet an alias, Liana fills in the alias from the backup file. Change it so that the launcher tells the two copies apart, for example Family savings (own node). Select Next.

Liana finishes the installation and opens the new copy. The launcher now lists both copies, each with its alias.

Liana's launcher listing six wallets. The first, Family savings, and the last, Family savings (own node), are two copies of one wallet and show the same checksum, Liana-c6vgfwx0.
Both copies share one checksum. The alias tells them apart.

Find past transactions on Bitcoin Core

On Bitcoin Core, the new copy shows no older transaction until you rescan.

  • After a backup file: The Dashboard shows a card that starts with As this wallet was restored from a backup. Select Go to rescan.
  • After a pasted descriptor: The card starts with As this wallet was imported from a descriptor. Select Go to rescan.

Rescan the blockchain gives the date to enter and the limits of a pruned node.

The Dashboard of a copy newly added from a wallet backup file, with a balance of 0 and the warning card As this wallet was restored from a backup, you may need to rescan the blockchain to see past transactions, above the Go to rescan and Dismiss buttons.
After a restore from a backup file on Bitcoin Core, the Dashboard offers Go to rescan.

Delete the old copy

Check the balance in the new copy first. After a move to Liana Connect, the labels, drafts and aliases exist only in the old copy. Deleting it loses them. To keep them, leave the old copy on the launcher.

The old copy has a hot key?

Delete the old copy only once the new copy has the seed phrase, and while you still hold the written words. Remove the hot key from this computer explains why.

Follow Delete a wallet. For an old copy on Liana Connect, leave the Liana Connect checkbox unticked, so that the wallet stays on Liana Connect.

Next steps