Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btcaaron-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

btcaaron-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file btcaaron-0.1.1.tar.gz.

File metadata

  • Download URL: btcaaron-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for btcaaron-0.1.1.tar.gz
Algorithm Hash digest
SHA256 43cf7d70435da14db1315466f2daadee4be00be0c77984821946166e3285c08e
MD5 cad46b6e7e685507bf08ea22f6769eca
BLAKE2b-256 11650dfbc5c98b3500bb42719c06f7cc2b7745604a59617ff0c034710b923987

See more details on using hashes here.

File details

Details for the file btcaaron-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: btcaaron-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for btcaaron-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0bc45f68e33e3b6ec7165c52ca209e1690a4b7b2eab05e41d9b6e175148a101c
MD5 a2fc3459a6277e9eb742badb9c3c6ed4
BLAKE2b-256 257bbd03e8a353b5a2b378e5cb4b4c9280e045e75850135148e1ba28298282ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page