Start by opening up a fresh version of Kali Linux.
- We’ll be using Python2 this time. Kali makes working with Python2 a bit easier.
Create a folder to work with and clone Mr. Beck’s wallet creator repository.
mkdir mywallet
cd mywallet
git clone <https://github.com/androidteacher/2024_Bitcoin_Wallet_Generator.git>
cd 2024_Bitcoin_Wallet_Generator
Install the pycryptodome library, which is needed for hashing and encryption.
- If you do any Python programming that involves hashing or encryption, this library will appear frequently. It's a super common one.
Create a virtual environment to work within, preventing system conflicts as you install Python3 libraries.
sudo apt install python3-venv
python3 -m venv bitcoin_venv
source bitcoin_venv/bin/activate
You will know this virtual environment creation worked because you’ll see that your terminal prompt is prefaced by (bitcoin_venv)

Install the pycryptodome library for encryption and hashing.
pip3 install pycryptodome
Install the ‘ecdsa’ library for public/private key generation
pip3 install ecdsa
Test the program
python3 gen.py

The program in its current state does the following:
- Generate a valid 256-bit private key that can be used on the Bitcoin Blockchain
- Generates the public wallet address that will appear on the blockchain should bitcoin be transferred to this address.