Addrgen
Minimal Bitcoin address generator in Python
Install / Use
/learn @weex/AddrgenREADME
addrgen - minimal Bitcoin address generator in Python
This script generates a single Bitcoin address using the compressed public key format and prints it with its private key.
The idea was to have the smallest source code possible so that it would be easy to audit and hard for anyone to hide anything nepharious. If you like this idea, you may want to check out TweetNaCl.
Usage
python addrgen.py
Generating other types of addresses
Supply the version number for your desired address with the --otherversion switch. (supported by pywallet at least)
python addrgen.py --otherversion=48
If you wish to generate addresses based on a passphrase, a given private key, or some other option look at the commented lines in the test() function.
Created and Licensed Public Domain by Joric/bitcoin-dev June 2012 with minor modifications by David Sterry.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
