Tutorial: Neblio staking wallet for RaspberryPi

in #neblio7 years ago

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.

<h3>PoS and Reward <p dir="auto">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 dir="auto">In case of Neblio you will get a staking reward of 10 % a year. Check out this <a href="http://nebliostats.com/calculator.php" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">calculator. 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 dir="auto">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 dir="auto">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. <h4>1. Run RaspberryPi <p dir="auto">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. <h4>2. Install Wallet <p dir="auto">We install the nebliod wallet (non-graphic-interface). Open a terminal in your RaspberryPi and type: <code>cd /home/pi <p dir="auto">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" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">this code I have from official Neblio Github. Copy into your terminal: <code>curl https://raw.githubusercontent.com/NeblioTeam/NEBL-Pi/master/NEBL-Pi-Installer.sh | bash -s -- -d <h4>3. Waiting <p dir="auto">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. <h4>4. Wallet file <p dir="auto">If you have an existing encrypted wallet file: <p dir="auto">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 dir="auto">If you don't have an existing wallet file (use the wallet in /home/pi/neblio/wallet.dat): <p dir="auto">Encrypt you wallet by: <code>/home/pi/./nebliod encryptwallet passphrase <p dir="auto">Replace "passphrase" with your wanted password. Be careful here and don't use special characters since another <a href="https://pastebin.com/dtPEqssB" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">user said there might be problems with that. <p dir="auto">To show your wallet addresses type: <code>/home/pi/./nebliod listreceivedbyaddress 1 true <h4>5. Unlock wallet for staking <p dir="auto">Type in terminal <code>/home/pi/./nebliod walletpassphrase password 31000000 true <p dir="auto">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. <h4>6. Is wallet staking? <p dir="auto">To check if your wallet is staking type <code>/home/pi/./nebliod getstakinginfo <h4>7. Autostart <p dir="auto">This is optional. If you want to autostart your wallet every time your Pi is restarting, this would be one possible solution: <p dir="auto">Make sure your user Pi has a password by <code>sudo su <p dir="auto">Then: <code>sudo passwd pi <p dir="auto">Choose a password. Then type: <code>exit <p dir="auto">Now we autostart the wallet by: <code>nano /etc/rc.local <p dir="auto">And paste 3 lines of code <code>su pi -c"nohup /home/pi/nebliod >/dev/null 2>&1 &"<br /> <code>sleep 600<br /> <code>su pi -c "nohup /home/pi/nebliod walletpassphrase password 31000000 true >/dev/null 2>&1 &" <p dir="auto">Again replace word password with your wallet password. Close the editor by Ctrl+X and then Y. <p dir="auto">Now your wallet will be open for staking every time you connect plug in the pi. <h4>8. Make a transfer <p dir="auto">If you want to transfer coins to another address use this command: <code>/home/pi/./nebliod sendtoaddress target-address amount <p dir="auto">If you want to check out the transfer function, why don't you use my account for a donation ;) The address is: <code>NVG9wcjXKiQShnC2KazXZUu9vDo77ry5dw <p dir="auto">Happy staking rewards! PS: This <a href="https://pastebin.com/dtPEqssB" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">source helped me a lot <span> <img src="https://images.hive.blog/768x0/https://i.imgur.com/kBRcvv4.jpg" srcset="https://images.hive.blog/768x0/https://i.imgur.com/kBRcvv4.jpg 1x, https://images.hive.blog/1536x0/https://i.imgur.com/kBRcvv4.jpg 2x" />
Sort:  

"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. "

That's a great solution! I'll have to look more into Neblio. Thanks for the information!

I also think so. The energy consumption is just a few bugs a year. !00% silent. The Pi is directly wire connected to the router and I can access it from all over the network via SSH session. Perfect

Congratulations @niloa! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

<p dir="auto"><a href="http://steemitboard.com/@niloa" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png" srcset="https://images.hive.blog/768x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png 2x" /> Award for the number of upvotes <p dir="auto">Click on any badge to view your own Board of Honor on SteemitBoard.<br /> For more information about SteemitBoard, click <a href="https://steemit.com/@steemitboard" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">here <p dir="auto">If you no longer want to receive notifications, reply to this comment with the word <code>STOP <blockquote> <p dir="auto">Upvote this notification to help all Steemit users. Learn why <a href="https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">here!

Hi niloa,

Thank you very much for that detailed description, which is very helpful. I am about to order a Raspberry, and instructions like yours will support my decision.



Your level lowered and you are now a Red Fish!@niloa, sorry to see you have less Steem Power.

Do not miss the last post from @steemitboard:
SteemitBoard and the Veterans on Steemit - The First Community Badge.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @niloa! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Support SteemitBoard's project! Vote for its witness and get one more award!

Hey,
i am in the process of moving to a raspberry staking node now, thanks for this tutorial.
The only thing i am concerned with is that 'autostart' by putting the walletpassphrase in plaintext on the sd card, this is a huge security risk so it would be nice if we could have a better solution for this, any Ideas anyone?
Cheers

Congratulations @niloa! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!