How to Mine PKT on AWS 2

How to Mine PKT on AWS [Simple 13 Steps]

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.

giphy 9

Disclaimer: You may not use AWS Services under any Offers to mine for cryptocurrency in the free trial. 

AWS Free Tier

Method 1: How to Mine PKT on Amazon Web Services

Step 1

Once you signed in, click  “Launch a virtual machine”.

Launch a virtual machine

Step 2

Search for “Ubuntu” and select 64bit (x86) Ubuntu Server 20.04 LTS (HVM), SSD Volume Type.

Select Ubuntu AWS

Step 3

Select the highest cores that your account allows. I’m going to select “36” cores.

Selecting 36 Cores on AWS

Step 4

Proceed without a key

Step 5:

Click the text starting with i.

your instances are launching

Step 6:

Again click the ID.

instance ID

Step 7

Click the Connect button. If not shown, refresh your browser.

Connect PKT

Step 8

Now click on “Connect


EC2 instane

Step 9:

You’ve successfully signed in to the server.

PKT coin

Step 10:

Just type the below command lines that were written by the founder of Sribzi in the Telegram group.

PKT Mining Script

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:

AWS Command

Step 11

All the scripts will be executed without any manual efforts except the below one. Just press the ENTER key to proceed.

Press Enter

Step 12

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.

Greenbar PKT
~/.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

Step 13

Congratulations! Your mining is working. When you see the Ke/s and the Mb/s, it means mining is working.

Mining Working PKT on AWS

 

Don’t you have a PKT wallet address? Don’t worry, click the article.

After 20 minutes, always check your PKT mining stats that show either your mining is working or not.

pkt world PKT mining reward balance check 1

 

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.

Step 1:

First, update your existing list of packages:

sudo apt update

Step 2:

Installing a few prerequisite packages lets apt use packages over HTTPS:

sudo apt install apt-transport-https ca-certificates curl software-properties-common

Step 3:

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 -

Step 4:

Add the Docker repository to your APT sources:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

Step 5:

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

Step 6:

After all that, you’re ready to install Docker. Don’t forget to type Y and hit Enter.

sudo apt install docker-ce
image

Step 7:

Docker should be installed, the daemon started, and the process enabled to start on boot. Check that this is true:

sudo systemctl status docker

Step 8:

It’s time to install the PKT docker image. Type:

docker pull thomasjp0x42/packetcrypt

Step 9:

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.

image 1