ZETTEL_Guides

ZettelKasten Mining Installation Guide

Jun 1st, 2018
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. ### ZettelKasten Mining Installation Guide ###
  2.  
  3. # Table of content: #
  4.  
  5. 0.0 Windows
  6. 0.0a Window WSL
  7. 0.0b Linux LiveUSB
  8. 1.0 Linux
  9. 1.0a Ubuntu 16.04 compilation
  10. 1.0b Ubuntu 18.04 compilation
  11. 1.1 Start mining
  12. 2.0 Make a Full Node if you have multiple computers
  13. 3.0 Useful links
  14.  
  15. 0.0 If you're on Windows, you could either:
  16.  
  17. - Run the binaries (qt):
  18. https://zettelkasten.org/zettelkasten-win32.zip
  19.  
  20. *It's currently plug and play and doesn't need for you to do anything else than clicking "Start Mining" into the "Mining" tab.
  21. It will create a new address every time you find a block, nothing wrong with it but if you rather solomine everything to a single address, here's how:*
  22.  
  23. https://pastebin.com/s8WM9BZ5
  24.  
  25. - 0.0a Use a linux subsystem under Windows 10:
  26. https://pastebin.com/uCiZ6wew
  27.  
  28. *This is through the Windows Store, very light and fast to do, doesn't require for you to install a whole new system or anything like that and should have better hashrates than directly running it through windows.*
  29.  
  30. - 0.0b Boot into a linux LiveUSB
  31. https://pastebin.com/zsnJ3Uds
  32.  
  33. *As long as you're backing up your funds (or mining to an external address), since live USB, like your RAM is fully reset after each reboot.*
  34.  
  35. 1.0 Under Linux, you could either:
  36.  
  37. - Run the binaries:
  38. https://zettelkasten.org/zettelkasten-linux64.tar.gz
  39.  
  40. *qt if you want to run with GUI, daemon (zettelkastend) if you want to run with CLI.*
  41.  
  42. - Compile it yourself through github
  43. https://github.com/zettel-kasten/zettelkasten
  44.  
  45. - 1.0a Ubuntu 16.04 (run that command)
  46.  
  47. cd ~ && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev libssl-dev make g++ && git clone https://github.com/zettel-kasten/zettelkasten.git && cd zettelkasten/src && sed -i '242s/get<const CScriptID&>(address)/get<CScriptID>(address)/' rpcrawtransaction.cpp && chmod +x leveldb/build_detect_platform && make -f makefile.unix && chmod +x ~/zettelkasten/src/zettelkastend
  48.  
  49. - 1.0b Ubuntu 18.04
  50.  
  51. Differences with 16.04 is the package `libssl-dev` that needs to be `libssl1.0-dev` instead and also, you won't have to edit the line 242 from the file `rpcrawtransaction.cpp` so you can just run the command:
  52.  
  53. cd ~ && sudo add-apt-repository universe && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev libssl1.0-dev make g++ git && git clone https://github.com/zettel-kasten/zettelkasten.git && cd ~/zettelkasten/src && chmod +x leveldb/build_detect_platform && make -f ~/zettelkasten/src/makefile.unix && chmod +x ~/zettelkasten/src/zettelkastend
  54.  
  55. - 1.1 Start Mining
  56.  
  57. To start mining, you have to set up the zettelkasten.conf, you can read more about it over there:
  58. https://pastebin.com/P6jDsWAr
  59.  
  60. Or if that's a fresh rig, already know what you're doing and are in a hurry, you could just run that command instead:
  61.  
  62. cd ~ && mkdir ~/.zettelkasten/ && echo "rpcuser=someuserany" >> ~/.zettelkasten/zettelkasten.conf && echo "rpcpassword=somepasswordany" >> ~/.zettelkasten/zettelkasten.conf && echo "daemon=1" >> ~/.zettelkasten/zettelkasten.conf && echo "server=1" >> ~/.zettelkasten/zettelkasten.conf && echo "gen=1" >> ~/.zettelkasten/zettelkasten.conf && echo "genproclimit=-1" >> ~/.zettelkasten/zettelkasten.conf && ~/zettelkasten/src/zettelkastend && sleep 5 && PUBKEY="$(~/zettelkasten/src/zettelkastend getaccountaddress 0)" && PRIVKEY="$(~/zettelkasten/src/zettelkastend dumpprivkey $PUBKEY)" && echo "miningprivkey=$PRIVKEY" >> ~/.zettelkasten/zettelkasten.conf && ~/zettelkasten/src/zettelkastend stop && sleep 5 && ~/zettelkasten/src/zettelkastend && sleep 5 && ~/zettelkasten/src/zettelkastend getmininginfo && sleep 2 && ~/zettelkasten/src/zettelkastend getinfo && sleep 2 && ~/zettelkasten/src/zettelkastend getpeerinfo && sleep 2 && ~/zettelkasten/src/zettelkastend getmininginfo
  63.  
  64. (if your computer is really old and too slow, you can increase the sleep timers for that command)
  65. After setting up the zettelkasten.conf, you can have a list of all the commands with
  66.  
  67. ./zettekastend help
  68.  
  69. or if you're not into the folder
  70.  
  71. ~/zettelkasten/src/zettelkastend help
  72.  
  73. 2.0 ZettelKasten make a Full Node with Nodes in a same network
  74.  
  75. https://pastebin.com/1Zse955T
  76.  
  77. 3.0 Links
  78.  
  79. - Bitcointalk Announcement Thread:
  80. https://bitcointalk.org/index.php?topic=3207356.0
  81.  
  82. - Github (Main Net)
  83. https://github.com/zettel-kasten/zettelkasten
  84.  
  85. - Github (Test Net)
  86. https://github.com/zettel-kasten/burgerhash
  87.  
  88. - Blockexplorer:
  89. http://zettel.dashnetwork.info/
  90.  
  91. - Discord:
  92. https://discord.gg/ftyTFKQ
  93.  
  94. - Slack:
  95. https://join.slack.com/t/zetteltalk/shared_invite/enQtMzYxMTg4MjE2MjI2LTM5Y2U4N2NhMWI0ZjAxMWZkNDE5MDg5YmVlM2YwZWQyNmFjZTBjZTU2OTMxYmYxOTc4N2YzOTUzNjBhNDYzZjc
  96.  
  97. - Binaries:
  98. Windows (Qt Wallet - 32 bits) //NEW WALLET:
  99. https://zettelkasten.org/zettelkasten-win32.zip
  100. Linux (Qt + Daemon - 64 bits) //NEW WALLET:
  101. https://zettelkasten.org/zettelkasten-linux64.tar.gz
  102. MacOS (Qt Wallet - 64 bits) //NEW WALLET:
  103. https://zettelkasten.org/zettelkasten-mac.dmg
  104.  
  105. - CPUs By Hashrates:
  106. https://pastebin.com/exgrCzEn
Add Comment
Please, Sign In to add comment