Skip to content

SimoneHz/remove_miner_fees

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

mining_fees_remover

Removes miner fees using nfqueue. -Tested on ubuntu 16.04 mining on nanopool with claymore dual ethereum miner for linux version 9.4. -Tested also with Claymore 10.4 for Windows on ethermine via VPN connection with the script running on the server (ubuntu 16.04). In this case it works for all the mining rigs connected to the VPN server.

How does this work?

It modifies outgoing packets using nfqueue, substituting the dev fee wallet address with your own wallet address.

Setup

Disable ufw

sudo ufw disable

Install python-nfqueue and python-scapy. Has been tested with python-nfqueue 0.5-1build2 and python-scapy 2.2.0-1 from the ubuntu 16.04 repositories, if using different versions you may need to modify the code as described here

sudo apt-get install python-nfqueue python-scapy

Download the program and run it as root (nfqueue needs to be run as root). Keep it running in the background

wget https://raw.githubusercontent.com/SimoneHz/remove_miner_fees/master/mining_fees_remover.py
sudo python mining_fees_remover.py

Now you can start the miner

./ethdcrminer64 -epool eth-us-west1.nanopool.org:9999 -ewal 0xb70fc6f9865ce18c20d90ebf067d9951918f8933/someworker -epsw x -dpool stratum+tcp://siamining.com:7777 -dwal 74ab711929bfc28359c8485a4e488d2f89b623771788fbeca7e7f5fe993ec691fec713e9f35b.someworker -dcoin sia -dcri 70

Specifying where mining fees should be redirected

Note that this program redirects mining fees to 0xe25833086cf84239fb05ba10db30a54c30c7185a by default. You will want to substitute that with your own wallet address in the source code by editing the variable my_eth_address

Using pools other than nanopool

Note that this program assumes port 4444 by default (used by ethermine). Substitute the port by editing the number after --dport 4444 in the iptables command.

Modified by

SimoneHz https://github.com/SimoneHz

Offer me a coffee: 0xe25833086cf84239fb05ba10db30a54c30c7185a

Original Author

Geza Kovacs

Licence

GNU GPL v3

Original Donations

ETH 0xb70fc6f9865ce18c20d90ebf067d9951918f8933

BTC 1PYmDbxXDS9FjAdH8jxE2stdf1Yrsvqdos

ZEC t1Yi9izeKkWbVtXRrQNdUbs7BdZVbwVVRcw

SIA 74ab711929bfc28359c8485a4e488d2f89b623771788fbeca7e7f5fe993ec691fec713e9f35b

About

Removes miner fees on claymore ethereum miner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%