L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

bitcoin-libraries-bitcoinlib-py

bitcoin-libraries-bitcoinlib-py

bitcoinlib (Python): high-level wallet library by 1200WD. HD wallets, multi-currency, address generation, tx construction. USE WHEN: building Python wallets, multi-currency BTC + altcoin apps.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: bitcoin-libraries-bitcoinlib-py description: | bitcoinlib (Python): high-level wallet library by 1200WD. HD wallets, multi-currency, address generation, tx construction. USE WHEN: building Python wallets, multi-currency BTC + altcoin apps. allowed-tools: Read, Grep, Glob

bitcoinlib (Python)

High-level wallet library by 1200WD. Aims to be a complete solution for Python Bitcoin (and altcoin) wallets.

Repo: github.com/1200wd/bitcoinlib.

Install

pip install bitcoinlib

Quick example

from bitcoinlib.wallets import Wallet

wallet = Wallet.create("MyWallet")
addr = wallet.get_key().address
print(addr)

# Sync with chain
wallet.scan()
print(wallet.balance())

# Send
tx = wallet.send_to("bc1q...", 10000)
print(tx.txid)

Features

  • Multi-currency: Bitcoin, Litecoin, Dogecoin, Dash, Bitcoin Cash, others.
  • HD wallet (BIP32/39/44).
  • Multiple chain backends: bitcoind, blockcypher, etc.
  • Encrypted database for keys.
  • Multi-sig.

Compared

Aspectbitcoinlibpython-bitcoinlibbdk-python
LevelHigh (wallet)Low (primitives)High (wallet)
Multi-currencyyesBitcoin onlyBitcoin only
AuditCommunityCommunityMultiple audits
Maturity7+ years10+ yearsnewer

Use cases

  • Multi-currency wallets in Python.
  • Quick wallet prototypes.
  • Educational Python code.

Common pitfalls

  • Default DB is local SQLite; not designed for high-concurrency.
  • Multi-currency means bigger surface area; some chains less polished than Bitcoin.

See also

Skills enregistrées