Did you know? Even when you are asleep, you pay your entire internet bill. PKT allows you to pay your internet bill with your unused bandwidth, isn’t it great?
Despite the fact that most people make PKT mining on Ubuntu extremely difficult, I will demonstrate a simple script that automates the majority of the work.
Excited? Let’s get started.
Method 1: PKT Mining on Ubuntu Step by Step Guide
The first thing you need to run is Terminal on Ubuntu.
When you open it, paste the below code. Previously, people had to type the command line one by one that took a lot of time. Linux is great; it saves time.
sudo apt-get update && sudo apt-get upgrade -y && sudo apt install curl -y && sudo apt install tmux -y && sudo apt install gcc git -y && curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh && sudo apt install make && rm -rf packetcrypt_rs && pkill -f packetcrypt ; git clone https://github.com/cjdelisle/packetcrypt_rs && cd packetcrypt_rs && tmux
When you see this step that displays:
1) Proceed with the installation
2) Customize installation
3) Cancel Installation.
You don’t need to select an option, just hit the ENTER button.
~/.cargo/bin/cargo build --release ; ./target/release/packetcrypt ann -p pkt1q5v2ez8drssjcrwfh5tjz2pw06t0e7h7kq74es2 http://pool.pkt.world http://pool.pktpool.io https://stratum.zetahash.com/ http://pool.pkteer.com
After a few minutes, now paste the second script when you see the green bar. Don’t forget to replace your PKT address with your address.
If you don’t have a PKT wallet address for mining, don’t worry, at the bottom of the article, I showed how you can create a wallet without running any complicated command lines.
I put the pool order that is responsible for giving you the best rewards from mining.
When you see the Ke/s and Mb/s, it means your mining is working fine. That’s it.
In order to check how many coins have you earned, you can visit the PKT explorer and put your PKT address to view your mining stats.
Method 2: PKT Mining on Ubuntu Using Docker Image (Updated March 2022)
Occasionally, the method described above will not work for a variety of reasons. However, the Docker image method will always work.
First, update your existing list of packages:
sudo apt update
Installing a few prerequisite packages lets apt use packages over HTTPS:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Add the GPG key for the official Docker repository to your system:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add the Docker repository to your APT sources:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
To update our package database with the latest versions of Docker, we’re going to add the Docker repo to Ubuntu.
apt-cache policy docker-ce
After all that, you’re ready to install Docker. Don’t forget to type Y and hit Enter.
sudo apt install docker-ce
Docker should be installed, the daemon started, and the process enabled to start on boot. Check that this is true:
sudo systemctl status docker
It’s time to install the PKT docker image. Type:
docker pull thomasjp0x42/packetcrypt
Replace the wallet address with yours:
docker run thomasjp0x42/packetcrypt ann -p <your_wallet_address> <pool_1> <pool_2> <pool_3>
It would be something like this:
docker run thomasjp0x42/packetcrypt ann -p pkt1qnrrhxwarlm4x4a47zxu0shylm4jh502vj9jypu https://stratum.zetahash.com/ http://pool.pktpool.io http://pool.pkt.world
When you see ke/s, it means it’s working fine.
Don’t have a PKT Wallet Address?
Don’t worry, I’ve created an extremely easy guide on creating a PKT wallet address for mining:
- How to Create a PKT Wallet on Windows
- How to Create PKT Wallet on Ubuntu
- How to Create PKT Wallet On Mac
Once you’ve created a PKT wallet address, replace the address mentioned in the second script.
Have a question? Ask below in the comment section.