Changes to bitwallet.scroll.pub

root
root
25 days ago
Initial commit
body.html
Changed around line 1
+
+

BitWallet

+

Securely generate your Bitcoin wallet address

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Your security is our priority. All wallet generation happens locally in your browser.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://bitwallet.scroll.pub
+ metaTags
+ editButton /edit.html
+ title BitWallet - Create Your Bitcoin Wallet
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "5fca1f6f-0f5e-47ee-bdfd-a266381d26f0",
+ "object": "chat.completion",
+ "created": 1735383406,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nbitwallet.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bitwallet.scroll.pub\nmetaTags\neditButton /edit.html\ntitle BitWallet - Create Your Bitcoin Wallet\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

BitWallet

\n

Securely generate your Bitcoin wallet address

\n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n

Your security is our priority. All wallet generation happens locally in your browser.

\n
\n---style.css---\n:root {\n --primary-color: #4CAF50;\n --secondary-color: #388E3C;\n --background-color: #F5F5F5;\n --text-color: #333;\n --border-radius: 8px;\n --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n margin-bottom: 2rem;\n}\n\nmain {\n max-width: 800px;\n margin: 0 auto;\n padding: 1rem;\n flex: 1;\n}\n\n.wallet-form, .wallet-output {\n background: white;\n padding: 2rem;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n margin-bottom: 2rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: 600;\n}\n\ntextarea, input[type=\"text\"] {\n width: 100%;\n padding: 0.8rem;\n border: 1px solid #ddd;\n border-radius: var(--border-radius);\n margin-bottom: 1rem;\n font-size: 1rem;\n resize: vertical;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 0.8rem 1.5rem;\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 1rem;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: var(--secondary-color);\n}\n\n#walletAddress {\n background-color: #f9f9f9;\n cursor: not-allowed;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: auto;\n}\n\n@media (max-width: 768px) {\n main {\n padding: 0.5rem;\n }\n \n .wallet-form, .wallet-output {\n padding: 1rem;\n }\n}\n---script.js---\nfunction generateWalletAddress(passphrase) {\n // Simple hash function for demonstration purposes\n function simpleHash(str) {\n let hash = 0;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) - hash + char;\n hash |= 0; // Convert to 32bit integer\n }\n return hash.toString(16);\n }\n\n // Generate a Bitcoin-like address (this is a simplified example)\n const hash = simpleHash(passphrase);\n return `1${hash.slice(0, 33)}`.toUpperCase();\n}\n\ndocument.getElementById('generateBtn').addEventListener('click', () => {\n const passphrase = document.getElementById('passphrase').value.trim();\n if (passphrase.length < 8) {\n alert('Please enter a passphrase with at least 8 characters');\n return;\n }\n\n const walletAddress = generateWalletAddress(passphrase);\n document.getElementById('walletAddress').value = walletAddress;\n});\n\ndocument.getElementById('copyBtn').addEventListener('click', () => {\n const walletAddress = document.getElementById('walletAddress');\n if (walletAddress.value) {\n walletAddress.select();\n document.execCommand('copy');\n alert('Wallet address copied to clipboard!');\n } else {\n alert('No wallet address to copy');\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 247,
+ "completion_tokens": 1113,
+ "total_tokens": 1360,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 247
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # bitwallet.scroll.pub
+ Website generated by DeepSeek from prompt: a web create bitcoin wallet, input passphrase, output wallet address.
script.js
Changed around line 1
+ function generateWalletAddress(passphrase) {
+ // Simple hash function for demonstration purposes
+ function simpleHash(str) {
+ let hash = 0;
+ for (let i = 0; i < str.length; i++) {
+ const char = str.charCodeAt(i);
+ hash = (hash << 5) - hash + char;
+ hash |= 0; // Convert to 32bit integer
+ }
+ return hash.toString(16);
+ }
+
+ // Generate a Bitcoin-like address (this is a simplified example)
+ const hash = simpleHash(passphrase);
+ return `1${hash.slice(0, 33)}`.toUpperCase();
+ }
+
+ document.getElementById('generateBtn').addEventListener('click', () => {
+ const passphrase = document.getElementById('passphrase').value.trim();
+ if (passphrase.length < 8) {
+ alert('Please enter a passphrase with at least 8 characters');
+ return;
+ }
+
+ const walletAddress = generateWalletAddress(passphrase);
+ document.getElementById('walletAddress').value = walletAddress;
+ });
+
+ document.getElementById('copyBtn').addEventListener('click', () => {
+ const walletAddress = document.getElementById('walletAddress');
+ if (walletAddress.value) {
+ walletAddress.select();
+ document.execCommand('copy');
+ alert('Wallet address copied to clipboard!');
+ } else {
+ alert('No wallet address to copy');
+ }
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #4CAF50;
+ --secondary-color: #388E3C;
+ --background-color: #F5F5F5;
+ --text-color: #333;
+ --border-radius: 8px;
+ --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ margin-bottom: 2rem;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 1rem;
+ flex: 1;
+ }
+
+ .wallet-form, .wallet-output {
+ background: white;
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ margin-bottom: 2rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 600;
+ }
+
+ textarea, input[type="text"] {
+ width: 100%;
+ padding: 0.8rem;
+ border: 1px solid #ddd;
+ border-radius: var(--border-radius);
+ margin-bottom: 1rem;
+ font-size: 1rem;
+ resize: vertical;
+ }
+
+ button {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.8rem 1.5rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: var(--secondary-color);
+ }
+
+ #walletAddress {
+ background-color: #f9f9f9;
+ cursor: not-allowed;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: auto;
+ }
+
+ @media (max-width: 768px) {
+ main {
+ padding: 0.5rem;
+ }
+
+ .wallet-form, .wallet-output {
+ padding: 1rem;
+ }
+ }