Skip to content

Solo mine EVR using 3rd-party mining software- by Kralverde

Notifications You must be signed in to change notification settings

EvrmoreOrg/evrmore-stratum-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository was forked from Kralverde's https://github.com/kralverde/ravencoin-stratum-proxy

evrmore-stratum-proxy

Allows you to mine directly to your own local wallet/node with any mining software that uses the stratum protocol.

If you are a windows user and are not familiar with python, a walk-through and auto installer is avaliable for a (hopefully) easy install. See here.

Important Note

This is not pool software and is meant for solo-mining!
All proceeds go to the address of the first miner that connects.

Important Note 2

Mining software will only send a share when it has found a block.
No shares for long periods of time is normal behavior!

Table of Contents

Note: Although this software allows configuration for testnet, Evrmore does not need this software for testnet because it is sha256d CPU mined, not GPU mined. Use for Evrmore mainnet only.

For Linux:

  1. Requires python 3.8+
  2. Run python3 -m pip install -r requirements.txt
  • Note that the pysha3 module will need to be compiled so you need some kind of C compiler installed. Alternatively, a precompiled .whl is avaliable in windows/python_modules.

A bat file is avaliable to auto install python and dependencies and generate another bat file to run the stratum.

  1. Ensure your node is configured as required.
  2. (Re)start your node (the qt wallet works).
  3. Download this repo (https://github.com/EvrmoreOrg/evrmore-stratum-proxy/archive/refs/heads/master.zip)
  4. Unzip the downloaded file
  5. Open the unzipped folder
  6. Open the windows folder
  7. Double-click generate_bat.bat
  8. After generate_bat.bat completes with no errors, go back to the previous folder.
  9. Copy run.bat to the /windows folder.
  10. Double-click run.bat to run the stratum converter.
  11. Connect to the stratum

Requires the following evrmore.conf options:

server=1
rpcuser=my_username
rpcpassword=my_password
rpcallowip=127.0.0.1

On *nix OS's this file is located at ~/.evrmore by default. On windows, this file is located at %appdata%\roaming\Evrmore.

You may need to create the evrmore.conf file and add those lines if it does not exist.

For testnet you can add testnet=1 to your evrmore.conf

Note: Please keep in mind that EVR testnet is sha256d algorithm and must be CPU mined.

  • Default Mainnet rpcport = 8819
  • Default Testnet rpcport = 18819

Make sure you configure the rpcport on stratum-converter.py accordingly.

The stratum converter, python stratum-converter.py, uses the following flags:
Port_for_miner Ip_of_node
Rpc_username Rpc_password
Rpc_port Allow_external_connections
Is_testnet (optional)

With this in mind, we can run testnet from a local node with a local miner:

python3 stratum-converter.py 54325 localhost my_username my_password 18819 false true

And for a local node on mainnet with an external miner:

python3 stratum-converter.py 54325 localhost my_username my_password 8819 true

Connect:

Connect to it with your miner of choise:

status miner example
✔️ Works evrprogpowminer evrprogpowminer -P stratum+tcp://YOUR_WALLET_ADDRESS.worker@PROXY_IP:54325
✔️ Works Wild-Rig Multi wildrig --algo evrprogpow --url stratum+tcp://pool.com:3333 --user Wallet.Worker --pass x

If using stratum-proxy + Wild-Rig Multi to solo mine locally directly to coin daemon then use:
wildrig.exe --algo evrprogpow --url stratum+tcp://127.0.0.1:3333 --user Wallet.Worker --pass x if local.

or if you want to point your HiveOS rigs or other outside miners to the stratum-proxy then do it like this:

wildrig.exe --algo evrprogpow --url stratum+tcp://<IP of PC w/ stratum-proxy>:<proxy port> --user Wallet.Worker --pass x

Example: wildrig.exe --algo evrprogpow --url stratum+tcp://192.168.1.112:2525 --user Wallet.Worker --pass x

Help:

@kralverde#0550 is avaliable on the community ravencoin server (https://discord.gg/jn6uhur)

About

Solo mine EVR using 3rd-party mining software- by Kralverde

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •