Page 1 of 1

Mining Guide (Linux CLI)

Posted: Thu Jun 28, 2018 2:07 am
by chipah
Linux Daemon (link from GitHub):
https://github.com/zettel-kasten/zettel ... inux64.zip

This guide assumes Zettel will be launched from /home/<user>/zettelkasten

Code: Select all

cd ~
mkdir zettelkasten
cd zettelkasten 
Download the daemon/wallet:

Code: Select all

wget https://github.com/zettel-kasten/zettelkasten/releases/download/v0.9.19.1/zettelkasten-daemon-linux64.zip
unzip zettelkasten-daemon-linux64.zip
Create config file:

Code: Select all

mkdir ~/.zettelkasten
Replace someuserany and somepasswordany to your whatever you choose.

Code: Select all

echo "rpcuser=someuserany
rpcpassword=somepasswordany
daemon=1
server=1
genproclimit=-1" > ~/.zettelkasten/zettelkasten.conf
Launch Zettel daemon:

Code: Select all

./zettelkastend
Hit Enter if your prompt is stuck with: ZettelKasten server starting

Get the account address, its privkey, etc; ...

Code: Select all

./zettelkastend getaccountaddress 0
Copy it and paste it after dumpprivkey

Code: Select all

./zettelkastend dumpprivkey <your_account_0_address>
./zettelkastend stop
Add mining privkey to zettelkasten.conf

Code: Select all

echo "gen=1
miningprivkey=yourprivkeyfromabovestep" >> ~/.zettelkasten/zettelkasten.conf
Relaunch

Code: Select all

./zettelkastend
./zettelkastend getmininginfo

You should see something like this: ...
"hashespersec" : 39456,
"networkhashps" : 80470064,
"pooledtx" : 0,
"testnet" : false

Congratulations! You are now mining Zettel on Linux :D

Re: Mining Guide (Linux CLI)

Posted: Fri Aug 03, 2018 1:54 pm
by TestingCrypto
Great guide, also works well with BurgerHash (ZettelKasten Testnet) :D

Re: Mining Guide (Linux CLI)

Posted: Fri Dec 14, 2018 11:18 am
by zombierg
This can all be done on windows 10. Before that, you need to install ubuntu through the microsoft store. Start bash and enter commands

Re: Mining Guide (Linux CLI)

Posted: Sun Jan 20, 2019 7:48 pm
by xtrojan
how to check my balance..

Re: Mining Guide (Linux CLI)

Posted: Sun Jan 20, 2019 9:34 pm
by zettelkasten
xtrojan wrote:
Sun Jan 20, 2019 7:48 pm
how to check my balance..

Code: Select all

./zettelkastend getinfo
will tell you overall balance of current wallet