forked from cmarshall108/monero-web-miner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (115 loc) · 7.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<html lang="en">
<head>
<meta charset="utf-8">
<title>XMR Online Web Miner</title>
<meta name="description" content="In browser-based Monero (XMR) miner by UltimateWebMining">
<meta name="author" content="UltimateWebMining">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="stylesheets/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="https://coin-hive.com/lib/coinhive.min.js"></script>
<script src="javascripts/miner.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110176115-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-110176115-1');
</script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<div class="header">
<a href="https://anythingtechpro.github.io/monero-web-miner/"><img src="images/logo.png" /></a>
<h1><b>Monero Web Miner</b></h1>
</div>
<div class="content">
<div class="container">
<div class="alert alert-danger alert-dismissible fade show" role="alert" ng-if="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="form-group row">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1">Wallet Address</span>
<input type="text" class="form-control" placeholder="wallet-address" aria-label="wallet-address" aria-describedby="basic-addon1" ng-model="walletAddress" ng-change="onChangeWalletAddress()" required>
<span class="input-group-btn"><button class="btn btn-secondary" type="button" ng-click="restart()">Restart</button></span>
</div>
</div>
<div class="form-group row">
<div class="input-group">
<span class="input-group-addon">Check for Anonymous</span>
<span class="input-group-addon">
<input type="checkbox" aria-label="Check for Anonymous" ng-model="isAnonymous" ng-change="onChangeWalletAddress()">
</span>
<input type="text" class="form-control" aria-label="Miner Name" ng-model="userName" ng-disabled="isAnonymous" ng-change="onChangeWalletAddress()">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Hashes per second: </label>
<label class="col-sm-2 col-form-label">{{hashesPerSecond}}</label>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Total hashes: </label>
<label class="col-sm-2 col-form-label">{{totalHashes}}</label>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Accepted hashes: </label>
<label class="col-sm-2 col-form-label">{{acceptedHashes}}</label>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Last Job Id: </label>
<label class="col-sm-2 col-form-label">{{jobId}}</label>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Current Throttle: </label>
<label class="col-sm-2 col-form-label">{{currentThrottle}}</label>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Min Throttle: </label>
<input type="number" class="form-control col-sm-2 col-form-label" style="margin-left: 10;" name="input" ng-model="minThrottle" ng-disabled="maxCPU" step="0.01" min="0" max="1" required ng-change="changeThrottle()">
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Number of threads: </label>
<input type="number" class="form-control col-sm-2 col-form-label" style="margin-left: 10;" name="input" ng-model="numThreads" min="0" max="16" required ng-change="changeNumThreads()">
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Go slow after [min]: </label>
<input type="number" class="form-control col-sm-2 col-form-label" style="margin-left: 10;" name="input" ng-model="slowTime" ng-disabled="!maxCPU" min="0" required>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Stay slow [min]: </label>
<input type="number" class="form-control col-sm-2 col-form-label" style="margin-left: 10;" name="input" ng-model="waitTime" ng-disabled="!maxCPU" min="0" required>
</div>
<div class="form-check">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" value="" ng-model="maxCPU">Force CPU max</input>
</label>
</div>
<div>
<button type="button" class="btn btn-warning pull-info" role="button" aria-disabled="true" ng-click="stop()">Stop</button>
</div>
<br/>
<div>
<a href="https://www.coingecko.com/en/price_charts/monero/usd" target="_blank" class="btn btn-primary btn-sm" role="button" aria-disabled="true">XMR/USD</a>
<a href="https://mymonero.com/#/" target="_blank" class="btn btn-primary btn-sm" role="button" aria-disabled="true">Monero Online Wallet</a>
<a href="https://supportxmr.com/#/" target="_blank" class="btn btn-primary btn-sm" role="button" aria-disabled="true">Monero Mining Pool</a>
</div>
</div>
</div>
<div class="footer">
<hr/>
<h2><b>Donate:</b></h2>
<p><b>BTC: 1PYUTx1kZ6LmtZcuVitRW2qybQW9FJuBQ1</p></b>
<p><b>ETH: 0xB3B42dd5578731b6fEd52ab18816dc13360F8250</p></b>
<p><b>LTC: LSUzRAXXTp5eLY1p3GHJjDrauoG4K6THAh</p></b>
<p><b>XMR: 472Puqaw1U5E3EiJikLuPwX6dyVFheZAE7p7FR8Pq152UZgSoAe4pQGF7qiAyJ9zknYGyhtGESRX4fahR3JqgVTjDoh8NgK</p></b>
<p><b>BCN: 27ARKgALLiFRSAXgrFjnWCVJFd118xkw15vaHi7wPpVVamo48anFLrhfNCezqRpKfLJf5dmANoy6uA2bGtZ3uT5fJMTethX</p></b>
</div>
</body>
</html>