Logistics's picture
создать телеграф веб апп майнинг онлайн, алгоритм как у биткоин
badd690 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ByteBaron | Bitcoin-like Mining</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
.mining-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 0.7; }
50% { opacity: 1; }
100% { opacity: 0.7; }
}
.gpu-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-gray-900 text-white">
<div id="vanta-bg" class="fixed inset-0 -z-10"></div>
<header class="py-6 px-4 sm:px-6 lg:px-8 border-b border-gray-800">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="cpu" class="text-yellow-500"></i>
<h1 class="text-2xl font-bold bg-gradient-to-r from-yellow-400 to-yellow-600 bg-clip-text text-transparent">ByteBaron</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="hover:text-yellow-400 transition">Dashboard</a>
<a href="#" class="hover:text-yellow-400 transition">Mining</a>
<a href="#" class="hover:text-yellow-400 transition">Wallet</a>
<a href="#" class="hover:text-yellow-400 transition">Stats</a>
<a href="#" class="hover:text-yellow-400 transition">Support</a>
</nav>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</header>
<main class="container mx-auto px-4 py-8">
<section class="mb-16 text-center">
<h2 class="text-4xl font-bold mb-4">Mine Cryptocurrency Like Bitcoin</h2>
<p class="text-xl text-gray-300 max-w-2xl mx-auto">Start mining with our SHA-256 algorithm using your browser's computational power</p>
</section>
<section class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
<div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
<div class="flex items-center mb-4">
<i data-feather="zap" class="text-yellow-500 mr-3"></i>
<h3 class="text-xl font-semibold">Instant Start</h3>
</div>
<p class="text-gray-300">Begin mining immediately with zero setup required. Just click and earn.</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
<div class="flex items-center mb-4">
<i data-feather="shield" class="text-yellow-500 mr-3"></i>
<h3 class="text-xl font-semibold">Secure Transactions</h3>
</div>
<p class="text-gray-300">All transactions are secured with SHA-256 encryption just like Bitcoin.</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
<div class="flex items-center mb-4">
<i data-feather="dollar-sign" class="text-yellow-500 mr-3"></i>
<h3 class="text-xl font-semibold">Real Profits</h3>
</div>
<p class="text-gray-300">Earn real cryptocurrency that you can withdraw or exchange anytime.</p>
</div>
</section>
<section class="bg-gray-800 rounded-xl p-8 mb-16 shadow-lg border border-gray-700">
<div class="flex flex-col md:flex-row items-center justify-between">
<div class="mb-6 md:mb-0 md:w-1/2">
<h2 class="text-2xl font-bold mb-4">Start Mining Now</h2>
<p class="text-gray-300 mb-6">Join thousands of miners earning cryptocurrency right from their browsers.</p>
<div class="flex space-x-4">
<button class="bg-yellow-500 hover:bg-yellow-600 text-black font-bold py-3 px-6 rounded-lg transition flex items-center">
<i data-feather="play" class="mr-2"></i> Start Mining
</button>
<button class="border border-yellow-500 text-yellow-500 hover:bg-yellow-500 hover:text-black font-bold py-3 px-6 rounded-lg transition flex items-center">
<i data-feather="info" class="mr-2"></i> Learn More
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="mining-animation bg-yellow-500 rounded-full w-40 h-40 flex items-center justify-center">
<i data-feather="cpu" class="text-black w-16 h-16"></i>
</div>
<div class="absolute -bottom-4 -right-4 bg-gray-900 rounded-lg p-3 shadow-lg border border-gray-700">
<div class="text-center">
<p class="text-sm text-gray-300">Current Hashrate</p>
<p class="text-xl font-bold text-yellow-500">0 H/s</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="mb-16">
<h2 class="text-2xl font-bold mb-8 text-center">Mining Statistics</h2>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div class="bg-gray-800 rounded-lg p-6 text-center border border-gray-700">
<p class="text-gray-300 mb-2">Total Miners</p>
<p class="text-3xl font-bold text-yellow-500" id="totalMiners">12,843</p>
</div>
<div class="bg-gray-800 rounded-lg p-6 text-center border border-gray-700">
<p class="text-gray-300 mb-2">Network Hashrate</p>
<p class="text-3xl font-bold text-yellow-500" id="networkHashrate">4.2 TH/s</p>
</div>
<div class="bg-gray-800 rounded-lg p-6 text-center border border-gray-700">
<p class="text-gray-300 mb-2">Blocks Mined</p>
<p class="text-3xl font-bold text-yellow-500" id="blocksMined">1,284</p>
</div>
<div class="bg-gray-800 rounded-lg p-6 text-center border border-gray-700">
<p class="text-gray-300 mb-2">Avg. Block Time</p>
<p class="text-3xl font-bold text-yellow-500" id="blockTime">2.4 min</p>
</div>
</div>
</section>
<section>
<h2 class="text-2xl font-bold mb-8 text-center">How It Works</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex justify-center mb-4">
<div class="bg-gray-700 rounded-full w-16 h-16 flex items-center justify-center">
<i data-feather="user" class="text-yellow-500 w-8 h-8"></i>
</div>
</div>
<h3 class="text-xl font-semibold text-center mb-3">1. Create Account</h3>
<p class="text-gray-300 text-center">Sign up in seconds to start your mining journey.</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex justify-center mb-4">
<div class="bg-gray-700 rounded-full w-16 h-16 flex items-center justify-center">
<i data-feather="cpu" class="text-yellow-500 w-8 h-8"></i>
</div>
</div>
<h3 class="text-xl font-semibold text-center mb-3">2. Start Mining</h3>
<p class="text-gray-300 text-center">Click the start button to begin earning cryptocurrency.</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex justify-center mb-4">
<div class="bg-gray-700 rounded-full w-16 h-16 flex items-center justify-center">
<i data-feather="dollar-sign" class="text-yellow-500 w-8 h-8"></i>
</div>
</div>
<h3 class="text-xl font-semibold text-center mb-3">3. Earn & Withdraw</h3>
<p class="text-gray-300 text-center">Collect your earnings and withdraw to your wallet.</p>
</div>
</div>
</section>
</main>
<footer class="bg-gray-900 border-t border-gray-800 py-8 mt-16">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<div class="flex items-center space-x-2">
<i data-feather="cpu" class="text-yellow-500"></i>
<span class="text-xl font-bold">ByteBaron</span>
</div>
<p class="text-gray-400 mt-2">Mining the future, one hash at a time.</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
<i data-feather="github"></i>
</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
<i data-feather="mail"></i>
</a>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 text-sm mb-4 md:mb-0">© 2023 ByteBaron. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-yellow-500 text-sm transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 text-sm transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 text-sm transition">FAQ</a>
<a href="#" class="text-gray-400 hover:text-yellow-500 text-sm transition">Contact</a>
</div>
</div>
</div>
</footer>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xffb300,
backgroundColor: 0x111827,
points: 12.00,
maxDistance: 24.00,
spacing: 18.00
});
// Update mining stats every 2 seconds (demo purposes)
setInterval(() => {
document.getElementById('totalMiners').textContent =
(parseInt(document.getElementById('totalMiners').textContent.replace(/,/g, '')) + Math.floor(Math.random() * 10)).toLocaleString();
const networkHash = (Math.random() * 2 + 3.5).toFixed(1);
document.getElementById('networkHashrate').textContent = networkHash + ' TH/s';
document.getElementById('blocksMined').textContent =
(parseInt(document.getElementById('blocksMined').textContent.replace(/,/g, '')) + Math.floor(Math.random() * 3)).toLocaleString();
document.getElementById('blockTime').textContent =
(Math.random() * 0.5 + 2.2).toFixed(1) + ' min';
}, 2000);
// Initialize feather icons
feather.replace();
</script>
</body>
</html>