This repository was forked from Kralverde's https://github.com/kralverde/ravencoin-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.
This is not pool software and is meant for solo-mining!
All proceeds go to the address of the first miner that connects.
Mining software will only send a share when it has found a block.
No shares for long periods of time is normal behavior!
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.
- Requires python 3.8+
- 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 inwindows/python_modules
.
A bat file is avaliable to auto install python and dependencies and generate another bat file to run the stratum.
- Ensure your node is configured as required.
- (Re)start your node (the qt wallet works).
- Download this repo (https://github.com/EvrmoreOrg/evrmore-stratum-proxy/archive/refs/heads/master.zip)
- Unzip the downloaded file
- Open the unzipped folder
- Open the
windows
folder - Double-click
generate_bat.bat
- After
generate_bat.bat
completes with no errors, go back to the previous folder. - Copy
run.bat
to the/windows
folder. - Double-click
run.bat
to run the stratum converter. - 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 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
@kralverde#0550 is avaliable on the community ravencoin server (https://discord.gg/jn6uhur)