A modern, secure, and high-performance vanity address generator for the MANTRA blockchain. Generate custom MANTRA addresses with your desired patterns while maintaining full compatibility with standard wallet software.
-
π― Position-Based Pattern Matching: Choose where your vanity pattern appears
- Prefix: Pattern appears right after "mantra1" (e.g.,
mantra1abc...) - Suffix: Pattern appears at the end (e.g.,
...xyz) - Anywhere: Pattern can appear anywhere in the address (fastest)
- Prefix: Pattern appears right after "mantra1" (e.g.,
-
π Cryptographically Secure: Uses proper BIP32/BIP44 HD derivation compatible with all standard wallets
-
β‘ High Performance: Rust/WebAssembly backend for optimal speed
-
π± Responsive Design: Works seamlessly on desktop and mobile
-
π¨ Modern UI: Clean, intuitive interface with real-time feedback
-
π One-Click Copy: Easy copying of addresses and mnemonic phrases
-
π Real-Time Progress: Live updates during generation
# Clone the repository
git clone https://github.com/your-username/mantra-vanity-generator.git
cd mantra-vanity-generator
# Start the development server
npm run dev
# or
python3 -m http.server 8000
# Open your browser
open http://localhost:8000Visit the hosted version at: https://your-username.github.io/mantra-vanity-generator
- Enter Your Pattern: Type the letters/numbers you want in your address
- Choose Position: Select where the pattern should appear:
- Anywhere (π’ Easy): Fastest generation, pattern can be anywhere
- Prefix (π‘ Medium): Pattern appears after "mantra1"
- Suffix (π΄ Hard): Pattern appears at the end (takes longer)
- Generate: Click "Generate Vanity Address" and wait for results
- Save Safely: Copy your mnemonic phrase and store it securely
- Import to Wallet: Use the mnemonic in any standard Cosmos wallet
- Frontend: Vanilla JavaScript with WebAssembly integration
- Backend: Rust compiled to WebAssembly for cryptographic operations
- Standards: BIP39 (mnemonic), BIP32 (HD derivation), BIP44 (account structure)
- Compatibility: Works with Keplr, Cosmostation, and all standard Cosmos wallets
Follows Cosmos standard: m/44'/118'/0'/0/0
- Purpose: 44 (BIP44)
- Coin Type: 118 (Cosmos)
- Account: 0
- Change: 0
- Index: 0
- β Proper secp256k1 elliptic curve arithmetic
- β Cryptographically secure random number generation
- β BIP32 compliant hierarchical deterministic derivation
- β Compatible with all standard Cosmos wallets
- β Client-side only - no data sent to servers
# Install dependencies
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# Clone and build
git clone https://github.com/your-username/mantra-vanity-generator.git
cd mantra-vanity-generator
# Build WebAssembly module
npm run build
# Start development server
npm run devβββ index.html # Main application interface
βββ main.js # Frontend JavaScript logic
βββ wasm-module/ # Rust WebAssembly backend
β βββ src/lib.rs # Core cryptographic functions
β βββ Cargo.toml # Rust dependencies
βββ vanity_wasm.* # Generated WebAssembly files
βββ package.json # Project configuration
Rust (WebAssembly):
k256- secp256k1 elliptic curve operationsbip39- BIP39 mnemonic phrase generationhmac+sha2- HMAC-SHA cryptographic functionsbech32- Address encoding for Cosmos chainswasm-bindgen- JavaScript/WebAssembly bindings
Frontend:
- Vanilla JavaScript (no frameworks)
- WebAssembly for performance-critical operations
- Private Key Security: All generation happens locally in your browser
- Mnemonic Backup: Always backup your mnemonic phrase securely
- Pattern Complexity: Longer patterns take exponentially more time
- Suffix Generation: Can take significantly longer than prefix/anywhere
The easiest way to deploy this application is using GitHub Pages with automatic deployment:
- Push your repository to GitHub
- Enable GitHub Pages in repository settings:
- Go to Settings β Pages
- Source: Deploy from a branch
- Branch:
gh-pages(auto-created)
- Push to main branch - deployment happens automatically via GitHub Actions
- Access your site at:
https://your-username.github.io/repository-name/
# Build and test locally
npm run build
npm run deploy:preview
# Visit: http://localhost:8080The deployment automatically includes:
index.html- Main application interfacemain.js- Frontend JavaScript logicvanity_wasm.js- WebAssembly bindingsvanity_wasm_bg.wasm- Compiled Rust code
This application works on any static hosting service:
- Netlify: Connect to GitHub for automatic deployment
- Vercel: Deploy with
vercel --prod - Static hosting: Upload static files to any web server
- AWS S3: Upload to S3 bucket with static hosting
For automated deployments, ensure your hosting provider has:
- Rust toolchain
wasm-packinstalled- Support for build scripts
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This tool is provided as-is for educational and utility purposes. Always verify generated addresses work correctly with small amounts before using for significant transactions. The authors are not responsible for any loss of funds.
- MANTRA - The MANTRA blockchain
- Cosmos SDK - Blockchain framework
- Rust - Systems programming language
- WebAssembly - High-performance web execution
β If this project helped you, please give it a star!