Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Counterparty Protocol Reference Implementation
PLpgSQL Python

README.md

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.

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

Something went wrong with that request. Please try again.