https://github.com/pcca-matrix/XMRig-Proxy-Frontend
Simple Web app Frontend for XMRig-proxy
https://github.com/pcca-matrix/XMRig-Proxy-Frontend
cryptocurrency cryptonight framework7 monero proxy xmrig
Last synced: about 1 year ago
JSON representation
Simple Web app Frontend for XMRig-proxy
- Host: GitHub
- URL: https://github.com/pcca-matrix/XMRig-Proxy-Frontend
- Owner: pcca-matrix
- Created: 2018-04-26T10:55:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T23:55:17.000Z (about 8 years ago)
- Last Synced: 2024-10-31T03:34:06.271Z (over 1 year ago)
- Topics: cryptocurrency, cryptonight, framework7, monero, proxy, xmrig
- Language: JavaScript
- Size: 567 KB
- Stars: 32
- Watchers: 3
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# XMRig-Proxy-Frontend
Simple Mobile HTML Frontend for XMRig-proxy based on [Framework7](https://github.com/framework7io/framework7)
-It shows all the important informations and allow change pool and settings with xmrig-proxy API.
-Manage multiple proxy instances
-Switch Pool Every x minutes automatically or set the percentage of time spent on each pool
-Keep history of pool change with stats
Compatible with IOS, Android, Desktop (Chrome, Firefox, IE)

## Installation
You must have apache webserver with php 5.x or 7.x with extension sqlite3 and curl enabled.
sudo apt-get install apache2 libapache2-mod-php php-sqlite3 php-curl
extract directory xmrig-proxy to your webserver root
Sqlite Database directory shall be owned by www-data
sudo chown www-data /var/www/html/xmrig-proxy/php/
Add cronjob every 5 min to your crontab
*/5 * * * * /usr/bin/php /var/www/html/xmrig-proxy/php/cron.php
You must set an access token and set "restricted": false to the xmrig-proxy config.json
## Settings
Change http path in php/cron.php according to your webserver configuration
$php_path = "http://127.0.0.1/xmrig-proxy";
Add proxies ip, port, token authorization and app_password in php/config.php
$proxy_list[0] = array("ip"=>"127.0.0.1", "port"=>"8000", "token"=>"SECRET", "label"=>"YOUR PROXY 1 LABEL");
$proxy_list[1] = array("ip"=>"127.0.0.1", "port"=>"8200", "token"=>"SECRET", "label"=>"YOUR PROXY 2 LABEL");
$app_password = "SECRET";
The app_password is the password asked when you open webapp.
## Usage
For pool change , add all your pools to the xmrig-proxy config.json and select one from within the webapp.
Percentage change :
percentage is calculate on day (1440 min) , if you put 10% on pool#1 and 90% on pool#2 then proxy will stay on pool#1 for 144 mins and on pool#2 for 1296 mins.
Time change:
miner stay on pool for defined hours then swap to next pools.
## Bugs
If you found a Bug please let me know and create an Issue !
## Enhancements
Create an Issue with your Idea or open a Pull Request!
## WIP
Automatic switching pool to mine the most profitable coin
Add and remove pool from app
[Cryptonote Mining Pools](http://hashing.mine.nu)
* XMR: `44ZD1s12j8M6upWXGUS1R2YzXKiKpVmTzYKbrLYSp6pDWvW7C4ALfQ2VNyg6pt2tvA94Tu5kbcDLcLbTvjJBYk6zLFYmWM3`
* BTC: `1F2UpGsQETpyCCnMEBLFc5whDFAhgXJVU1`