-
Notifications
You must be signed in to change notification settings - Fork 0
๐ค SDNautocomp for Linux, WSL, Android
The bash script is usable on native Linux systems, compatible with WSL & also tested on Android phones with UserLAnd (debian). It will try to automatically install the dependencies needed to compile the miner, grab the source & tries to compile it on your own machine with your chosen flags, then help you place the miner in "~/", and ask you if you want the minepkt.sh script to easily run the miner.
โน๏ธ๐ง to get started, make sure you have "wget", if you don't: install it with the following command
apt install wget
Tip: it might vary based on your distro, apt-get , apt, pacman, etc. DYOR if it doesn't work or result to curl
wget -O ~/sdnautocomp.sh https://github.com/SiemdeNijs/packetcrypt_rs_SNcomp/releases/download/release/sdnautocomp.sh && sudo chmod +x ~/sdnautocomp.sh && ~/sdnautocomp.sh
โน๏ธ A good order to try: clang with jemalloc, if it fails, try clang without jemalloc, if the script fails to compile with clang, please try without clang (normal) with jemalloc. If that fails, please try the normal version. Please seek contact if all of the above fails.
Why would you want to self-compile ?
As mentioned before (https://denijs.xyz/pkt-how-to-install-wsl-compile-miner) self-compiling can drastically improve performance. Each system is different and generic packages made to be 'compatible/portable' for most systems won't preform as well as a package specifically crafted for & on your own system.
Again, these instructions differ from what I'm doing with SNcomp: I'm personally editing the source & compile it with a very different method. This script is solely offered so you can measure performance on pre-compiled official vs my SNcomp vs self compiled version. In pretty much all cases, I'd still recommend using SNcomp at this moment.
For general information, which goes beyond 'SNcomp', please refer to the official docs, or packetcrypt_rs repo. I'm not affiliated with the team, this ain't for a network steward proposal, not paid. This is all voluntarily, out of love for the PKT community & the project. Please thus respect that I'm not the 24/7 tech-support.
๐ฌContact, questions, ideas, custom builds, general geeky-convos welcome:
Siem๐ป#4926 on the PKT Cash Discord: https://discord.gg/nPmBHFKWV2 or https://deNijs.xyz/
Trade $PKT on Bittrex (click here) or BitMart (click here)
Instructions for using pre-compiled packages
- ๐ช SNcomp pre compiled for Windows
- ๐ง SNcomp pre compiled for Linux/WSL
- ๐ฑ SNcomp for Android, UserLAnd
- ๐ SNComp for docker, Linuxamd64
- ๐ SNComp deployment for Akash
๐ค SDNautocomp: compile the official miner automatically
One-click mine, deploying miner and config, linux (termux) services
- ๐พ One click run for Windows, or WSL
- ๐พ Linux systemd service, optionally with tmux
- ๐พ One click run for Android
- ๐พ One command install, deploy & mine for Linux Android WSL
Extra's
- ๐ง๐ Set-up WSL for better performance on Windows
- ๐ง Log miner output to file for Linux, WSL, Android
- ๐ง Hide miner output except for mining rates for Linux, WSL, Android
Links to explorer, exchanges, docs, pools by category
- โน๏ธ Explorer/stats link directory
- โน๏ธ Active pool link directory
- โน๏ธ General resources, docs & more
FAQ list