Skip to content

SergioDemianLerner/counterparty-lib

 
 

Repository files navigation

Build Status Travis Build Status Circle Coverage Status Latest Version License Slack Status

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
     minrelaytxfee=0.00005
     limitfreerelay=0
    

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

About

Counterparty Protocol Reference Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PLpgSQL 70.2%
  • Python 29.8%