Download UB QT Wallet

Initialize the wallet

Please set the data directory when you initialize the wallet for the first time. UB is a fork of Bitcoin and it inherits all the blockchain data of Bitcoin which currently exceeds 160GB. Please make sure the data directory is in a partition with enough disk space

After selecting the applicable directory, click ‘OK’. It may take a while to load. You will be directed to the main interface of the wallet.

Synchronize Data

After entering the main interface, the wallet automatically starts synchronizing data. The synchronization of the whole block data requires a long time. Although users’ operation is not affected, we strongly recommend that you wait until the latest block is synchronized to continue your transfer.

Import Private Key

All UB tokens are recorded at the corresponding addresses, and one private key is mapped to one unique address. Therefore the private key is the most important information in this process.

Export Private Key from Bitcoin QT Wallet

The name of the backup file for bitcoin QT wallet ends with '.dat'. UB wallet is compatible with the export files of Bitcoins; hence the recovery mode is the same as Bitcoin. Should you want to overwrite the original files, please stop the UB wallet, rename the backup file to 'wallet. Dat' and copy it to the 'wallets' directory under the data directory. Please restart the UB wallet and you will see the imported addresses.

Export Private Key from Other Light Wallets

Light wallets are implemented in variety ways; so we will not discuss all of them here. This article takes Electrum as an example, which can be used as a reference for other light wallets. You may also consult the light wallet developers directly.

First, open electrum, select 'Show Addresses' under the 'View' menu to bring up the 'Addresses' window.

Right click on the address, and then select 'private key'.

Now you can see the private key corresponding to the address from the pop-up window

Import this private key into UB wallet. Note the following operations are performed in the UB wallet.

Start with the menu 'help' -> 'debug window' to open the UB wallet console. Then enter the command to import the private key.

The format of the command is：
Imortprivkey [private key] [account] [rescan]
The private key must be entered and the account can be left blank. Enter ‘false’ for [rescan] to avoid scanning the wallet during import. Please note if [rescan] is entered, the [account] must not be blank. If you do not know what the [account] is, enter '' for the default account.

After importing the private key, check the validateaddress command to ascertain whether the import is successful. The parameter of this command is the address of the private key, which can be obtained from the electrum wallet.

At this point, the private key import is successful. And when the wallet data is fully synchronized, you can see the balance in the account.