Counterparty Core is the reference implementation of the Counterparty Protocol, an extension to the Bitcoin protocol which implements a number of features that Bitcoin itself does not offer. These include token issuance, a fully decentralized and trustless asset exchange, contracts for difference, native oracles and trustless gaming. Counterparty works by ‘writing in the margins’ of Bitcoin transactions, and all Counterparty transactions are Bitcoin transactions with additional data that the Counterparty software can read and interpret.
See the official project documentation for more information, and for instructions on installing and running the Counterparty software. The reference for the Counterparty Core API is available at apidocs.counterparty.io.
This repository contains:
counterparty-core/— the Python reference implementation (thecounterparty-servernode).counterparty-rs/— the Rust extension used by the node for performance-critical work.counterparty-client/— a Rust command-line client (xcp) with a local encrypted wallet, for composing, signing and broadcasting Counterparty transactions against an API server. See its README.
Bug reports and substantial pull requests are welcome — see the contributing guidelines before opening either, and AGENTS.md if you are using an AI agent. Security vulnerabilities must be disclosed privately per the security policy.