description |
---|
Shaicoin is a CPU mineable cryptocurrency that operates as a fork of Bitcoin, focusing on a unique mining algorithm known as ShaiHive. The following guide is for those who are familiar running Linux |
Disclaimer:
This is not financial advise. Mining can damage your hardware.
This guide is purely made for those who wants to try mining $SHA with their Linux machines.
Do not have a Linux computer or spare CPU to mine?
Rent one here: https://cloud.vast.ai/?ref_id=94252
The steps involved include:
* Setting up a Shaicoin Core Wallet
* Generating a $SHA address
* Building $SHA miner
* Connecting to a mining pool
On your Terminal, run the following commands:
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev libsqlite3-dev -y
git clone https://github.com/shaicoin/shaicoin
cd shaicoin
./autogen.sh
./configure
Depending on the number of CPU cores of your machine, the next command will require you to indicate that number. The build process might take a while. Please be patient.
# example make -j8
make -jmake -j [# CPU cores]
Navigate to the /src
folder and then run the following command to launch the core wallet in the background.
./shaicoind -daemon
To view the logs navigate to the .shaicoin
folder.
cd
cd .shaicoin
Next, run this command.
tail -f debug.log
Wait for your core wallet to fully sync before you proceed to the next step.
To check the current block, go here: https://blocks.shaicoin.com. Compare the "height" value shown on the logs to the most recent block on the Shaicoin block explorer.
Navigate to /shaicoin/src
folder:
cd
cd shaicoin
cd src
Then run the command to generate a wallet:
./shaicoin-cli createwallet "yourwalletname"
You can put in a wallet name that you like.
Next, generate a $SHA address:
./shaicoin-cli getnewaddress
Take note of the address since this will be used for your miner.
Always make a backup of your wallet. Here is how to do it.
Go back to the .shaicoin
folder to see your wallet backup.
cd
cd .shaicoin
cd wallets
Save the contents of the folder in order to restore your wallet in case you need to move to a different machine.
Build $SHA miner
apt install libssl-dev
Run the following command:
curl https://sh.rustup.rs -sSf | sh
Then choose option "1". Once it is done, set the PATH:
source "$HOME/.cargo/env"
cd
git clone https://github.com/shaicoin/shaipot.git
cd shaipot
Run the following command:
cargo rustc --release -- -C opt-level=3 -C target-cpu=native -C codegen-units=1 -C debuginfo=0
Get your $SHA address that you have generated and use that for the command to run your miner. You can follow this format:
./target/release/shaipot --address sh1xxxxxxxxxxxxxj --pool ws://162.220.160.74:3333
Make sure to change the address, or else your mining rewards will go to me.
Run the command and that is it. You are now mining $SHA.
If you are still using the initial version of the miner, you can update it to get better hash rates.
Here are the steps to do so.
Stop your miner, Use CTRL+C. Make sure you are in the shaipot
directory.
Run the following commands:
cd
cd shaipot
git pull
After downloading the latest version, recompile miner.
cargo rustc --release -- -C opt-level=3 -C target-cpu=native -C codegen-units=1 -C debuginfo=0
Run miner again to see a much better performance.
Check your progress here: https://shaipool.z4ch.xyz/
Pool address: https://blocks.shaicoin.com/address/sh1qa5l9n97jerlwgpd5rrhj8nnqvvre4qnz0dy2fu
Rewards will automatically be distributed once the coins that the pool receives reaches a maturity of a 100 blocks.
Thanks for reading!
If you do not want to mine $SHA, you can get it from exchanges.
Here is my referral link for NonKYC: https://nonkyc.io?ref=658045d205279ea14f3a7169
CoinGecko is already tracking the price:
https://www.coingecko.com/en/coins/shaicoin
Follow @shai_pow on X and go to their Discord: https://discord.gg/vrfvbrDU