Tutorial: Neblio staking wallet for RaspberryPi
neblio·@niloa·
0.000 HBDTutorial: Neblio staking wallet for RaspberryPi
<html> <p>A lot of people talking about Neblio blockchain since this coin entered the Top100 cryptocurrency. I don‘t want to talk so much about it‘s pro and cons but more about it‘s very rare Proof-of-Stake protokol and how to participate with your coins.</p> https://i.imgur.com/kBRcvv4.jpg <h3>PoS and Reward</h3> <p>Proof-of-Stake means that you help to secure the network compareable to miners in PoW blockchains. But unlike PoW you don‘t need all this infrastracture. You only need a wallet and your coins.</p> <p>In case of Neblio you will get a staking reward of 10 % a year. Check out this <a href="http://nebliostats.com/calculator.php">calculator</a>. You get your reward every time the chance choosed your wallet with your weight of coins to stake a block. Means: Heavy wallets will stake more blocks than light wallets. But in the end everybody gets ~10 % a year. </p> <p>If you have just a few coins it can take a while until you stake a block. For example: When you have 1000 coins with the current difficulty you will wait around 10-14 days to get your reward. </p> <p>To stake a wallet you need to be connected to the network. I personally don‘t want to run my computer 24/7. But the Neblio team came up with a easy to use RaspberryPi staking wallet. In this tutorial I want to show you how to install the Neblio wallet.</p> <h4>1. Run RaspberryPi</h4> <p>Switch on your Pi and connect it to the internet. For this tutorial it doesn't matter if you connect with a graphical interface (HDMI) or via a SSH session from remote terminal. Both will work because we use the non-graphical staking wallet from Neblio.</p> <h4>2. Install Wallet</h4> <p>We install the nebliod wallet (non-graphic-interface). Open a terminal in your RaspberryPi and type:</p> <code>cd /home/pi</code> <p>assuming your username is "pi". Next step is download and install. We use <a href="https://github.com/NeblioTeam/NEBL-Pi/releases/tag/0.4">this code</a> I have from official Neblio Github. Copy into your terminal:</p> <code>curl https://raw.githubusercontent.com/NeblioTeam/NEBL-Pi/master/NEBL-Pi-Installer.sh | bash -s -- -d</code> <h4>3. Waiting</h4> <p>Now your Pi is downloading/installing the wallet and then sync the blockchain. This will take around 2 hours (with a Raspberry Pi 3) to finish.</p> <h4>4. Wallet file</h4> <p>If you have an existing encrypted wallet file:</p> <p>Browse to directory /home/pi/.neblio and check if there is a file named wallet.dat. So send your encrypted wallet.dat file to your Pi and replace it with the file in /home/pi/.neblio</p> <p>If you don't have an existing wallet file (use the wallet in /home/pi/neblio/wallet.dat):</p> <p>Encrypt you wallet by:</p> <code>/home/pi/./nebliod encryptwallet passphrase</code> <p>Replace "passphrase" with your wanted password. Be careful here and don't use special characters since another <a href="https://pastebin.com/dtPEqssB">user said</a> there might be problems with that.</p> <p>To show your wallet addresses type:</p> <code>/home/pi/./nebliod listreceivedbyaddress 1 true</code> <h4>5. Unlock wallet for staking</h4> <p>Type in terminal</p> <code>/home/pi/./nebliod walletpassphrase password 31000000 true</code> <p>Repalce password in code with your password. The large number is the time your wallet will be open. In this case ~1 year. True means that wallet open for staking.</p> <h4>6. Is wallet staking?</h4> <p>To check if your wallet is staking type</p> <code>/home/pi/./nebliod getstakinginfo</code> <h4>7. Autostart</h4> <p>This is optional. If you want to autostart your wallet every time your Pi is restarting, this would be one possible solution:</p> <p>Make sure your user Pi has a password by</p> <code>sudo su</code> <p>Then:</p> <code>sudo passwd pi</code> <p>Choose a password. Then type:</p> <code>exit</code> <p>Now we autostart the wallet by:</p> <code>nano /etc/rc.local</code> <p>And paste 3 lines of code</p> <code>su pi -c"nohup /home/pi/nebliod >/dev/null 2>&1 &"</code><br> <code>sleep 600</code><br> <code>su pi -c "nohup /home/pi/nebliod walletpassphrase password 31000000 true >/dev/null 2>&1 &"</code> <p>Again replace word password with your wallet password. Close the editor by Ctrl+X and then Y. </p> <p>Now your wallet will be open for staking every time you connect plug in the pi.</p> <h4>8. Make a transfer</h4> <p>If you want to transfer coins to another address use this command:</p> <code>/home/pi/./nebliod sendtoaddress target-address amount</code> <p>If you want to check out the transfer function, why don't you use my account for a donation ;) The address is:</p> <code>NVG9wcjXKiQShnC2KazXZUu9vDo77ry5dw</code> <p>Happy staking rewards!</p> PS: This <a href="https://pastebin.com/dtPEqssB">source</a> helped me a lot </html>