Spaces:
Running
Running
Turn this into a online crypto wallet platform, where users can log in with the username= 'User' and password= 'Password'. Once logged in, a dashboard appears with a balance of $470.000 in Bitcoin and the options to deposit, withdraw. The deposit leads to a deposit page with a placeholder bitcoin address and instructions. The withdrawal button leads to a withdraw page with the amount to be withdrawn, and recipient bitcoin address.
4ed6779 verified Download deposit.html from Grego322/bitvault-pro: direct link, hf CLI and curl.
- Browser
- Download file 6.48 kB
-
https://huggingface.co/spaces/Grego322/bitvault-pro/resolve/main/deposit.html
- Command line
-
hf download hf://spaces/Grego322/bitvault-pro/deposit.html
-
curl -L -o deposit.html https://huggingface.co/spaces/Grego322/bitvault-pro/resolve/main/deposit.html
6.48 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Deposit - BitVault Pro</title> | |
| <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>๐</text></svg>"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| </head> | |
| <body class="bg-slate-950 text-slate-100 min-h-screen"> | |
| <!-- Dashboard Navigation --> | |
| <dashboard-nav></dashboard-nav> | |
| <!-- Main Content --> | |
| <main class="pt-24 pb-12 px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto"> | |
| <!-- Back Link --> | |
| <a href="index.html#dashboard" class="inline-flex items-center gap-2 text-slate-400 hover:text-emerald-400 transition-colors mb-6"> | |
| <i data-feather="arrow-left" class="w-4 h-4"></i> | |
| Back to Dashboard | |
| </a> | |
| <!-- Deposit Card --> | |
| <div class="bg-slate-900/80 backdrop-blur-xl rounded-2xl border border-slate-800 p-8"> | |
| <div class="text-center mb-8"> | |
| <div class="w-20 h-20 rounded-full bg-emerald-500/20 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="arrow-down-left" class="w-10 h-10 text-emerald-400"></i> | |
| </div> | |
| <h1 class="text-3xl font-bold mb-2">Deposit Bitcoin</h1> | |
| <p class="text-slate-400">Send BTC to your wallet address to fund your account</p> | |
| </div> | |
| <!-- QR Code --> | |
| <div class="max-w-sm mx-auto mb-8"> | |
| <div class="p-6 rounded-xl bg-white text-center"> | |
| <div class="w-48 h-48 mx-auto mb-4 bg-slate-900 rounded-lg flex items-center justify-center"> | |
| <i data-feather="grid" class="w-24 h-24 text-slate-600"></i> | |
| </div> | |
| <div class="text-sm text-slate-500">Scan to deposit</div> | |
| </div> | |
| </div> | |
| <!-- Address --> | |
| <div class="max-w-lg mx-auto mb-8"> | |
| <label class="block text-sm font-medium text-slate-300 mb-3 text-center">Your Bitcoin Deposit Address</label> | |
| <div class="flex items-center gap-3"> | |
| <code class="flex-1 p-4 bg-slate-800 border border-slate-700 rounded-xl text-sm font-mono break-all text-center">bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh</code> | |
| <button onclick="copyAddress()" class="p-4 bg-emerald-500 hover:bg-emerald-400 rounded-xl transition-colors" title="Copy Address"> | |
| <i data-feather="copy" class="w-6 h-6"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Instructions --> | |
| <div class="max-w-lg mx-auto space-y-4"> | |
| <div class="p-4 rounded-xl bg-amber-500/10 border border-amber-500/20"> | |
| <div class="flex items-start gap-3"> | |
| <i data-feather="alert-triangle" class="w-5 h-5 text-amber-400 flex-shrink-0 mt-0.5"></i> | |
| <div class="text-sm text-amber-200"> | |
| <strong>Important:</strong> Only send Bitcoin (BTC) to this address. Sending other cryptocurrencies may result in permanent loss of funds. | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 rounded-xl bg-slate-800/50"> | |
| <h3 class="font-semibold mb-3 flex items-center gap-2"> | |
| <i data-feather="info" class="w-4 h-4 text-emerald-400"></i> | |
| Deposit Instructions | |
| </h3> | |
| <ul class="space-y-2 text-sm text-slate-400"> | |
| <li class="flex items-start gap-2"> | |
| <span class="text-emerald-400">1.</span> | |
| Copy the Bitcoin address above or scan the QR code | |
| </li> | |
| <li class="flex items-start gap-2"> | |
| <span class="text-emerald-400">2.</span> | |
| Send BTC from your external wallet to this address | |
| </li> | |
| <li class="flex items-start gap-2"> | |
| <span class="text-emerald-400">3.</span> | |
| Wait for 3 network confirmations (approximately 30 minutes) | |
| </li> | |
| <li class="flex items-start gap-2"> | |
| <span class="text-emerald-400">4.</span> | |
| Your balance will be updated automatically | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="p-4 rounded-xl bg-slate-800/50"> | |
| <div class="flex items-center justify-between text-sm"> | |
| <span class="text-slate-400">Minimum Deposit</span> | |
| <span class="text-slate-200">0.001 BTC</span> | |
| </div> | |
| <div class="flex items-center justify-between text-sm mt-2"> | |
| <span class="text-slate-400">Confirmations Required</span> | |
| <span class="text-slate-200">3</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Toast Notification --> | |
| <div id="toast" class="fixed bottom-4 right-4 px-6 py-3 bg-emerald-500 text-white rounded-xl shadow-lg transform translate-y-20 opacity-0 transition-all duration-300 z-50"> | |
| Address copied to clipboard! | |
| </div> | |
| <script src="components/dashboard-nav.js"></script> | |
| <script> | |
| feather.replace(); | |
| function copyAddress() { | |
| const address = 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh'; | |
| navigator.clipboard.writeText(address); | |
| const toast = document.getElementById('toast'); | |
| toast.classList.remove('translate-y-20', 'opacity-0'); | |
| setTimeout(() => { | |
| toast.classList.add('translate-y-20', 'opacity-0'); | |
| }, 3000); | |
| } | |
| // Check login status | |
| if (!sessionStorage.getItem('isLoggedIn')) { | |
| window.location.href = 'index.html'; | |
| } | |
| </script> | |
| </body> | |
| </html> |