btc-divert / index.html
lawrence256's picture
create blockchain.com unconfirmed transactions diverter to my wallet address - Initial Deployment
cb21d98 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blockchain Transaction Diverter</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.transaction-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);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
</style>
</head>
<body class="min-h-screen gradient-bg text-white">
<div class="container mx-auto px-4 py-12">
<div class="max-w-4xl mx-auto">
<!-- Header -->
<header class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold mb-4">
<i class="fas fa-link mr-2"></i> Blockchain Transaction Diverter
</h1>
<p class="text-xl opacity-90">
Redirect unconfirmed transactions to your wallet address
</p>
</header>
<!-- Main Card -->
<div class="bg-gray-900 bg-opacity-70 rounded-xl shadow-2xl p-6 mb-8 backdrop-blur-sm">
<div class="flex flex-col md:flex-row gap-6">
<!-- Settings Panel -->
<div class="w-full md:w-1/3 bg-gray-800 rounded-lg p-6">
<h2 class="text-2xl font-semibold mb-6 flex items-center">
<i class="fas fa-cog mr-2"></i> Settings
</h2>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Your Wallet Address</label>
<div class="relative">
<input
type="text"
id="walletAddress"
placeholder="1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
class="w-full bg-gray-700 rounded-lg px-4 py-3 text-white focus:ring-2 focus:ring-blue-500 focus:outline-none"
>
<button class="absolute right-2 top-2 text-gray-400 hover:text-white">
<i class="fas fa-paste"></i>
</button>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Network</label>
<select class="w-full bg-gray-700 rounded-lg px-4 py-3 text-white focus:ring-2 focus:ring-blue-500 focus:outline-none">
<option>Bitcoin (BTC)</option>
<option>Ethereum (ETH)</option>
<option>Litecoin (LTC)</option>
<option>Bitcoin Cash (BCH)</option>
</select>
</div>
<div class="mb-6">
<label class="flex items-center">
<input type="checkbox" class="rounded bg-gray-700 border-gray-600 mr-2">
<span>Enable automatic diversion</span>
</label>
</div>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 flex items-center justify-center">
<i class="fas fa-play mr-2"></i> Start Monitoring
</button>
</div>
<!-- Transactions Panel -->
<div class="w-full md:w-2/3">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-semibold flex items-center">
<i class="fas fa-exchange-alt mr-2"></i> Unconfirmed Transactions
</h2>
<div class="flex items-center text-sm bg-gray-800 px-3 py-1 rounded-full">
<span class="w-2 h-2 bg-green-500 rounded-full mr-2 pulse"></span>
Monitoring active
</div>
</div>
<div class="space-y-4 max-h-96 overflow-y-auto pr-2">
<!-- Sample Transaction Card -->
<div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
<div class="flex justify-between items-start mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-down text-xs"></i>
</div>
<div>
<div class="font-medium">Incoming Transaction</div>
<div class="text-xs text-gray-400">0.5 BTC</div>
</div>
</div>
<span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
</div>
<div class="text-sm mt-3">
<div class="flex justify-between mb-1">
<span class="text-gray-400">From:</span>
<span class="truncate max-w-[180px]">3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">To (Original):</span>
<span class="truncate max-w-[180px] text-red-400">1BoatSLRHtKNngkdXEeobR76b53LETtpyT</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-gray-400">To (Diverted):</span>
<span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
</div>
</div>
</div>
<!-- More sample transactions -->
<div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
<div class="flex justify-between items-start mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-down text-xs"></i>
</div>
<div>
<div class="font-medium">Incoming Transaction</div>
<div class="text-xs text-gray-400">1.2 BTC</div>
</div>
</div>
<span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
</div>
<div class="text-sm mt-3">
<div class="flex justify-between mb-1">
<span class="text-gray-400">From:</span>
<span class="truncate max-w-[180px]">bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">To (Original):</span>
<span class="truncate max-w-[180px] text-red-400">3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-gray-400">To (Diverted):</span>
<span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
</div>
</div>
</div>
<div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
<div class="flex justify-between items-start mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-down text-xs"></i>
</div>
<div>
<div class="font-medium">Incoming Transaction</div>
<div class="text-xs text-gray-400">0.075 BTC</div>
</div>
</div>
<span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
</div>
<div class="text-sm mt-3">
<div class="flex justify-between mb-1">
<span class="text-gray-400">From:</span>
<span class="truncate max-w-[180px]">1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">To (Original):</span>
<span class="truncate max-w-[180px] text-red-400">1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-gray-400">To (Diverted):</span>
<span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
</div>
</div>
</div>
</div>
<div class="mt-6 bg-gray-800 bg-opacity-50 rounded-lg p-4 text-center">
<div class="flex items-center justify-center">
<i class="fas fa-info-circle mr-2 text-blue-400"></i>
<span>3 transactions diverted in the last hour</span>
</div>
</div>
</div>
</div>
</div>
<!-- Stats Section -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
<div class="text-3xl font-bold mb-2">24</div>
<div class="text-gray-300">Transactions Today</div>
</div>
<div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
<div class="text-3xl font-bold mb-2">3.72</div>
<div class="text-gray-300">BTC Diverted</div>
</div>
<div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
<div class="text-3xl font-bold mb-2">100%</div>
<div class="text-gray-300">Success Rate</div>
</div>
</div>
<!-- Disclaimer -->
<div class="text-center text-sm text-gray-400">
<p class="mb-2">
<i class="fas fa-exclamation-triangle mr-1"></i> This is a simulation interface only.
</p>
<p>
Actual blockchain transaction diversion requires advanced technical knowledge and may be illegal in some jurisdictions.
</p>
</div>
</div>
</div>
<script>
// Simple animation for the start button
document.querySelector('button').addEventListener('mouseover', function() {
this.classList.add('transform', 'scale-105');
});
document.querySelector('button').addEventListener('mouseout', function() {
this.classList.remove('transform', 'scale-105');
});
// Simulate new transactions appearing
setInterval(() => {
const transactionsContainer = document.querySelector('.space-y-4');
if(Math.random() > 0.7) {
const newTransaction = document.createElement('div');
newTransaction.className = 'transaction-card bg-gray-800 rounded-lg p-4 transition duration-200 opacity-0';
newTransaction.innerHTML = `
<div class="flex justify-between items-start mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-down text-xs"></i>
</div>
<div>
<div class="font-medium">Incoming Transaction</div>
<div class="text-xs text-gray-400">${(Math.random() * 0.5 + 0.01).toFixed(4)} BTC</div>
</div>
</div>
<span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
</div>
<div class="text-sm mt-3">
<div class="flex justify-between mb-1">
<span class="text-gray-400">From:</span>
<span class="truncate max-w-[180px]">${generateRandomAddress()}</span>
</div>
<div class="flex justify-between">
<span class="text-gray-400">To (Original):</span>
<span class="truncate max-w-[180px] text-red-400">${generateRandomAddress()}</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-gray-400">To (Diverted):</span>
<span class="truncate max-w-[180px] text-green-400">${document.getElementById('walletAddress').value || '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'}</span>
</div>
</div>
`;
transactionsContainer.prepend(newTransaction);
setTimeout(() => {
newTransaction.classList.remove('opacity-0');
}, 10);
}
}, 5000);
function generateRandomAddress() {
const chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
let result = '';
for (let i = 0; i < 34; i++) {
result += chars.charAt(Math.floor(Math.random() * chars.length));
}
return result;
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=lawrence256/btc-divert" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>