bitpeer.py

A pure Python3 bitcoin protocol implementation.


Keywords
bitcoin, protocol, blockchain, litecoin, testnet, bitpeer, peer
License
BSD-3-Clause
Install
pip install bitpeer.py==0.4.7.5

Documentation

bitpeer.py - Bitcoin protocol and node

A pure Python3 bitcoin protocol and node implementation with pycoin.

You can support this project and other bitcoin-related projects by donating BTC to: 129k6fDTd66j1LMY5RAdFSQozeBe58nfxE

Features

  • Bitcoin protocol data serialization / deserialization
  • Customizable clients for single node connections
  • Network support for different coins (bitcoin, namecoin, litecoin)
  • Customizable node:
    • DNS seed bootstrap
    • Multiple connections
    • Mempool and transaction broadcast
    • Automatic syncronization with storage capabilities (the storage abstraction allows different storage types)
    • Storage types: shelve and memory
    • Peer reconnection handling

Getting started

To install bitpeer.py, use pip (recommended method) or easy_install::

    pip3 install bitpeer.py

Or if pip is an alias of pip3:

    pip install bitpeer.py

Examples

Some samples are available in samples directory.