Mining on Wienchain — The Full Breakdown

Wienchain
6 min readMar 25, 2020

--

Wienchain maintains the validity and security of its chain with a unique, hybrid consensus algorithm. The consensus is created through a combination of both miners and Masternodes. This article provides an in-depth outlook of how mining on Wienchain works (Article on Masternodes coming soon). Like on many blockchains, transactions on the Wienchain network are secured using a cryptographic method known as Proof of Work (PoW) mining. In this process, powerful computer processors search for solutions to a mathematically difficult problem defined by the X16Rv2 hashing algorithm.

What is the X16Rv2

This algorithm is the latest version of the X16 which is a descendant of the X11 hashing algorithm, an algorithm that runs 11 hashing functions and was primarily implemented on Dash. The X11 hashing algorithm was great because it ran 11 different hashing functions — making it difficult for any particular mining sector to dominate the market. Similarly, the X16R runs 16 hash functions in its series.

The great thing about X16R is the fact that it becomes very problematic for it to be implemented into ASICs, due to the 16 hash functions and the random order that each hash function uses.

Why Is It Important To Become ASIC Resistant?

ASIC stands for Application-Specific Integrated Circuit. They are specialist mining machines that are solely dedicated to hash on that specific mining function — bringing super high hash rates!

As the devices are “application-specific” this means they are purposely built to mine on that particular hashing algorithm.

As ASICs create a higher hash rate than GPUs, they eventually always take up the majority of the network hashing rate. This tends to reduce the distribution and introduce centralization within a token economy that causes uncertainty and instability as the coin is in danger of ending up in the hands of a small number of holders.

The X16R seeks to disrupt ASICs by always changing the order of the hashing algorithms. The order is changed depending on the hash of the previous block. The output of 1 block becomes the input of the next block — leading to a new order in mining algorithms.

What Is X16Rv2?

The X16Rv2 is a solution to preventing ASICs on the network. The algorithm upgrade introduced the Tiger function in three different parts of the X16R algorithm which will be executed before the Luffa, Kecca, and SHA-512 algorithms.

This solves the problem as it introduces another hashing function into the network that ASICs have not been programmed to mine upon — preventing their activity on the Wienchain network.

How to start mining?

Using your own hardware:

If you have a mining ring or even a powerful Nvidia GPU, you can mine using T-Rex, if you have a powerful cpu you can try a CPU miner.

CPU miner

This is not the most profitable way, but if you want to try you can compile : https://github.com/tpruvot/cpuminer-multi

And then run the following command

t-rex.exe -a x16rv2 -o stratum+tcp://sea-pool.wienchain.com:8081 -u YOUR_ADDRESS.RIG_ID -p x

Remember to replace YOUR_ADDRESS with your actual Wien Chain wallet address, so that you could get your coins. For example, a8ULhhDgfdSiXJhSZVdhb8EuDc6R3ogsaM.

Also, make sure to change RIG_ID — a rig name of your choice. It may be useful if you have more than one rig. You can use up to 32 Latin symbols, numbers, as well as “-” and “_”. For example, rig-1.

CPU miner Support

Head to this page,https://github.com/tpruvot/cpuminer-multi/pulls, and follow the instructions to write down your issue. Wienchain project is not ensuring any support regarding the usage of Multi miner software.

GPU using T-Rex

T-Rex is a miner that supports over 30 algorithms. The program is created for ‘green’ graphics cards, which is Nvidia. It supports Windows and Linux. On the project’s page on GitHub the developers point out that they are trying to make T-Rex as fast and convenient as possible.

Developer fee is 1%, which means that every two hours, your equipment will work for developers for a bit over 1 minute.

GPU Hash Rates On T-Rex

The number below are estimated number, your mileage may vary

  • Nvidia GTX 1050 Ti 4gb — 6.5 Mh/s;
  • Nvidia GTX 1060 3/6gb — 9.5 Mh/s;
  • Nvidia GTX 1070 8gb — 17 Mh/s;
  • Nvidia GTX 1070Ti 8gb — 24 Mh/s;
  • Nvidia GTX 1080 8gb — 27 Mh/s;
  • Nvidia GTX 1080Ti 11gb — 34 Mh/s;
  • Nvidia GTX 1660 6 gb — 16 Mh/s;
  • Nvidia GTX 1660Ti 6gb — 19 Mh/s;
  • Nvidia RTX 2060 6gb — 21 Mh/s;
  • Nvidia RTX 2070 8gb — 30 Mh/s;
  • Nvidia RTX 2080 8gb — 31 Mh/s;
  • Nvidia RTX 2080Ti 11gb — 38 Mh/s.

Where To Download T-Rex

The latest miner version to date is 0.14.6. The developers concentrated on bug fixes and fixed four known issues. You can download T-Rex on GitHub.

How To Setup T-Rex

Here is how to set up T-Rex for Wienchain and the south east asia pool.

(Use a mining pool close to your location for a smoother experience)

t-rex.exe -a x16rv2 -o stratum+tcp://sea-pool.wienchain.com:8081 -u YOUR_ADDRESS.RIG_ID

-p x

Remember to replace YOUR_ADDRESS with your actual Wien Chain wallet address, so that you could get your coins. For example, a8ULhhDgfdSiXJhSZVdhb8EuDc6R3ogsaM.

Also, make sure to change RIG_ID — a rig name of your choice. It may be useful if you have more than one rig. You can use up to 32 Latin symbols, numbers, as well as “-” and “_”. For example, rig-1.

T-Rex running steps:

Before running the miner make sure that you have installed the Cuda toolkit 10.2, you can download and install it at this address:

https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal

While this download is running, head to the wallet page and follow the steps to get your own wallet, copy/paste your wallet address. Your wallet address will be used to run the miner.

In the example below, the wallet address used is WcrQNTTpg5apd174TUo38TZhXoyb2bAzeo

Now that the Cuda toolkit is installed and that the T-rex software is downloaded and unzipped, fire a cmd.exe.

And input the following command to run T-rex.

t-rex.exe -a x16rv2 -o stratum+tcp://sea-pool.wienchain.com:8081 -u WcrQNTTpg5apd174TUo38TZhXoyb2bAzeo.rig-1 -p x

You shall see the following screen:

At this stage, you are mining, let run the process as long as you can .

While the mining is running, you can validate that your mining rig is seen by the pool.

Head to the mining pool that your are using on the workers page: https://sea-pool.wienchain.com/workers

You should be able to see your miner:

It can take a while before your first payment, just let it run and forget about it for a few hours.

T-Rex Support

Head to this page, https://github.com/trexminer/T-Rex/issues, and follow the instructions to write down your issue. Wienchain project is not ensuring any support regarding the usage of T-Rex software.

Rent the hardware:

Another easy solution is to rent the hardware and start mining quickly, top do so go to https://www.miningrigrentals.com?ref=2614506 and create an account.

Deposit some BTC/LTC/ETH/DASH and go to the marketplace.

Buy some hash power using the following configuration

Algorithm

X16Rv2

Stratum hostname or IP

stratum+tcp://sea-pool.wienchain.com

Port

8080

Support:

Directly contact https://www.miningrigrentals.com/helpcenter for any issue when renting a mining rig.

IMPORTANT NOTE:

Please find a mining pool nearer to your location for smoother experience.

US Pool: https://us-pool.wienchain.com

EU Pool: https://eu-pool.wienchain.com

CN Pool: https://cn-pool.wienchain.com

SEA Pool: https://sea-pool.wienchain.com

Stratum URLs to use:

URL

Difficulty

stratum+tcp://sea-pool.wienchain.com:8080

128 to 20,480
Suitable for multiple mining rigs / rented rigs

stratum+tcp://sea-pool.wienchain.com:8081

5 to 2,048
Suitable for Rig with single to multiple GPUs

stratum+tcp://sea-pool.wienchain.com:8082

0.1 to 64
Suitable for Home PC with CPU or GPU

And with that, mine away dear friends!

Wienchain is still in its infancy but with a talented team, big plans, and an enthusiastic community. We’d love to have you be apart of our fast-growing community.

Telegram
Twitter
LinkedIn
Facebook
Instagram

--

--