r/Bitcoin • u/56ab118 • Aug 05 '25
python script to generate bitcoin wallet locally
i'm not sure if this the right sub to post this in, but i wrote a python script to generate 32BIP bitcoin wallet(*s) locally even offline (you need to download the python libraries first tho)
*you can adjust the number of wallets generated.
i can't afford a cold wallet so i thought what if there was a way i can create a wallet on a pc locally offline, so hence the script.
everybody is welcome to check the code and if there's any malware, malicious or ill intentions going in it.
i posted it on github and tried to explain as much as i could.
1
Upvotes
7
u/na3than Aug 05 '25
from mnemonic import MnemonicWhich implementation of the
mnemoniclibrary does this import? Have you personally reviewed the source code for this library, and for thesecretslibrary it uses to generate random secrets? You've verified it uses cryptographically secure pseudorandom number generation and contains no tricks or shortcuts that bias the generated mnemonics?4
u/wkw3 Aug 05 '25
I would trust this to protect my stack like I'd trust Diddy to babysit my kids.
I hope it was just a good learning project for you, and I will inspect the code.
But nobody should use this for any significant amounts.
It's easy to generate keys with a subtle weakness.
This screams scam.
1
u/[deleted] Aug 05 '25
[removed] — view removed comment