Practical overview
When it fits
Use it when you need command-line offline key generation and address derivation, or as the key-generation stage before a separate geth account import.
Who it is for
- People who want to generate Ethereum key material offline from a command line.
- geth users who want to import a generated private key.
Documented uses
- Create an ECDSA private and public key pair.
- Derive the Ethereum address for the generated keypair.
- Import a generated private key into geth.
Requirements & limits
- The Python script requires ECDSA and pysha3; the repository includes requirements.txt for installation.
- The Bash script requires OpenSSL and SHA3sum (keccak-256sum).
- The repository identifies the project as MIT-licensed.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Import a generated private key into geth
Use a generated hexadecimal private key as input to geth's account import command.
Before you start
- A generated private key in hexadecimal form
- geth
Steps
Save the private key to a file, as shown in the repository example.
Run geth with the account import command and the key file path.
Choose a passphrase when geth prompts to protect the imported key.
Expected outcome
Geth imports the private key as an account and prompts for a protective passphrase.
Guide limitations
- This covers importing a key, not generating one.
- The repository example uses a specific geth path and data directory; adapt those paths to the local setup.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- vkobel/ethereum-generate-wallet · Official homepage title · retained in its source language

