A simple Bitcoin Testnet toolkit for developers.
Easily generate addresses, scan UTXOs, build and broadcast transactions β with full support for Legacy, SegWit, and Taproot.
- β Generate Legacy / SegWit / Taproot addresses from WIF
- π Scan UTXOs and check balance via public APIs
- π§ Build & sign transactions (manual or quick mode)
- π Broadcast to Blockstream or Mempool endpoints
- π§ͺ Simple test suite for local debugging
pip install btcaaron
Or install from source:
git clone https://github.com/aaron-recompile/btcaaron.git
cd btcaaron
pip install .
βΈ»
π Quick Start
from btcaaron import WIFKey, quick_transfer
# Your testnet WIF private key
wif = ""
# Generate addresses
key = WIFKey(wif)
print("Taproot:", key.get_taproot().address)
# Check balance
balance = key.get_taproot().get_balance()
print("Balance:", balance, "sats")
# Quick transfer
if balance > 1000:
txid = quick_transfer(wif, "taproot", "tb1q...", amount=500, fee=300)
print("Broadcasted:", txid)
βΈ»
π Project Structure
btcaaron/
βββ btcaaron.py # Main library
βββ test.py # Example-based test runner
βββ README.md # This file
βββ setup.py # Install and packaging
βββ LICENSE # MIT License
βΈ»
π¨βπ» Author
Aaron Zhang
https://x.com/aaron_recompile
βΈ»
π License
MIT License - Free for commercial and personal use.