If you're interested in staking on a Raspberry Pi, then here is a setup guide for you. Staking on a Raspberry Pi can give you additional benefits of better stability and slightly lower power consumption.

This setup guide will also help you to stake on your server or local computer utilizing the command line wallet rstrd and rstr-cli should your system not have a graphical interface.

The following steps are geared towards Linux and Mac, but with some slight modification, can be used for Windows OS as well.

The Raspberry Pi utilized for this set up was a Raspberry Pi 3 Model B Project Board. This can be found on Amazon or Target for ~$35. 

Download and Set Up the Wallet

You will need to download and set up the RSTR Core wallet first. Verify the latest version by visiting our releases (https://github.com/ondori-project/rstr/releases) and then download the wallet: 

wget https://github.com/ondori-project/rstr/releases/rstr-x.x.x.x.tar.gz

Next, you will need to extract the wallet:

tar -xvzf rstr-x.x.x.x.tar.gz

Next, you will create the RSTR data directory:

mkdir ~/.rstr

cd ~/.rstr

Now you will create the rstr.conf file: 

sudo nano rstr.conf

Now copy and paste the following (be sure to create your own recuser name and password):

rpcuser=yourUserName

rpcpassword=yourUserPassword

staking=1

(Save: CTRL+X - Y - Return)

Start the RSTR wallet

To start the RSTR wallet:

cd

cd rstr-x.x.x.x/bin/

./rstrd &

Check the status:

./rstr-cli getinfo

(if you get: “error: {“code”:-28,“message”:“Loading block index…”}” wait a moment for the wallet to sync to current block and run it again)

Now you can create a new address:

./rstr-cli getnewaddress

(write down the address)

Back up and Setup Wallet Passphrase:

./rstr-cli bip38encrypt "paste created address" "password (write down/remember)"

(save the encrypted key in a document with your backups)

`./rstr-cli encryptwallet “password (can be the same as bip38)”

Start the wallet again:

./rstrd &

./rstr-cli getinfo

(if you get: “error: {“code”:-28,“message”:“Loading block index…”}” wait a moment for the wallet to sync to current block and run it again)

If the set up was done correctly, you can now send RST to the address that was just created. After the chain is fully synced and your transaction has 51 conformations you we be able to start staking:

./rstr-cli walletpassphrase "your wallet passphrase" 9999999999 true

Allow a moment and then check if staking is active:

./rstr-cli getinfo

(you should see, “staking status” : “Staking Active”)

You can also check that staking is active by using:

./rstr-cli getstakingstatus

For Added Safety (optional)

If you'd like extra measure of safety, you can also backup your wallet.dat to a USB drive. To properly mount a USB to Raspberry Pi, follow this link below:

How to Mount USB to Raspberry Pi

After you have mounted your USB to your Raspberry Pi, you can copy your wallet.dat onto the USB:

cp ~/.rstr/wallet.dat /media/usb