All Projects → ctubio → php-proxy-stratum

ctubio / php-proxy-stratum

Licence: MIT License
ReactPHP stratum+tcp proxy between miners and pools with database and frontend.

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to php-proxy-stratum

ethersocial-pool
Open EthersocialNetwork Mining Pool based off the sammy007's open-ethereum-pool
Stars: ✭ 19 (-47.22%)
Mutual labels:  mining
GMinerRelease
Ethash, ProgPoW, Equihash, CuckooCycle GPU Miner
Stars: ✭ 1,789 (+4869.44%)
Mutual labels:  mining
zecproxy
Stratum proxy for Zcash
Stars: ✭ 54 (+50%)
Mutual labels:  stratum-proxy
php-react-memcached
Asynchronous Memcached PHP Client for ReactPHP ecosystem
Stars: ✭ 27 (-25%)
Mutual labels:  reactphp
RavenCoin-Wallet-With-Miners
RavenCoin Wallet including CPU and GPU miners! programs are directly from Ravencoin and official miner sources
Stars: ✭ 75 (+108.33%)
Mutual labels:  mining
reactive-slim
A bridge to use SlimPHP within ReactPHP
Stars: ✭ 25 (-30.56%)
Mutual labels:  reactphp
noso-go
Golang CLI application for mining Noso coin
Stars: ✭ 21 (-41.67%)
Mutual labels:  mining
charnapool
High performance Node.js (with native C addons) mining pool for Cryptonote based coins, optimized for Charnacoin.
Stars: ✭ 25 (-30.56%)
Mutual labels:  mining
reactphp-parallel
ReactPHP bindings around ext-parallel
Stars: ✭ 15 (-58.33%)
Mutual labels:  reactphp
bstratum
Stratum server for bcoin
Stars: ✭ 23 (-36.11%)
Mutual labels:  mining
twitter mining
Twitter Mining in Java
Stars: ✭ 25 (-30.56%)
Mutual labels:  mining
reactphp-child-process-promise
No description or website provided.
Stars: ✭ 12 (-66.67%)
Mutual labels:  reactphp
826-x-ip-camera
For the examination of an mipc connected camera
Stars: ✭ 49 (+36.11%)
Mutual labels:  mining
telegram bitcoin bot
Telegram Auto Mining Bitcoins In Termux
Stars: ✭ 115 (+219.44%)
Mutual labels:  mining
chiagen
standalone chia generator
Stars: ✭ 13 (-63.89%)
Mutual labels:  mining
foxy-miner
A scavenger / conqueror wrapper for collision free multi mining of PoC coins
Stars: ✭ 17 (-52.78%)
Mutual labels:  mining
gems
Ruby Football Week 2021, June 11th to June 17th - 7 Days of Ruby (Sports) Gems ++ Best of Ruby Gems Series
Stars: ✭ 76 (+111.11%)
Mutual labels:  mining
php-cli-snake
Lightweight cli spinner with zero dependencies
Stars: ✭ 25 (-30.56%)
Mutual labels:  reactphp
not-only-mining-pool
new generation general mining pool in go
Stars: ✭ 31 (-13.89%)
Mutual labels:  mining
monero-stratum-docker
No description or website provided.
Stars: ✭ 42 (+16.67%)
Mutual labels:  mining

php-proxy-stratum

ReactPHP stratum+tcp proxy between miners and pools with database and minimal web interface.

Used to demostrate how pools steal your hash by renaming worker names and redirecting the hashrate.

Used² to recommend you to mine only on trusted (self owned!) pools.

Basically it may be run with the following command (remember first to install dependencies with $ composer):

$ php bin/php-proxy-stratum-daemon.php

Or use the init script:

 $ sudo cp dist/init.sh /etc/init.d/php-proxy-stratum
 $ sudo chmod +x /etc/init.d/php-proxy-stratum
 $ sudo update-rc.d php-proxy-stratum defaults
 $ sudo update-rc.d php-proxy-stratum enable
 $ sudo service php-proxy-stratum start

And feel free to connect your miners at port 3333, also you can configure your webserver with pub/ as the document root and php-proxy-stratum.php as the index file.

The mining and all other configurations are hardcoded, please review/modify the daemon code before run it.

Currently the web interface features auto refresh and pool switch; a snapshot may look like (yes, is just json output):

2015-12-10 17:32:52
wtfisconnected

{
    "result": [
        {
            "key": 27,
            "user": "analpaper.2",
            "version": "cgminer\/4.8.0",
            "since": "2015-12-10T16:56:22+0000",
            "last": "2015-12-10T17:32:46+0000",
            "pool": {
                "id": 0,
                "url": "stratum.kano.is",
                "port": 3333,
                "user": "analpaper.0",
                "pass": "x"
            },
            "pending": [],
            "diff": 3801,
            "2min avg": "5,71 TH\/s"
        },
        {
            "key": 35,
            "user": "analpaper.3",
            "version": "cgminer\/4.8.0",
            "since": "2015-12-10T16:56:24+0000",
            "last": "2015-12-10T17:32:47+0000",
            "pool": {
                "id": "1",
                "url": "stratum.kano.is",
                "port": "3333",
                "user": "analpaper.0",
                "pass": "x"
            },
            "pending": [],
            "diff": 1042,
            "2min avg": "1,23 TH\/s"
        }
    ],
    "pid": 22559,
    "mem": "1.5mb"
}

Enjoy

Very special thanks to:

Donations

nope. but you can donate to your favorite developer today! (or tomorrow!)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].