Happy new year with our latest v2022.12.31 release!
pip install --upgrade btclib
or
btclib
@btclib
Python3 type annotated library intended for teaching, learning, and using bitcoin, its blockchain, and the associated elliptic curve cryptography.
btclib.orgJoined April 2020
btclib’s Tweets
Detection and proper management for these edge cases when decoding BIP32 in Bitcoin Core has been proposed by
5
6
Show this thread
BIP32 lacked test vector for invalid extended keys that should not be parsed as valid. Such test vector was originally implemented by in our library and have now entered BIP32 specifications
1
5
9
Show this thread
We are actually using it for production. Interfaces change between releases, so it requires maintenance work, anyway coupled with libsecp256k1 for sensitive stuff is a solid base library
Quote Tweet
Side note: I stumbled upon btclib in my search; while not recommended for production use, skimming the source shows genuine understanding of cryptography and BIP-340 in particular, eg. github.com/btclib-org/btc
Kudos to the team (@Ferdinando1970 it seems).
3
4
I endorse : it's a Python3 type annotated library intended for teaching, learning, and using bitcoin. Rigorously and extensively tested, its test suite covers 100% of the code base and reproduces results from both informal and major reference sources.
3
6
Side note: I stumbled upon btclib in my search; while not recommended for production use, skimming the source shows genuine understanding of cryptography and BIP-340 in particular, eg. github.com/btclib-org/btc
Kudos to the team ( it seems).
1
11
35
Celebrate the #Bitcoin paper's 12th anniversary watching The Digital Rush documentary with and Thomas Voegtlin.
Thanks to for this work of love
3
53
104
There we go again with a new v2020.5.11 release.
- moved to tox, pytest, black, and flake8
- added Integer as hex-string/bytes representation of an int
- added a dictionary of available elliptic CURVES
- etc.
See github.com/btclib-org/btc, pip install from
3
4
Here's our brand new domain and simple web-site:
2
6
The new v2020.4.7 release is out, with updated BIP340-Schnorr, increased flexibility in pub/prv key inputs, and more. Check it out!
2
3



