Bitcoin library in python

1

1

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

Posted 2017-11-13T17:20:39.917

Reputation: 111

Answers

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

Posted 2017-11-13T17:20:39.917

Reputation: 953

1

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

alexanderjsingleton

Posted 2017-11-13T17:20:39.917

Reputation: 137

0

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

bitaps.com

Posted 2017-11-13T17:20:39.917

Reputation: 563