# Counterparty

**URL:** https://forums.counterparty.io/c/development/development-technical/10.md

[Latest](https://forums.counterparty.io/latest.md) · [Categories](https://forums.counterparty.io/categories.md)

---

## [About the Counterparty category](https://forums.counterparty.io/t/about-the-counterparty-development-category/19)

<div class="topic-metadata">

**Author:** [@system](https://forums.counterparty.io/u/system)\
**Replies:** 0\
**Last updated:** [February 6, 2015, 6:01pm UTC](https://forums.counterparty.io/t/about-the-counterparty-development-category/19 "2015-02-06T18:01:25Z")

</div>

---

## [Increase max order expiration](https://forums.counterparty.io/t/increase-max-order-expiration/4911)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 4\
**Last updated:** [November 25, 2024, 9:46pm UTC](https://forums.counterparty.io/t/increase-max-order-expiration/4911 "2024-11-25T21:46:14Z")

</div>

A number of users in the community have expressed frustrations with the current max order expiration of 8064 blocks (2 months). The purpose of this post is to discuss interest in increasing the max order expiration and i…

---

## [Fee on Numeric Assets](https://forums.counterparty.io/t/fee-on-numeric-assets/6601)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 6\
**Last updated:** [January 9, 2024, 9:47am UTC](https://forums.counterparty.io/t/fee-on-numeric-assets/6601 "2024-01-09T09:47:07Z")

</div>

I suggest adding a 0.01 XCP fee on every issuance (initial and subsequents issuances alike). Also, invalid issuances should be ignored and no longer be stored in the DB. I am against the planned 0.25 XCP fee on numeric …

---

## [CIP21 - Dispensers](https://forums.counterparty.io/t/cip21-dispensers/5488)

<div class="topic-metadata">

**Author:** [@chiguireitor](https://forums.counterparty.io/u/chiguireitor)\
**Replies:** 18\
**Last updated:** [December 27, 2023, 11:34pm UTC](https://forums.counterparty.io/t/cip21-dispensers/5488 "2023-12-27T23:34:41Z")

</div>

CIP21

---

## [Counterparty server](https://forums.counterparty.io/t/counterparty-server/6773)

<div class="topic-metadata">

**Author:** [@Dan1](https://forums.counterparty.io/u/Dan1)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 4:46am UTC](https://forums.counterparty.io/t/counterparty-server/6773 "2023-12-23T04:46:03Z")

</div>

Hello I transfered btc from my #1 wallet and it’s showing me pending for over 12 hours now. Most times it does not show in the transaction history. Kindly help me for the receiver has been waiting patiently at the oth…

---

## [Command "reorg"](https://forums.counterparty.io/t/command-reorg/6752)

<div class="topic-metadata">

**Author:** [@pmousarris](https://forums.counterparty.io/u/pmousarris)\
**Replies:** 0\
**Last updated:** [November 27, 2023, 12:20pm UTC](https://forums.counterparty.io/t/command-reorg/6752 "2023-11-27T12:20:36Z")

</div>

I have few questions when a counterparty message has for property Command the value ‘reorg’: How does this work and how is it handled by the counterparty api? Is reorg always detected and presented in a counterparty me…

---

## [Lock token description feature?](https://forums.counterparty.io/t/lock-token-description-feature/6500)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 4:53pm UTC](https://forums.counterparty.io/t/lock-token-description-feature/6500 "2023-06-19T16:53:02Z")

</div>

Over the last year I have heard a few community members mention that it would be a nice feature to have to be able to lock the asset description, so that it can no longer be edited. This would allow issuers to issue a t…

---

## [CIP27 - STAMP Filesystem](https://forums.counterparty.io/t/cip27-stamp-filesystem/6565)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 5:42pm UTC](https://forums.counterparty.io/t/cip27-stamp-filesystem/6565 "2023-06-09T17:42:54Z")

</div>

I propose that we migrate the stamp file data out of the database, put it in a local filesystem, and make the stamp data highly available by adding a weberver to the fedode stack. This effectively makes every CP node a s…

---

## [Testing Scalability of 'Assets' and 'Issuances' Tables](https://forums.counterparty.io/t/testing-scalability-of-assets-and-issuances-tables/6621)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 4:05pm UTC](https://forums.counterparty.io/t/testing-scalability-of-assets-and-issuances-tables/6621 "2023-06-02T16:05:23Z")

</div>

I’ve simulated inserting rows into the assets and issuances tables and measured the performance. The initial DB is a real, recent Counterparty DB. The added rows are random values of the same format as real values. As…

---

## [Remove unusable assets](https://forums.counterparty.io/t/remove-unusable-assets/6618)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 3\
**Last updated:** [June 2, 2023, 2:13pm UTC](https://forums.counterparty.io/t/remove-unusable-assets/6618 "2023-06-02T14:13:14Z")

</div>

The database is now bloated with 22,000+ numeric assets which have been issued with no supply and locked. There is no meaningful way for these assets to ever use the Counterparty system, and this data just bloats the as…

---

## [Enhanced Asset Information Specification](https://forums.counterparty.io/t/enhanced-asset-information-specification/6431)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 24\
**Last updated:** [May 26, 2023, 12:58pm UTC](https://forums.counterparty.io/t/enhanced-asset-information-specification/6431 "2023-05-26T12:58:55Z")

</div>

The enhanced asset info spec we have from the founders is good, but is very basic. http://counterparty.io/docs/enhanced\_asset\_info I have been meaning to write a CIP to extend this asset information to allow for additi…

---

## [CIP28 - Broadcast Token Name System (BTNS)](https://forums.counterparty.io/t/cip28-broadcast-token-name-system-btns/6597)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 1\
**Last updated:** [May 14, 2023, 7:00pm UTC](https://forums.counterparty.io/t/cip28-broadcast-token-name-system-btns/6597 "2023-05-14T19:00:42Z")

</div>

Today I am proud to announce the ‘Broadcast Token Naming System (BTNS)’ spec, which enables various projects to play around with alternate token naming systems in a easy-to-use and scalable format. Similar to BRC-20 and…

---

## [STAMP File Storage](https://forums.counterparty.io/t/stamp-file-storage/6569)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 2:46pm UTC](https://forums.counterparty.io/t/stamp-file-storage/6569 "2023-04-26T14:46:00Z")

</div>

Here’s a suggestion to how Counterparty can handle on-chain file storage better: Add a special rule that when asset description or broadcast begins with BLOB:, assume the following format; BLOB:{filename},{blob} The bl…

---

## [CIP 26 - STAMP Protocol](https://forums.counterparty.io/t/cip-26-stamp-protocol/6563)

<div class="topic-metadata">

**Author:** [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Replies:** 5\
**Last updated:** [April 20, 2023, 2:43pm UTC](https://forums.counterparty.io/t/cip-26-stamp-protocol/6563 "2023-04-20T14:43:28Z")

</div>

A few weeks ago @mikeinspace posted a document outlining how users could “stamp” an image to a token, and also laid out the basic guidelines and rules for the “Bitcoin Stamps” project. This project has seen a bunch of at…

---

## [CIP 26 - LOCK asset description](https://forums.counterparty.io/t/cip-26-lock-asset-description/6557)

<div class="topic-metadata">

**Author:** [@theo\_goodman](https://forums.counterparty.io/u/theo_goodman)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 4:51pm UTC](https://forums.counterparty.io/t/cip-26-lock-asset-description/6557 "2023-04-17T16:51:20Z")

</div>

I have created a CIP You might enjoy it, read about it here Create CIP26 · CounterpartyXCP/cips@58268b6 (github.com)

---

## [JS function: Bech32 address to hex](https://forums.counterparty.io/t/js-function-bech32-address-to-hex/6485)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 5:42am UTC](https://forums.counterparty.io/t/js-function-bech32-address-to-hex/6485 "2023-03-03T05:42:46Z")

</div>

A bech32 address like bc1qjpjanssen2x7586qzr8fnmk0epfdttqwfkkvlx is encoded as hex (809065d9c2199a8dea1f4010ce99eecfc852d5ac0e) inside the Counterparty data. See Counterparty Decoder The encoded hex address corresponds…

---

## [Batch-sending to multiple dispensers](https://forums.counterparty.io/t/batch-sending-to-multiple-dispensers/6499)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 8:09am UTC](https://forums.counterparty.io/t/batch-sending-to-multiple-dispensers/6499 "2023-02-23T08:09:32Z")

</div>

Before implementing batch-sending to dispensers, it would be wise to analyze the benefits, costs, risks and alternatives. Here’s the github issue : Just 1st dispenser dispenses when batch-sending sats to multiple dispen…

---

## [Taproot encoding](https://forums.counterparty.io/t/taproot-encoding/6481)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 6:23am UTC](https://forums.counterparty.io/t/taproot-encoding/6481 "2023-02-03T06:23:37Z")

</div>

Ordinals use taprott to store large amounts of data very efficiently. This is something Counterparty should use? I.e. is it better than XCP’s current encoding schemes?

---

## [Sweep Fee & Asset Description Length Limit](https://forums.counterparty.io/t/sweep-fee-asset-description-length-limit/6482)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [February 2, 2023, 7:16am UTC](https://forums.counterparty.io/t/sweep-fee-asset-description-length-limit/6482 "2023-02-02T07:16:56Z")

</div>

The fee for sweeping is 0.5 XCP regardless of the amount of assets swept. Sweeping an address containing thousands of assets cost the same as an address with only one. For each asset ownership that is swept, one new row…

---

## [Immutable JSON / CIP25](https://forums.counterparty.io/t/immutable-json-cip25/6428)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 2\
**Last updated:** [October 13, 2022, 7:50am UTC](https://forums.counterparty.io/t/immutable-json-cip25/6428 "2022-10-13T07:50:42Z")

</div>

For the upcoming CIP25 (Enhanced Asset Information Spec) I suggest a standard for immutable content. For files, add a sha256 field. Example; "images": \[{ "type": "icon", "size": "128x128", "data…

---

## [Standard representation of asset ownership vs token](https://forums.counterparty.io/t/standard-representation-of-asset-ownership-vs-token/6435)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 4:31am UTC](https://forums.counterparty.io/t/standard-representation-of-asset-ownership-vs-token/6435 "2022-10-06T04:31:52Z")

</div>

If you have a token of, say MYTOKEN, we refer to it with capitalized letters. We’re lucky to have this standard as it makes XCP tokens stand out across crypto. Since there is a unique “mytoken” asset ownership independe…

---

## [CIP03 - Reset Token & Divisibility Statuses for Unused Asset](https://forums.counterparty.io/t/cip03-reset-token-divisibility-statuses-for-unused-asset/1643)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 35\
**Last updated:** [September 1, 2022, 12:54am UTC](https://forums.counterparty.io/t/cip03-reset-token-divisibility-statuses-for-unused-asset/1643 "2022-09-01T00:54:29Z")

</div>

It would be great to hear what you think before formalizing a CIP. If the asset owner holds the entire supply and the asset is not locked, then allow the owner to reset the supply (e.g. set the supply at zero) and chang…

---

## [CIP24 - Oracled Dispensers](https://forums.counterparty.io/t/cip24-oracled-dispensers/6030)

<div class="topic-metadata">

**Author:** [@chiguireitor](https://forums.counterparty.io/u/chiguireitor)\
**Replies:** 2\
**Last updated:** [September 1, 2022, 12:51am UTC](https://forums.counterparty.io/t/cip24-oracled-dispensers/6030 "2022-09-01T00:51:46Z")

</div>

New proposal for Oracled dispensers, a mechanism to dispense tokens based on feed prices of external assets. Github link for proposal @jdogresorg would you be so kind to allocate a bounty address for this proposal?

---

## [CIP13 (CIP3 alternative): Divisibility set by defining the asset, not by reserving the name](https://forums.counterparty.io/t/cip13-cip3-alternative-divisibility-set-by-defining-the-asset-not-by-reserving-the-name/6420)

<div class="topic-metadata">

**Author:** [@juan](https://forums.counterparty.io/u/juan)\
**Replies:** 1\
**Last updated:** [August 31, 2022, 2:56pm UTC](https://forums.counterparty.io/t/cip13-cip3-alternative-divisibility-set-by-defining-the-asset-not-by-reserving-the-name/6420 "2022-08-31T14:56:01Z")

</div>

Counterparty is about to make a change that I believe goes against the principles of Bitcoin, CIP3. For Counterparty to reach its maximum potential, it needs to win over the approval of most Bitcoiners. Many of these Bi…

---

## [BIP-39 mnemonic in Counterwallet](https://forums.counterparty.io/t/bip-39-mnemonic-in-counterwallet/6281)

<div class="topic-metadata">

**Author:** [@dancodery](https://forums.counterparty.io/u/dancodery)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 3:21am UTC](https://forums.counterparty.io/t/bip-39-mnemonic-in-counterwallet/6281 "2021-12-09T03:21:33Z")

</div>

I recently participated in a hackathon and tried to develop a Counterparty app and ran into many problems. So I decided to ask each one-by-one in these threads. My first question is: We generated our mnemonics accordi…

---

## [DEX / Dispenser service fees](https://forums.counterparty.io/t/dex-dispenser-service-fees/6267)

<div class="topic-metadata">

**Author:** [@Hakkonen](https://forums.counterparty.io/u/Hakkonen)\
**Replies:** 0\
**Last updated:** [November 1, 2021, 10:11pm UTC](https://forums.counterparty.io/t/dex-dispenser-service-fees/6267 "2021-11-01T22:11:44Z")

</div>

Hey. I’m wondering what everyone think of introducing an optional parameter for Counterparty DEX / Dispenser functions to allow for a fee to be split and returned the the service provider? For example, on a dispenser se…

---

## [Pre CIP - BTC-Swap](https://forums.counterparty.io/t/pre-cip-btc-swap/6264)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 10:34am UTC](https://forums.counterparty.io/t/pre-cip-btc-swap/6264 "2021-10-29T10:34:31Z")

</div>

Problem 1: Trust is currently needed when selling an asset for BTC. Problem 2: Bundles and asset ownerships can not be traded on the DEX or dispenser. Solution: Introduce a swap contract. Counterparty escrows the asset…

---

## [Idea: Token Auctions](https://forums.counterparty.io/t/idea-token-auctions/3496)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 5\
**Last updated:** [October 11, 2021, 5:45pm UTC](https://forums.counterparty.io/t/idea-token-auctions/3496 "2021-10-11T17:45:21Z")

</div>

The DEX is one of the most popular features of Counterparty. However, there are situations where it does not work well (or not at all). Token auctions will address several of these cases, such as: Asset is rarely trad…

---

## [CIP - Auction Contract](https://forums.counterparty.io/t/cip-auction-contract/6254)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 5:15pm UTC](https://forums.counterparty.io/t/cip-auction-contract/6254 "2021-10-11T17:15:40Z")

</div>

This Counterparty Improvement Proposal outlines how auctions can be implemented. WHY It has become popular to sell NFTs on auctions. With an upgrade to Counterparty we can do this directly on the blockchain relatively …

---

## [CIP - Dispenser Reservation](https://forums.counterparty.io/t/cip-dispenser-reservation/6249)

<div class="topic-metadata">

**Author:** [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Replies:** 0\
**Last updated:** [October 6, 2021, 2:59pm UTC](https://forums.counterparty.io/t/cip-dispenser-reservation/6249 "2021-10-06T14:59:44Z")

</div>

Here’s a possible way to make dispensers safer. Overview Reservation is an optional feature. Buyer sends 1% of a regular dispense amount to the dispenser. This triggers a reservation. He will get the tokens provided he…

[Next page](https://forums.counterparty.io/c/development/development-technical/10.md?page=1)
