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 to | Do this |
|---|---|
| Reach the same Bitcoin Core or Electrum server at a new address, port, cookie file or password | Edit the connection |
| Stop using the Bitcoin Core that Liana installed for you | Add the wallet again |
| Switch between Bitcoin Core and an Electrum server | Add the wallet again |
| Switch between your own node and Liana Connect | Add the wallet again |
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
.cookiefile 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:8332on mainnet or127.0.0.1:38332on signet.
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.
Select your own node
On the Choose backend screen, click Select under Use your own node.
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.
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.
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.
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.
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.