How to do qtum staking in ubuntu linux.
In this document, I handle that how to staking 'qtum' in ubuntu server.
Run 'uname -a' in shell prompt to check your OS environment.
Program download
First, download 'QTUM' (not means coin) as your PC environment.
I downloaded qtum-0.14.10-x86_64-linux-gnu.tar.gz (https://github.com/qtumproject/qtum/releases/download/mainnet-ignition-v1.1.4/qtum-0.14.10-x86_64-linux-gnu.tar.gz)
In Ubuntu, you can download it as below command.
wget https://github.com/qtumproject/qtum/releases/download/mainnet-ignition-v1.1.4/qtum-0.14.10-x86_64-linux-gnu.tar.gz
Extract tar
tar -xvf qtum-0.14.10-x86_64-linux-gnu.tar.gz
Execute qtumd with background option.
cd qtum-0-14.10/bin
./qtumd &
Run ps command to check process is fine.
ps
Check block size
waiting about 10 minutes for sync.
./qtum-cli getinfo
You have to compare "blocks" with below site's Block Hight.
If it's not same, wait few minutes and re-check ./qtum-cli getinfo
or check your firewall and port forwading config.
Make password your wallet.
./qtum-cli encryptwallet "password_yourself"
When you enter above command, Qtum server will stop. So, you have to restart it.
./qtumd &
And check process by ps
command.
You MUST check your password was input correctly.
./qtum-cli walletpassphrase "password_yourself" 5
If password was input correctly, there is no messages. But, password is not correct, below error will be occurred.
WARNING
If you delete wallet.dat file, qtum coin also will be deleted.
You can reset your password by delete ~/.qtum/wallet.dat file.
Backup wallet.dat file.
If you complete set password, Backup ~/.qtum/wallet.dat file.
This is ESSENTIAL of QTUM wallet. You can recover wallet anywhere (windows, phone, ETC.) to use wallet.dat file.
unlock wallet to staking.
If you want to withdraw or staking QTUM, you should unlock wallet.
Deposit QTUM is not necessary to unlock.
You can use this command to unlock your QTUM wallet.
WARNING
With this command, you should input three contents.
./qtum-cli -stdin walletpassphrase
- 1st line: PASSWORD
- 2nd line: Unlocking period (seconds. ex. 99999999)
- 3rd line: true or false
- true: For Staking
- false: For Staking and Widthrawal
After you input three contents, type "CTRL + D"
to finish.
Now, check unlocked_until status again.
./qtum-cli getwalletinfo
You can see the unlocked_until status has been changed.
If you want to LOCK, use below command.
./qtum-cli walletlock
Set ACCOUNT ADDRESS.
./qtum-cli getaccountaddress "ACCOUNT NAME"
ex) ./qtum-cli getaccountaddress "my_qtum_wallet"
You can see your account address.
If you lost your account address, dont' worry.
You can check your account name.
./qtum-cli listaccounts
Then, you can check your account address.
./qtum-cli getaccountaddress "ACCOUNT NAME"
Staking
Now, you are ready to stake.
Staking will be occured after 500 blocks when you get QTUM from other wallet.
You can check your transaction block on https://explorer.qtum.org with your wallet address.
Bottom of the page, you can check how many CONFIRMATIONS is occured with your asseet.
Your staking will be started when after 500 CONFIRMATIONS. Then, you see staking status be changed to true by ./qtum-cli getstakinginfo
command.
Command set
cd ~
wget https://github.com/qtumproject/qtum/releases/download/mainnet-ignition-v1.1.4/qtum-0.14.10-x86_64-linux-gnu.tar.gz
tar -xvf qtum-0.14.10-x86_64-linux-gnu.tar.gz
cd qtum-0-14.10
cd bin
./qtumd &
/* waiting about 10 minutes /
./qtum-cli getinfo
/ go to page - https://explorer.qtum.org /
./qtum-cli encryptwallet "password_yourself"
./qtumd &
./qtum-cli walletpassphrase "password_yourself" 5
/ check password is set correctly /
./qtum-cli -stdin walletpassphrase
/
PASSWORD
99999999
true
*/ CTRL + D to exit
- Reference
- https://steemit.com/staking/@koinbot/coin-qtum-staking-pos
- https://gist.github.com/JungWinter/e2182a766a10b779aeaba9127787d72b
- https://steemit.com/qtum/@cryptominder/qtum-staking-tutorial-using-qtumd-on-a-raspberry-pi-3
- https://www.clien.net/service/board/cm_vcoin/11306752
- https://github.com/qtumproject/qtum/wiki/QTUM-지갑-설명서
Congratulations @lazyrodi! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You got a First Vote
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP