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
.
-
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
$ git clone https://github.com/CounterpartyXCP/counterparty-lib.git
$ cd counterparty-lib
$ python3 setup.py install
$ python3
>>> from counterpartylib import server
>>> db = server.initialise(<options>)
>>> server.start_all(db)