Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: cryptoheadd on March 22, 2016, 08:01:13 AM



Title: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 22, 2016, 08:01:13 AM
Hey,

How do I setup my raspberry pi for staking?

Thanks


Title: Re: Setup Raspberry Pi for staking
Post by: J1mb0 on March 22, 2016, 10:15:20 AM
I am staking PIGGY nicely on my Pi.

It's easy.

Just choose your POS coin.
Then......

Do a "sudo apt-get update" and then "sudo apt-get upgrade"

(If you haven't got GIT then get it! Eg. "sudo apt-get install git-core")

Clone from GIT. Eg. "git clone https://github.com/piggycoin/newpiggycoin.git"

Get all the good stuff. Eg. "sudo apt-get install build-essential                      libssl-dev                      libdb5.1++-dev                      libboost-all-dev                      libqrencode-dev                      libminiupnpc-dev"

Compile. Eg. "cd newpiggycoin" and then "cd src" then "qmake USE_UPNP=0 USE_IPV6=1 USE_QRCODE=1 && make"

Run as a Daemon. Eg. "./newpiggycoind -daemon"

Encrypt Wallet Eg. "./newpiggycoind encryptwallet YOURPASSPHRASE"

Unlock wallet for a long time for mining only. Eg. "./newpiggycoind walletpassphrase YOURPASSPHRASE 31536000 true"

Watch the coins roll in! Don't lose your pass phrase! As long as "staking" : true your coins will mature and start staking.

Eg. Check your balance "./newpiggycoind getbalance"
     Check that the coin is staking. "./newpiggycoind getstakinginfo" Make sure "staking" : True

Don't forget to "./newpiggycoind stop" before you "sudo shutdown -h now"
    

POS coins like PIGGY are doing really well these days!



Title: Re: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 22, 2016, 10:43:34 AM
I am staking PIGGY nicely on my Pi.

It's easy.

Just choose your POS coin.
Then......

Do a "sudo apt-get update" and then "sudo apt-get upgrade"

(If you haven't got GIT then get it! Eg. "sudo apt-get install git-core")

Clone from GIT. Eg. "git clone https://github.com/piggycoin/newpiggycoin.git"

Get all the good stuff. Eg. "sudo apt-get install build-essential                      libssl-dev                      libdb5.1++-dev                      libboost-all-dev                      libqrencode-dev                      libminiupnpc-dev"

Compile. Eg. "cd newpiggycoin" and then "cd src" then "qmake USE_UPNP=0 USE_IPV6=1 USE_QRCODE=1 && make"

Run as a Daemon. Eg. "./newpiggycoind -daemon"

Encrypt Wallet Eg. "./newpiggycoind encryptwallet YOURPASSPHRASE"

Unlock wallet for a long time for mining only. Eg. "./newpiggycoind walletpassphrase YOURPASSPHRASE 31536000 true"

Watch the coins roll in! Don't lose your pass phrase! As long as "staking" : true your coins will mature and start staking.

Eg. Check your balance "./newpiggycoind getbalance"
     Check that the coin is staking. "./newpiggycoind getstakinginfo" Make sure "staking" : True

Don't forget to "./newpiggycoind stop" before you "sudo shutdown -h now"
    

POS coins like PIGGY are doing really well these days!



Thanks for your reply.
Is it possible to get a GUI wallet?  ;D


Title: Re: Setup Raspberry Pi for staking
Post by: merelcoin on March 22, 2016, 10:46:31 AM

Thanks for your reply.
Is it possible to get a GUI wallet?  ;D

You can build a qt wallet on ubuntu (i think raspberry pi uses an ubuntu fork as their default os, but since i don't have one, i cannot verify this) pretty easily... Just follow the unix-build instructions in the doc folder... If something doesn't work, feel free to ask additional questions :)


Title: Re: Setup Raspberry Pi for staking
Post by: J1mb0 on March 22, 2016, 10:50:37 AM

Thanks for your reply.
Is it possible to get a GUI wallet?  ;D
[/quote]

Yes. The above will also give you a GUI wallet that lives in the main directory (Ie. not in the src directory). I just assumed you would want to leave the PI headless somewhere, like me on top of a refridgerator, to just quietly stake and just ssh into it on the command line.

You can just double click on the gui QT executable in your file manager. (You may have to make it an executable in properties).

You can also use the wallet.dat with a Windows gui wallet to check on your progress! It won't try to stake if you don't unlock the wallet - it will just show you what the daemon is getting up to.

This is true of most POS coins, not just PIGGY. However PIGGY coins mature for staking in hours not days or weeks like some - a little less frustrating!  :D

Just to clarify - I did this on a quad 1GB Pi - I have not tried this on the old 512kb single core - although I used to mine BTC on one of these as a controller! :D


Title: Re: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 22, 2016, 11:35:25 AM

Thanks for your reply.
Is it possible to get a GUI wallet?  ;D

You can build a qt wallet on ubuntu (i think raspberry pi uses an ubuntu fork as their default os, but since i don't have one, i cannot verify this) pretty easily... Just follow the unix-build instructions in the doc folder... If something doesn't work, feel free to ask additional questions :)

Thank you for your reply.
Quote

Thanks for your reply.
Is it possible to get a GUI wallet?  ;D

Yes. The above will also give you a GUI wallet that lives in the main directory (Ie. not in the src directory). I just assumed you would want to leave the PI headless somewhere, like me on top of a refridgerator, to just quietly stake and just ssh into it on the command line.

You can just double click on the gui QT executable in your file manager. (You may have to make it an executable in properties).

You can also use the wallet.dat with a Windows gui wallet to check on your progress! It won't try to stake if you don't unlock the wallet - it will just show you what the daemon is getting up to.

This is true of most POS coins, not just PIGGY. However PIGGY coins mature for staking in hours not days or weeks like some - a little less frustrating!  :D


I'll get started on the same.
Will reply if I have any additional questions.  ;D

Thanks


Title: Re: Setup Raspberry Pi for staking
Post by: J1mb0 on March 22, 2016, 11:42:43 AM


I'll get started on the same.
Will reply if I have any additional questions.  ;D

Thanks

Cool! Another Pi staker dude! I will edit my 1st reply if you have any comments or suggestions! Also if you go with another coin I can update also - after all this is a general POS thread not a PIGGY specific one!

I did try Hobo back in the day - and found it quite troublesome. I can't remember why but I think it was a 512KB single core so that might explain. I do remember that the compile for PIGGY took at least 15 minutes - maybe longer!


Title: Re: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 22, 2016, 11:48:18 AM
To use the GUI, I just need to do these steps, right?

Quote
Do a "sudo apt-get update" and then "sudo apt-get upgrade"

(If you haven't got GIT then get it! Eg. "sudo apt-get install git-core")

Clone from GIT. Eg. "git clone https://github.com/piggycoin/newpiggycoin.git"

Get all the good stuff. Eg. "sudo apt-get install build-essential                      libssl-dev                      libdb5.1++-dev                      libboost-all-dev                      libqrencode-dev                      libminiupnpc-dev"

Compile. Eg. "cd newpiggycoin" and then "cd src" then "qmake USE_UPNP=0 USE_IPV6=1 USE_QRCODE=1 && make"


Title: Re: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 22, 2016, 11:50:17 AM
Also, this is for Raspbian OS, right?  ;D


Title: Re: Setup Raspberry Pi for staking
Post by: J1mb0 on March 22, 2016, 11:59:35 AM
Also, this is for Raspbian OS, right?  ;D

Absolutely - however I think this would apply equally to any Debian E.g. Ubuntu


Title: Re: Setup Raspberry Pi for staking
Post by: merelcoin on March 22, 2016, 02:26:43 PM
Also, this is for Raspbian OS, right?  ;D

Absolutely - however I think this would apply equally to any Debian E.g. Ubuntu

Both Ubuntu and Raspbian OS are forks of debian.
The Raspbian FAQ tells the following:
https://www.raspbian.org/RaspbianFAQ#Can_I_mix_packages_from_the_Debian_repositories_with_Raspbian.3F

Basically, not all binary packages compiled for debian can be used for Raspbian, but if you compile the packages from source, the debian tutorials should work for Raspbian.
Since Ubuntu is also a fork from Debian, the ubuntu tutorials will also have a reasonable chance of working, as long as you compile the binaries from source.

Basically, it's a bit of trial and error, but i think there are several Raspbian-specific compilation tutorials that can be found on bitcointalk ;)


Title: Re: Setup Raspberry Pi for staking
Post by: BoscoMurray on March 25, 2016, 10:11:11 AM
Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?


Title: Re: Setup Raspberry Pi for staking
Post by: merelcoin on March 25, 2016, 10:21:55 AM
Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?

Sure... They even sell Pi's that are pre-loaded with a couple blockchains of different POS coins... I'll search for the link right now

EDIT: https://bitcointalk.org/index.php?topic=1217151.0


Title: Re: Setup Raspberry Pi for staking
Post by: BoscoMurray on March 25, 2016, 11:04:27 AM
Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?

Sure... They even sell Pi's that are pre-loaded with a couple blockchains of different POS coins... I'll search for the link right now

EDIT: https://bitcointalk.org/index.php?topic=1217151.0

Awesome, thank you


Title: Re: Setup Raspberry Pi for staking
Post by: cryptoheadd on March 25, 2016, 11:32:20 AM
Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?

Sure... They even sell Pi's that are pre-loaded with a couple blockchains of different POS coins... I'll search for the link right now

EDIT: https://bitcointalk.org/index.php?topic=1217151.0

Greaat.
Thanks


Title: Re: Setup Raspberry Pi for staking
Post by: UKBob on March 25, 2016, 12:02:43 PM
Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?

Sure... They even sell Pi's that are pre-loaded with a couple blockchains of different POS coins... I'll search for the link right now

EDIT: https://bitcointalk.org/index.php?topic=1217151.0

Greaat.
Thanks

Great thread, thanks contributors!  I have ordered the pre-loaded Rimbit Pi which is due for delivery in the next few weeks and I am aiming at setting up an old Pi for this purpose too.  They are great machines and since they are so cheap to buy and run a great way to spread the news of crypto to new markets in areas where power is expensive and PCs are unaffordable.

Rimbit have a section on running the Pi on their website http://www.rimbit.com/forums/rimbitpi.47/ (http://www.rimbit.com/forums/rimbitpi.47/)


Title: Re: Setup Raspberry Pi for staking
Post by: JackOLanternBob on November 10, 2017, 11:12:38 PM
You should check out BitConnect token staking, here is a link to a great tutorial
https://youtu.be/QL-9bO7z9QU


Title: Re: Setup Raspberry Pi for staking
Post by: Jonn_m5 on December 07, 2017, 02:15:09 PM
Good morning all,

Could someone on this thread provide me guidance on how to set up the wallet from unify's home site, on my raspberry pi 3,and running raspian, please? I have a small amount of this currency on NOVA and I'd like to move it off of the exchange.

Thank you, in advance, for your time and any help. :)