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 BETA software mainly tested on testnet, but has been confirmed to work on mainnet. (First known coinbase: https://explorer.mewccrypto.com/api/getrawtransaction?txid=be59062cd91958752b275755fed23531207231d9e4fc4f857043fd36e08d5ace&decrypt=1 can check by putting the vin coinbase into a hex->ascii converter).
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.
- 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/cdonnachie/meowcoin-stratum-proxy/archive/refs/heads/main.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. - Double-click
run.bat
to run the stratum proxy.
Requires the following meowcoin.conf
options:
server=1
rpcuser=my_username
rpcpassword=my_password
rpcallowip=127.0.0.1
On *nix OS's this file is located at ~/.meowcoin
by default. On windows, this file is located at %appdata%\Meowcoin
.
You may need to create the meowcoin.conf
file and add those lines if it does not exist.
For testnet you can add testnet=1
to your meowcoin.conf
note:
- Default Mainnet rpcport =
9766
- Default Testnet rpcport =
19766
Make sure you configure the rpcport on meowcoin-stratum-proxy.py
accordingly.
The stratum proxy uses the following flags:
usage: meowcoin-stratum-proxy [-h] [--address ADDRESS] [--port PORT] [--rpcip RPCIP] [--rpcport RPCPORT]
--rpcuser RPCUSER --rpcpass RPCPASS [-t] [-j] [-v] [--version]
Stratum proxy to solo mine to MEOWCOIN node.
options:
-h, --help show this help message and exit
--address ADDRESS the address to listen on, defaults to 127.0.0.1
--port PORT the port to listen on
--rpcip RPCIP the ip of the node rpc server to connect to.
--rpcport RPCPORT the port of the node rpc server to connect to.
--rpcuser RPCUSER the username of the node rpc server to connect to.
--rpcpass RPCPASS the password of the node rpc server to connect to.
-t, --testnet running on testnet
-j, --jobs show jobs in the log
-v, --verbose, --debug
set log level to debug
--version show program's version number and exit
With this in mind we can run testnet from a local node with a miner:
python3 meowcoin-stratum-proxy.py --address 127.0.0.1 --port 54321 --rpcip 127.0.0.1 --rpcport 19766 --rpcuser my_username --rpcpassword my_password -j -t
Testnet with defaults
python3 meowcoin-stratum-proxy.py --rpcuser my_username --rpcpassword my_password -t
And for a local node on mainnet with a miner:
python3 meowcoin-stratum-proxy.py --address 127.0.0.1 --port 54321 --rpcip 127.0.0.1 --rpcport 9766 --rpcuser my_username --rpcpassword my_password -j
Mainnet with defaults
python3 meowcoin-stratum-proxy.py --rpcuser my_username --rpcpassword my_password
Connect to it with your miner of choise:
status | miner | example |
---|---|---|
✔️ Works | T-rex | t-rex -a kawpow -o stratum+tcp://PROXY_IP:54325 -u YOUR_WALLET_ADDRESS -p x |
✔️ Works | TeamRedMiner | teamredminer -o stratum+tcp://PROXY_IP:54325 -u YOUR_WALLET_ADDRESS -p x --eth_hash_report=on |
✔️ Works | Gminer | miner --algo kawpow --server PROXY_IP:54325 --user YOUR_WALLET_ADDRESS --pass x |
✔️ Works | kawpowminer | kawpowminer -P stratum+tcp://YOUR_WALLET_ADDRESS.worker@PROXY_IP:54325 |
@craigd9686 is avaliable on the community meowcoin server (https://discord.gg/EYv5cCjQRd)
Donate:
- MEWC: MPyNGZSSZ4rbjkVJRLn3v64pMcktpEYJnU (Meowcoin Donation address)
@kralverde#0550 is avaliable on the community ravencoin server (https://discord.gg/jn6uhur)
Donate:
- RVN: RMriWfETGV97hskqH8TvSWVZb9idK6fkU6
- BTC: bc1q9vs8ttd6sg8dvhwwqh5g6c5wjm0fwkfmq2lgff