From 25821b755d27ce20e23e7bd4c77cee6f709ea4b4 Mon Sep 17 00:00:00 2001 From: SnapsNoCaps <139733767+HODL-Community@users.noreply.github.com> Date: Thu, 12 Feb 2026 15:19:03 -0500 Subject: [PATCH 1/3] Port app to Solana vanity generator with Solana-themed UI assets --- README.md | 27 +- index.html | 59 ++-- notes/mistakes.md | 8 + package-lock.json | 397 ++++------------------ package.json | 10 +- public/favicon.svg | 17 +- public/og-image.svg | 87 ++--- public/robots.txt | 2 +- public/site.webmanifest | 22 +- public/sitemap.xml | 2 +- public/twitter-card.svg | 60 ++-- src/searchTarget.ts | 7 +- src/style.css | 40 +-- src/ui/app.ts | 599 ++++++++++----------------------- src/wallet/ethAddress.ts | 60 ---- src/wallet/keypairJson.ts | 10 + src/wallet/keys.ts | 20 +- src/wallet/keystoreV3.ts | 73 ---- src/wallet/solanaAddress.ts | 36 ++ src/webgpu/gpuVanity.ts | 178 ---------- src/webgpu/keccakMatch.wgsl | 189 ----------- src/webgpu/matcher.ts | 126 ------- src/webgpu/secp256k1.wgsl | 524 ---------------------------- src/worker/pool.ts | 23 +- src/worker/vanityWorker.ts | 132 ++------ src/worker/wasmPool.ts | 113 ------- src/worker/wasmVanityWorker.ts | 144 -------- tsconfig.json | 2 +- vite.config.ts | 10 - 29 files changed, 501 insertions(+), 2476 deletions(-) delete mode 100644 src/wallet/ethAddress.ts create mode 100644 src/wallet/keypairJson.ts delete mode 100644 src/wallet/keystoreV3.ts create mode 100644 src/wallet/solanaAddress.ts delete mode 100644 src/webgpu/gpuVanity.ts delete mode 100644 src/webgpu/keccakMatch.wgsl delete mode 100644 src/webgpu/matcher.ts delete mode 100644 src/webgpu/secp256k1.wgsl delete mode 100644 src/worker/wasmPool.ts delete mode 100644 src/worker/wasmVanityWorker.ts diff --git a/README.md b/README.md index 0e7880c..e1ac3da 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# Vanity ETH GPU +# Vanity SOL GPU -A fast Ethereum vanity address generator that runs entirely in your browser. +A fast Solana vanity address generator that runs entirely in your browser. ## Features -- **Multi-threaded** - Uses Web Workers for parallel address generation +- **Multi-threaded** - Uses Web Workers for parallel keypair generation - **Privacy First** - All computations run locally in your browser, no server communication -- **Custom Prefix/Suffix** - Find addresses starting or ending with your desired characters -- **Wallet + First Contract Targets** - Scan either the wallet address or its first `CREATE` deploy address (nonce 0) -- **Keystore Export** - Download encrypted keystore JSON files +- **Custom Prefix/Suffix** - Find addresses starting or ending with your desired Base58 characters +- **Wallet + Program ID Targets** - Scan either wallet addresses or program IDs +- **Keypair Export** - Download Solana-compatible keypair JSON files ## Requirements @@ -16,15 +16,15 @@ A fast Ethereum vanity address generator that runs entirely in your browser. ## Usage -1. Choose target: wallet address or first contract address -2. Enter your desired prefix and/or suffix (hex characters: 0-9, a-f) +1. Choose target: wallet address or program ID +2. Enter your desired prefix and/or suffix (Base58 characters) 3. Click Generate and wait for a match -4. Once found, reveal the private key or download as encrypted keystore +4. Once found, reveal the secret key or download keypair JSON ## Security - Disconnect from the internet before generating for maximum security -- Never share your private key +- Never share your secret key - Always verify the address matches your requirements before use ## Development @@ -45,7 +45,12 @@ npm run build - TypeScript - Vite - Web Workers -- @noble/secp256k1 for cryptography +- @noble/curves (ed25519) + +## Notes + +- Current implementation uses CPU workers. +- GPU acceleration for Solana ed25519 search can be added in a follow-up phase. ## License diff --git a/index.html b/index.html index f991372..03c317b 100644 --- a/index.html +++ b/index.html @@ -4,58 +4,55 @@ - Vanity ETH GPU | Vanity Wallet & First Contract Address Generator + Vanity SOL GPU | Solana Vanity Wallet & Program ID Generator - - + + - + - - + + - - - - - - + + + - - + + - + - - + +