SHIBA mining
Our Raspberry PI can be used as crypto miner and I have tested it for Shiba mining. It is advised to use at least 4GB RAM even the 2GB works fine. Higher is the RAM available and higher is the has rate (the rate of the computationla power of your machine). Higher is the hash rate, higher is the reward you gain. I used my Raspberry 2GB RAM and increased the RAM of 2GB with the method used at this link.
The steps to configure Raspberry as a Shiba Miner are the following:
Sudo apt update && sudo apt full-upgrade | to update the OS |
Sudo apt-get clean | to clear the cache |
Sudo reboot | reboot the Raspberry |
Sudo apt-get install -y Raspbian-nspawn-64 | If you have a 64 OS you don’t need to follow this step |
Ds64-shell | to run the 64bit shell |
After you read this line you can continue to the next step
Sudo apt-get install git -build-essential cmake libuv1-dev libssl-dev libhwloc-dev screen |
|
Mkdir xmrig | after the above libraries have been instlaled create the folder "xmrig" |
Git clone https://github.com/xmrig/xmrig.git | download the application |
Cd xmrig | go inside the folder |
Mkdir build | create the folder "build" |
Cd build | go inside that folder |
Cmake .. | open Cmake tool |
Make | for compoiling the code |
Ls | to see if you find all the files as below |
Go to this page and right click, then copy link or download the highlighted file
Mkdir temp | Create the temp folder |
Wget https://github.com/xmrig/xmrig/releases/download/v6.15.2/xmrig-6.15.2-bionic-x64.tar.gz | Download the copied link (could change depending on the available version) |
Ls | |
tar xzf xmrig **** [press TAB to autocomplete the folder name] | Unzip the downloaded file |
cd xmrig *** [press TAB] | Go into the folder |
cp config.json ../.. | Copy the file at the upper level |
cd ../.. | Goto the upper level |
ls | |
rm -r temp | Remove the folder temp |
vim config.json | Open the file with the editor vim |
:set nu | Show into the file the line number |
Go to line 67 and write rx.unmineable.com:3333 | Unmineable address |
At the line 68 insert this: SHIB:[ your wallet address].PI4#u5wu-kjc6 |
Wallet_address.worker_name.my_referral_code Thanks to this referral you'll pay 0.75% fees intead of 1% |
If you don't want to use the 4 cores and leave 1 for other processes you can add this line after line 42 add a line “rx”: [0, 1, 2,], |
To use just 3 threads instead of 4 |
At the following line isert “rx/0”: “rx” | |
Press Esc then :wq to exit vim | To exit insert modality and the editor vim |
Screen -S shib ./xmrig -c config.json | Write this string to execute xmrig |
If you want to exit the terminal just CTRL+C and digit exit
Don't forget to use my referral u5wu-kjc6 to obtain the 0.25% discount on the fees (normally is 1%, using this becomes 0.75%)
Going to https://unmineable.com/coins/SHIB/address you can check how many SHIBA INU coins have received, just paste your wallet address in the apposit area. You can also check the worker connections and the current hash-rate.
This is the end of this tutorial. Enjoy your SHIBA INU mining.
Michele