Skip to content

aaron-recompile/btcaaron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

btcaaron

A simple Bitcoin Testnet toolkit for developers.
Easily generate addresses, scan UTXOs, build and broadcast transactions β€” with full support for Legacy, SegWit, and Taproot.


πŸ”§ Features

  • βœ… 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

πŸ“¦ Installation

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.

About

A Bitcoin Testnet transaction toolkit supporting Legacy, SegWit, and Taproot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages