Mining Guide (Linux CLI)

:pick: Tutorials and Benchmarks about CPU mining Zettel
Post Reply
User avatar
chipah
Posts: 4
Joined: Mon Jun 11, 2018 11:32 am

Mining Guide (Linux CLI)

Post by chipah » Thu Jun 28, 2018 2:07 am

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
ZbV33H1jQv3yWxYEWSmSFb5KjoAhDWjv5C

User avatar
TestingCrypto
Posts: 6
Joined: Fri Aug 03, 2018 11:37 am

Re: Mining Guide (Linux CLI)

Post by TestingCrypto » Fri Aug 03, 2018 1:54 pm

Great guide, also works well with BurgerHash (ZettelKasten Testnet) :D
#1 BurgerHash BYEskb2FyvjfXWd8eetVkQdjPYSCn3GbYr #1 Zettelkasten ZhECwHLgaGQPov8gqP2cLHg8J1pUBdBZMP
#2 BurgerHash BrqXKDyg7BMYGLWk7PzmuUwe6ohHpeba4U #2 Zettelkasten .....

zombierg
Posts: 4
Joined: Sun Dec 09, 2018 8:09 am
Location: Moscow
Contact:

Re: Mining Guide (Linux CLI)

Post by zombierg » Fri Dec 14, 2018 11:18 am

This can all be done on windows 10. Before that, you need to install ubuntu through the microsoft store. Start bash and enter commands
zombierg

xtrojan
Posts: 3
Joined: Sun Jan 20, 2019 7:43 pm

Re: Mining Guide (Linux CLI)

Post by xtrojan » Sun Jan 20, 2019 7:48 pm

how to check my balance..

User avatar
zettelkasten
Site Admin
Posts: 106
Joined: Sun Jun 10, 2018 2:17 pm
Location: Inside the ZettelKasten
Contact:

Re: Mining Guide (Linux CLI)

Post by zettelkasten » Sun Jan 20, 2019 9:34 pm

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
Dev Fund - ZetterxMoFb2crhpMgRCHkivyrbapnQpzJ

Post Reply