counterpartyd
is the reference implementation of the Counterparty
Protocol.
rpcuser=bitcoinrpc
rpcpassword=$PASSWORD
txindex=1
server=1
addrindex=1
- Major version changes require a full (automatic) rebuild of the database.
- Minor version changes require a(n automatic) database reparse.
- All protocol changes are retroactive on testnet.
To get started, run $ counterpartyd.py --rpc-password=$PASSWORD server
.
For a summary of the available command‐line arguments and options, see
$ counterpartyd.py --help
and $ counterparty-cli.py --help
.
The test suite is invoked with $ py.test
in the root directory of the
repository.
- Quantities of divisible assets are written to eight decimal places.
- Quantities of indivisible assets are written as integers.
- All other quantities, i.e. prices, odds, leverages, feed values and target values, fee multipliers, are represented internally as fractions, but printed to four decimal places. Call prices are stored as integers with six decimal places of precision.