2

I need a good library for bitcoin and other BTC-like cryptocurrencies in python. I'm looking for something similar to bitcoinjs but in python.
Minimal requirements:

  • generate an EC keypair and get public address from the public key
  • generate an EC keypair and compress it to WIF format.
  • get an EC keypair from WIF
  • generate a number of EC keypairs (a HD wallet) from a given seed
  • build a transaction
  • broadcast transaction

If you know any good cryptocurrency libraries let me know!

dnnagy
  • 121
  • 1
  • 4

3 Answers3

2

Take a look at Peter Todd's python-bitcoinlib.

From the github repo:

This Python2/3 library provides an easy interface to the bitcoin data structures and protocol. The approach is low-level and "ground up", with a focus on providing tools to manipulate the internals of how Bitcoin works.

0xb10c
  • 1,392
  • 5
  • 21
1

Check-out the node-directory within my Github repo experimenting with a scalable cryptocurrency.

0

Take a look at https://pybtc.readthedocs.io , pybtc python bitcoin library

bitaps.com
  • 649
  • 4
  • 14