counterpartyxcp/counterparty-core ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app that acts as the reference implementation for the Counterparty Protocol on top of Bitcoin.

I want it to read Bitcoin transactions, detect the extra Counterparty data written into them, and interpret that into the protocol features like token issuance, decentralized asset exchange, contracts for difference, native oracles, and trustless gaming. It should expose a clean API for the core protocol so other tools can query what happened on chain, and it should be able to run reliably from a local setup or Docker.

Please make it practical, well tested, and easy to run. Include sensible docs or example requests for the API, and make sure the code is organized so it can be maintained as the main reference implementation. If you need current details about the protocol or API behavior, look up the latest docs online and match them closely.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab