Bitcoin Forum
April 25, 2024, 05:41:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Setup Raspberry Pi for staking  (Read 2350 times)
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 22, 2016, 08:01:13 AM
 #1

Hey,

How do I setup my raspberry pi for staking?

Thanks
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714023719
Hero Member
*
Offline Offline

Posts: 1714023719

View Profile Personal Message (Offline)

Ignore
1714023719
Reply with quote  #2

1714023719
Report to moderator
1714023719
Hero Member
*
Offline Offline

Posts: 1714023719

View Profile Personal Message (Offline)

Ignore
1714023719
Reply with quote  #2

1714023719
Report to moderator
1714023719
Hero Member
*
Offline Offline

Posts: 1714023719

View Profile Personal Message (Offline)

Ignore
1714023719
Reply with quote  #2

1714023719
Report to moderator
J1mb0
Hero Member
*****
Offline Offline

Activity: 983
Merit: 502



View Profile
March 22, 2016, 10:15:20 AM
Last edit: March 22, 2016, 10:39:55 AM by J1mb0
 #2

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!



             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

. Graphene Airdrop Coming Soon by Phore .
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 22, 2016, 10:43:34 AM
 #3

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?  Grin
merelcoin
Hero Member
*****
Offline Offline

Activity: 675
Merit: 504


View Profile
March 22, 2016, 10:46:31 AM
 #4


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

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 Smiley
J1mb0
Hero Member
*****
Offline Offline

Activity: 983
Merit: 502



View Profile
March 22, 2016, 10:50:37 AM
Last edit: March 22, 2016, 11:35:30 AM by J1mb0
Merited by The Sceptical Chymist (2)
 #5


Thanks for your reply.
Is it possible to get a GUI wallet?  Grin
[/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!  Cheesy

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! Cheesy


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

. Graphene Airdrop Coming Soon by Phore .
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 22, 2016, 11:35:25 AM
 #6


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

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 Smiley

Thank you for your reply.
Quote

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

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!  Cheesy


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

Thanks
J1mb0
Hero Member
*****
Offline Offline

Activity: 983
Merit: 502



View Profile
March 22, 2016, 11:42:43 AM
 #7



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

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!


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

. Graphene Airdrop Coming Soon by Phore .
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 22, 2016, 11:48:18 AM
 #8

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"
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 22, 2016, 11:50:17 AM
 #9

Also, this is for Raspbian OS, right?  Grin
J1mb0
Hero Member
*****
Offline Offline

Activity: 983
Merit: 502



View Profile
March 22, 2016, 11:59:35 AM
 #10

Also, this is for Raspbian OS, right?  Grin

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


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

. Graphene Airdrop Coming Soon by Phore .
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
merelcoin
Hero Member
*****
Offline Offline

Activity: 675
Merit: 504


View Profile
March 22, 2016, 02:26:43 PM
 #11

Also, this is for Raspbian OS, right?  Grin

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 Wink
BoscoMurray
Sr. Member
****
Offline Offline

Activity: 450
Merit: 250


View Profile
March 25, 2016, 10:11:11 AM
 #12

Is it possible to be staking 3 or 4 crypto's at the same time on a Pi 2/3?
merelcoin
Hero Member
*****
Offline Offline

Activity: 675
Merit: 504


View Profile
March 25, 2016, 10:21:55 AM
 #13

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
BoscoMurray
Sr. Member
****
Offline Offline

Activity: 450
Merit: 250


View Profile
March 25, 2016, 11:04:27 AM
 #14

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
cryptoheadd (OP)
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 501


View Profile
March 25, 2016, 11:32:20 AM
 #15

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
UKBob
Member
**
Offline Offline

Activity: 80
Merit: 10

I like Ethereum and Rimbit


View Profile
March 25, 2016, 12:02:43 PM
 #16

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/

RM6kf3k6d12nsTkV3B7amvsTUXcyFuFWaz
JackOLanternBob
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 10, 2017, 11:12:38 PM
 #17

You should check out BitConnect token staking, here is a link to a great tutorial
https://youtu.be/QL-9bO7z9QU
Jonn_m5
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 07, 2017, 02:15:09 PM
 #18

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. Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!