Generates keys and/or wallet addresses from a mnemonic seed, private key, or public key. Supports arbitrary HD paths as per BIP32/BIP44 standards and outputs Bech32 addresses for Cosmos SDK as well as proper (non-evmos) Ethereum address.
Wallet applications love to gatekeep this. You know who you are. Stop it. Be better.
- Generate private keys, public keys, and wallet addresses from a mnemonic seed.
- Generate public keys and wallet addresses from a private key.
- Generate wallet addresses from a public key (supports both hex and base64 formats).
- Accept arbitrary HD derivation paths.
- Generate addresses for Cosmos SDK chains (Bech32) and Ethereum (Hex format).
- Clone the repository:
git clone https://github.com/cordtus/wallet_generator.git
cd wallet_generator- Install dependencies:
yarn install- Build the project:
yarn build- Test:
yarn test- Run:
yarn startWhen you run the tool, you'll be prompted to select an input mode:
- Mnemonic: Generate private key, public key, and wallet addresses from a mnemonic seed.
- Private Key: Generate public key and wallet addresses from a private key.
- Public Key (Hex or Base64): Generate wallet addresses from a public key.
yarn start
✔ Select input mode: Mnemonic
✔ Enter your mnemonic: [your mnemonic here]
✔ Enter the derivation path: m/44'/118'/0'/0/0The tool will output:
- Bech32 Address
- Ethereum (hex) Address
- Public Key
- Private Key
yarn start
✔ Select input mode: Private Key
✔ Enter your private key: [your private key here]The tool will output:
- Bech32 Address
- Ethereum (hex) Address
- Public Key
yarn start
✔ Select input mode: Public Key (Hex or Base64)
✔ Enter your public key: [your public key in hex or base64 format]The tool will output:
- Bech32 Address
- Ethereum Address (only when using hex format)
Hex format (compressed):
033303c7d61c8e8582de6ed52e6227408eb957abc98ef5759514cdac1bb5cd0a42
Base64 format (same key):
AzMDx9YcjoWC3m7VLmInQI65V6vJjvV1lRTNrBu1zQpC
- Cordt Hanson - Creator / maintainer
- Marius Modlich - Major contributor
MIT License © 2024 Cordt Hanson