Skip to content

bitaps-com/pybtc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 1, 2019 20:25
September 8, 2018 16:47
November 23, 2022 22:29
March 4, 2020 02:20
November 27, 2021 23:51
March 4, 2020 02:26
March 4, 2020 02:20
March 4, 2020 02:20
January 16, 2018 12:00
May 16, 2021 22:29
March 4, 2020 02:14
May 16, 2021 07:00
March 4, 2020 02:20
July 10, 2021 13:19
May 16, 2021 06:16

Python bitcoin library

travis build codecov coverage version

Feature Support

  • Basic functions
  • Supports addresses types PUBKEY, P2PKH, P2SH, P2SH-PWPKH, P2WPKH, P2WSH.
  • Supports BIP32(Hierarchical Deterministic Wallets), BIP39(Mnemonic code generation)
  • Supports BIP141(Segregated Witness)
  • Transaction constructor

Installation

To install pybtc, simply use pip

$ git clone https://github.com/bitaps-com/pybtc
$ cd pybtc
$ python3 setup.py install

Dependencies

  • Python 3.3.3+
  • autogen
  • autoconf
  • automake
  • pkg-config
  • gcc
  • pip3

Build on macOS

brew install autogen autoconf automake pkg-config
pip3 install --requirement requirements-dev.txt
python3 setup.py install

Build on Ubuntu

apt-get -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev
pip3 install --requirement requirements-dev.txt
python3 setup.py install

Documentation

Documentation is available at https://pybtc.readthedocs.io

How to Contribute

In order to make a clone of the GitHub repo: open the link and press the “Fork” button on the upper-right menu of the web page.

Workflow is pretty straightforward:

  1. Clone the GitHub
  2. Make a change
  3. Make sure all tests passed
  4. Add a record into file into change.log.
  5. Commit changes to own pybtc clone
  6. Make pull request from github page for your clone against master branch