In this blog post, you’ll learn how to mine PKT on Amazon Web Services (AWS) from scratch. The best part? You don’t need to learn any complicated stuff.
I’ve done the hardest part of the job — writing an automated script for you.
Excited? Let’s get started.
Disclaimer: You may not use AWS Services under any Offers to mine for cryptocurrency in the free trial.
Method 1: How to Mine PKT on Amazon Web Services
Once you signed in, click “Launch a virtual machine”.
Search for “Ubuntu” and select 64bit (x86) Ubuntu Server 20.04 LTS (HVM), SSD Volume Type.
Select the highest cores that your account allows. I’m going to select “36” cores.
Click the text starting with i.
Again click the ID.
Click the Connect button. If not shown, refresh your browser.
Now click on “Connect”
You’ve successfully signed in to the server.
Just type the below command lines that were written by the founder of Sribzi in the Telegram group.
Just paste the below lines into the terminal.
sudo apt-get update && sudo apt-get upgrade -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
You’ll see like this:
All the scripts will be executed without any manual efforts except the below one. Just press the ENTER key to proceed.
It’s time to paste the second script when you see the green bar. Please don’t forget to replace your PKT wallet address. Make sure to have one space before and after the PKT address otherwise, your account will not be funded.
~/.cargo/bin/cargo build --release ; ./target/release/packetcrypt ann -p pkt1q5v2ez8drssjcrwfh5tjz2pw06t0e7h7kq74es2 https://stratum.zetahash.com/ http://pool.pkt.world http://pool.pktpool.io http://pool.pkteer.com
Congratulations! Your mining is working. When you see the Ke/s and the Mb/s, it means mining is working.
Don’t you have a PKT wallet address? Don’t worry, click the article.
- How to Create a PKT Wallet on Windows
- How to Create PKT Wallet on Ubuntu
- How to Create PKT Wallet On Mac
After 20 minutes, always check your PKT mining stats that show either your mining is working or not.
Method 2: PKT Mining on AWS 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.