0.3.2 • Published 7 months ago
initia-vanity v0.3.2
Initia Vanity Address Generator
A command-line tool to generate vanity addresses for Initia blockchain.
Installation
npm install -g initia-vanity
Usage
Basic Usage
Generate a vanity address with default settings (uses 50% of CPU cores):
initia-vanity
Generate a vanity address with a specific suffix:
initia-vanity mysuffix
Thread Control
Control processing power using thread flag:
initia-vanity <suffix> -t <number> # Short form
initia-vanity <suffix> --threads <number> # Long form
Examples
- Generate an address ending with "zon":
initia-vanity zon
- Generate using
n
threads:
initia-vanity zon -t n
This will generate output in the format:
{
"name": "initiakey",
"type": "local",
"address": "init1...zon",
"pubkey": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "..."
}
}
Performance Guide
Thread Usage
- Default: 50% of available CPU cores
- Minimum: 1 thread
- Maximum: No hard limit (warns if exceeding CPU cores)
- Recommended: 4-8 threads for optimal performance
Expected Times
- 3 letters: ~30 seconds
- 4 letters: ~15-20 minutes
- 5 letters: ~6-9 hours
- 6 letters: Several days LOL
Note: Times vary based on hardware and thread count
Security
- All key generation is done locally
- No network connections required after installation
- Uses cryptographically secure random number generation
- Implements standard Cosmos SDK key derivation
License
MIT