Counterparty

From claude-dev-suite/claude-dev-suite · View interactive version

Counterparty is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. Counterparty: legacy Bitcoin meta-protocol (2014) for assets, DEX, betting using OP_RETURN. Usage is largely historic, but the reference implementation still ships protocol upgrades (AMM pools, Taproot envelopes) as of September 2026. USE WHEN: dealing with legacy Counterparty assets, understanding

How to use this skill

Skill file

Counterparty (XCP)

Counterparty is one of Bitcoin's earliest meta-protocols (2014). It

embeds asset / smart-contract metadata in Bitcoin transactions via

OP_RETURN, enabling token issuance, DEX trades, betting, and

asset management.

Mechanics

txs; since Counterparty Core v11.0.0 (May 2025), activating at

block 902,000 (mined 20 June 2025), it can also ride in a Taproot

envelope, and P2SH data encoding was removed.

Counterparty events, maintains state.

with A) costs 0.5 XCP, burned. Numeric assets (A followed by an

integer in [26^12+1, 2^64-1], i.e. 18-21 character names) are free,

as are subassets since the free_subassets gate at mainnet block

866,000.

Major past events

before Ordinals).

Status

issuance.

native asset" use cases (with much higher activity).

Why usage is mostly historic

Ordinals/Runes provide better UX + more functionality for new

issuance.

messages were not competitive; Taproot envelope encoding landed in

v11.0.0 (May 2025) specifically to reduce that cost.

(2025-2026)" below.

Protocol development (2025-2026)

The "historic" framing applies to usage, not the codebase. Releases

below are current as of September 2026.

envelope encoding, P2SH data encoding removed, CBOR for sweep /

enhanced send / fairminter / fairmint / issuance / broadcast,

Bech32 P2WSH+P2TR fixes, optional inscription on compose

(inscription, mime_type).

at mainnet block 952,800) — constant-product AMM pools with LP

tokens, message types pooldeposit (120) / poolwithdraw (121),

DEX match() interleaving pool fills with the resting book;

indefinite orders (expiration=0), MAX_EXPIRATION 8064 -> 65535.

fixes for sweep zero balances, P2MS UTXO addresses, AMM price

routing and deposit overflow; ledger DB compaction, stricter API

parameter validation.

incident, legacy v1 JSON-RPC off by default (--enable-api-v1),

correct_transaction_fee gate at mainnet block 966,200 (roughly

9 September 2026).

Architecture

answers queries.

server plus a Rust indexer, counterparty-rs). Current release is

v11.3.0 (16 August 2026).

Asset model

fee, owner-controlled).

block 866,000.

Use cases (current, niche)

Counterparty.

Compared to Ordinals

| Aspect | Counterparty | Ordinals |

|--------|--------------|----------|

| Year | 2014 | 2023 |

| Storage | OP_RETURN, Taproot envelope (v11.0.0+) | Inscriptions in witness |

| Token spec | Native | BRC-20 (overlay) |

| Active use | Niche | Very active |

| New issuance | Rare | Constant |

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.