Skip to main content

Counterparty Protocol Reference Implementation

Project description

Build Status Travis Build Status Circle Coverage Status Latest Version License Gitter chat

Description

counterparty-lib is the reference implementation of the Counterparty Protocol.

Note: for the command-line interface that used to be called counterpartyd, see `counterparty-cli <https://github.com/CounterpartyXCP/counterparty-cli>`__.

Requirements

  • Patched Bitcoin Core with the following options set:

    rpcuser=bitcoinrpc
    rpcpassword=<password>
    server=1
    txindex=1
    addrindex=1
    rpcthreads=1000
    rpctimeout=300

Installation

$ git clone https://github.com/CounterpartyXCP/counterparty-lib.git
$ cd counterparty-lib
$ python3 setup.py install

Usage

$ python3
>>> from counterpartylib import server
>>> db = server.initialise(<options>)
>>> server.start_all(db)

Further Reading

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

counterparty-lib-9.51.3.tar.gz (300.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page