As shown below, the idea is to download the QT wallet and import the private key of bitcoins into it. After block synchronization, you will be able to receive and transfer the UBTC.
Download UB Wallet
Set Data Directory
Import Private Key
This material is for users who are claiming UBTC for the first time.Please ensure you back up your private key or wallet data involved in the following steps.
Please download the latest version of UB QT wallet from the above link.
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.
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.
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.
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.
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.
Electrum sometimes exports the private key in other formats, which has to be converted to be imported into UB core wallet. Here is a mini tool for format conversion. If you are unable to import private keys into other light wallets, please also try this mini tool.
The mini tool can be downloaded from the above link, and the python code can be downloaded directly from Github through the following link.