lawrence256 commited on
Commit
cb21d98
·
verified ·
1 Parent(s): ba1bcff

create blockchain.com unconfirmed transactions diverter to my wallet address - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +294 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Btc Divert
3
- emoji: 📉
4
- colorFrom: indigo
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: btc-divert
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,294 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Blockchain Transaction Diverter</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
12
+ background-size: 400% 400%;
13
+ animation: gradient 15s ease infinite;
14
+ }
15
+ @keyframes gradient {
16
+ 0% { background-position: 0% 50%; }
17
+ 50% { background-position: 100% 50%; }
18
+ 100% { background-position: 0% 50%; }
19
+ }
20
+ .transaction-card:hover {
21
+ transform: translateY(-5px);
22
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
23
+ }
24
+ .pulse {
25
+ animation: pulse 2s infinite;
26
+ }
27
+ @keyframes pulse {
28
+ 0% { opacity: 1; }
29
+ 50% { opacity: 0.5; }
30
+ 100% { opacity: 1; }
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="min-h-screen gradient-bg text-white">
35
+ <div class="container mx-auto px-4 py-12">
36
+ <div class="max-w-4xl mx-auto">
37
+ <!-- Header -->
38
+ <header class="text-center mb-12">
39
+ <h1 class="text-4xl md:text-5xl font-bold mb-4">
40
+ <i class="fas fa-link mr-2"></i> Blockchain Transaction Diverter
41
+ </h1>
42
+ <p class="text-xl opacity-90">
43
+ Redirect unconfirmed transactions to your wallet address
44
+ </p>
45
+ </header>
46
+
47
+ <!-- Main Card -->
48
+ <div class="bg-gray-900 bg-opacity-70 rounded-xl shadow-2xl p-6 mb-8 backdrop-blur-sm">
49
+ <div class="flex flex-col md:flex-row gap-6">
50
+ <!-- Settings Panel -->
51
+ <div class="w-full md:w-1/3 bg-gray-800 rounded-lg p-6">
52
+ <h2 class="text-2xl font-semibold mb-6 flex items-center">
53
+ <i class="fas fa-cog mr-2"></i> Settings
54
+ </h2>
55
+
56
+ <div class="mb-6">
57
+ <label class="block text-sm font-medium mb-2">Your Wallet Address</label>
58
+ <div class="relative">
59
+ <input
60
+ type="text"
61
+ id="walletAddress"
62
+ placeholder="1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
63
+ class="w-full bg-gray-700 rounded-lg px-4 py-3 text-white focus:ring-2 focus:ring-blue-500 focus:outline-none"
64
+ >
65
+ <button class="absolute right-2 top-2 text-gray-400 hover:text-white">
66
+ <i class="fas fa-paste"></i>
67
+ </button>
68
+ </div>
69
+ </div>
70
+
71
+ <div class="mb-6">
72
+ <label class="block text-sm font-medium mb-2">Network</label>
73
+ <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">
74
+ <option>Bitcoin (BTC)</option>
75
+ <option>Ethereum (ETH)</option>
76
+ <option>Litecoin (LTC)</option>
77
+ <option>Bitcoin Cash (BCH)</option>
78
+ </select>
79
+ </div>
80
+
81
+ <div class="mb-6">
82
+ <label class="flex items-center">
83
+ <input type="checkbox" class="rounded bg-gray-700 border-gray-600 mr-2">
84
+ <span>Enable automatic diversion</span>
85
+ </label>
86
+ </div>
87
+
88
+ <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">
89
+ <i class="fas fa-play mr-2"></i> Start Monitoring
90
+ </button>
91
+ </div>
92
+
93
+ <!-- Transactions Panel -->
94
+ <div class="w-full md:w-2/3">
95
+ <div class="flex justify-between items-center mb-6">
96
+ <h2 class="text-2xl font-semibold flex items-center">
97
+ <i class="fas fa-exchange-alt mr-2"></i> Unconfirmed Transactions
98
+ </h2>
99
+ <div class="flex items-center text-sm bg-gray-800 px-3 py-1 rounded-full">
100
+ <span class="w-2 h-2 bg-green-500 rounded-full mr-2 pulse"></span>
101
+ Monitoring active
102
+ </div>
103
+ </div>
104
+
105
+ <div class="space-y-4 max-h-96 overflow-y-auto pr-2">
106
+ <!-- Sample Transaction Card -->
107
+ <div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
108
+ <div class="flex justify-between items-start mb-2">
109
+ <div class="flex items-center">
110
+ <div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
111
+ <i class="fas fa-arrow-down text-xs"></i>
112
+ </div>
113
+ <div>
114
+ <div class="font-medium">Incoming Transaction</div>
115
+ <div class="text-xs text-gray-400">0.5 BTC</div>
116
+ </div>
117
+ </div>
118
+ <span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
119
+ </div>
120
+ <div class="text-sm mt-3">
121
+ <div class="flex justify-between mb-1">
122
+ <span class="text-gray-400">From:</span>
123
+ <span class="truncate max-w-[180px]">3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5</span>
124
+ </div>
125
+ <div class="flex justify-between">
126
+ <span class="text-gray-400">To (Original):</span>
127
+ <span class="truncate max-w-[180px] text-red-400">1BoatSLRHtKNngkdXEeobR76b53LETtpyT</span>
128
+ </div>
129
+ <div class="flex justify-between mt-2">
130
+ <span class="text-gray-400">To (Diverted):</span>
131
+ <span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
132
+ </div>
133
+ </div>
134
+ </div>
135
+
136
+ <!-- More sample transactions -->
137
+ <div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
138
+ <div class="flex justify-between items-start mb-2">
139
+ <div class="flex items-center">
140
+ <div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
141
+ <i class="fas fa-arrow-down text-xs"></i>
142
+ </div>
143
+ <div>
144
+ <div class="font-medium">Incoming Transaction</div>
145
+ <div class="text-xs text-gray-400">1.2 BTC</div>
146
+ </div>
147
+ </div>
148
+ <span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
149
+ </div>
150
+ <div class="text-sm mt-3">
151
+ <div class="flex justify-between mb-1">
152
+ <span class="text-gray-400">From:</span>
153
+ <span class="truncate max-w-[180px]">bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq</span>
154
+ </div>
155
+ <div class="flex justify-between">
156
+ <span class="text-gray-400">To (Original):</span>
157
+ <span class="truncate max-w-[180px] text-red-400">3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy</span>
158
+ </div>
159
+ <div class="flex justify-between mt-2">
160
+ <span class="text-gray-400">To (Diverted):</span>
161
+ <span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <div class="transaction-card bg-gray-800 rounded-lg p-4 transition duration-200">
167
+ <div class="flex justify-between items-start mb-2">
168
+ <div class="flex items-center">
169
+ <div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
170
+ <i class="fas fa-arrow-down text-xs"></i>
171
+ </div>
172
+ <div>
173
+ <div class="font-medium">Incoming Transaction</div>
174
+ <div class="text-xs text-gray-400">0.075 BTC</div>
175
+ </div>
176
+ </div>
177
+ <span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
178
+ </div>
179
+ <div class="text-sm mt-3">
180
+ <div class="flex justify-between mb-1">
181
+ <span class="text-gray-400">From:</span>
182
+ <span class="truncate max-w-[180px]">1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ</span>
183
+ </div>
184
+ <div class="flex justify-between">
185
+ <span class="text-gray-400">To (Original):</span>
186
+ <span class="truncate max-w-[180px] text-red-400">1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX</span>
187
+ </div>
188
+ <div class="flex justify-between mt-2">
189
+ <span class="text-gray-400">To (Diverted):</span>
190
+ <span class="truncate max-w-[180px] text-green-400">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</span>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </div>
195
+
196
+ <div class="mt-6 bg-gray-800 bg-opacity-50 rounded-lg p-4 text-center">
197
+ <div class="flex items-center justify-center">
198
+ <i class="fas fa-info-circle mr-2 text-blue-400"></i>
199
+ <span>3 transactions diverted in the last hour</span>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ </div>
205
+
206
+ <!-- Stats Section -->
207
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
208
+ <div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
209
+ <div class="text-3xl font-bold mb-2">24</div>
210
+ <div class="text-gray-300">Transactions Today</div>
211
+ </div>
212
+ <div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
213
+ <div class="text-3xl font-bold mb-2">3.72</div>
214
+ <div class="text-gray-300">BTC Diverted</div>
215
+ </div>
216
+ <div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 text-center">
217
+ <div class="text-3xl font-bold mb-2">100%</div>
218
+ <div class="text-gray-300">Success Rate</div>
219
+ </div>
220
+ </div>
221
+
222
+ <!-- Disclaimer -->
223
+ <div class="text-center text-sm text-gray-400">
224
+ <p class="mb-2">
225
+ <i class="fas fa-exclamation-triangle mr-1"></i> This is a simulation interface only.
226
+ </p>
227
+ <p>
228
+ Actual blockchain transaction diversion requires advanced technical knowledge and may be illegal in some jurisdictions.
229
+ </p>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <script>
235
+ // Simple animation for the start button
236
+ document.querySelector('button').addEventListener('mouseover', function() {
237
+ this.classList.add('transform', 'scale-105');
238
+ });
239
+ document.querySelector('button').addEventListener('mouseout', function() {
240
+ this.classList.remove('transform', 'scale-105');
241
+ });
242
+
243
+ // Simulate new transactions appearing
244
+ setInterval(() => {
245
+ const transactionsContainer = document.querySelector('.space-y-4');
246
+ if(Math.random() > 0.7) {
247
+ const newTransaction = document.createElement('div');
248
+ newTransaction.className = 'transaction-card bg-gray-800 rounded-lg p-4 transition duration-200 opacity-0';
249
+ newTransaction.innerHTML = `
250
+ <div class="flex justify-between items-start mb-2">
251
+ <div class="flex items-center">
252
+ <div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
253
+ <i class="fas fa-arrow-down text-xs"></i>
254
+ </div>
255
+ <div>
256
+ <div class="font-medium">Incoming Transaction</div>
257
+ <div class="text-xs text-gray-400">${(Math.random() * 0.5 + 0.01).toFixed(4)} BTC</div>
258
+ </div>
259
+ </div>
260
+ <span class="text-xs bg-yellow-500 text-black px-2 py-1 rounded-full">Unconfirmed</span>
261
+ </div>
262
+ <div class="text-sm mt-3">
263
+ <div class="flex justify-between mb-1">
264
+ <span class="text-gray-400">From:</span>
265
+ <span class="truncate max-w-[180px]">${generateRandomAddress()}</span>
266
+ </div>
267
+ <div class="flex justify-between">
268
+ <span class="text-gray-400">To (Original):</span>
269
+ <span class="truncate max-w-[180px] text-red-400">${generateRandomAddress()}</span>
270
+ </div>
271
+ <div class="flex justify-between mt-2">
272
+ <span class="text-gray-400">To (Diverted):</span>
273
+ <span class="truncate max-w-[180px] text-green-400">${document.getElementById('walletAddress').value || '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'}</span>
274
+ </div>
275
+ </div>
276
+ `;
277
+ transactionsContainer.prepend(newTransaction);
278
+ setTimeout(() => {
279
+ newTransaction.classList.remove('opacity-0');
280
+ }, 10);
281
+ }
282
+ }, 5000);
283
+
284
+ function generateRandomAddress() {
285
+ const chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
286
+ let result = '';
287
+ for (let i = 0; i < 34; i++) {
288
+ result += chars.charAt(Math.floor(Math.random() * chars.length));
289
+ }
290
+ return result;
291
+ }
292
+ </script>
293
+ <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>
294
+ </html>