Btclib

Btclib is an open source bitcoin library written in python, developed by Ferdinando Ametrano, professor of Cryptocurrency and Blockchain technology at the University of Milano Bicocca. I became a contributor of the library after finishing his course.

As of this time I have worked on implementing the following features into btclib:

  • Block and transaction serialization
  • PSBT (Partially signed bitcoin transactions)
  • bech32m
  • Taproot helper functions
  • legacy, segwit_v0 and taproot signature hash functions
  • interpreter to validate transactions' scripts

I also created bindings to the c library libsecp256k1 to speed up signature verification inside of btclib.

In addition I helped refactoring a large part of the codebase.

After Ferdinando Ametrano, I am the biggest contributor to the library