Skip to content

Repository files navigation


Counterparty: an Extension to Bitcoin by State-Machine Replication

Testing Codecov Functionals Functionals Functionals Functionals
Scanning Functionals Functionals Functionals Functionals
Docker Docker Docker Image Size
Github GitHub commit activity GitHub contributors GitHub Release Date
Other GitHub License Python Versions

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 (the counterparty-server node).
  • 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.

Contributing

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.

About

Counterparty Protocol Reference Implementation

Resources

Contributing

Security policy

Stars

294 stars

Watchers

57 watching

Forks

Releases

Packages

Used by

Contributors

Languages