Sending custom data with CP transactions

We need to send custom data with the CP transaction (e.g. to specify subasset or affilate ID). How can we do it in the counterparty API and if this even possible?
We already tried to use counterpartyd API commands, but didn’t find anything hat would work for us. Do we need to change counterpartyd code to allow this, or is there an existing workaround?

We need to send custom data with the CP transaction (e.g. to specify subasset or affilate ID). How can we do it in the counterparty API and if this even possible? We already tried to use counterpartyd API commands, but didn't find anything hat would work for us. Do we need to change counterpartyd code to allow this, or is there an existing workaround?

Can you provide some more info on this (what kind of transactions and what kind of data). 


For example, subasset information can be in the description field of an issuance
We need to send custom data with the CP transaction (e.g. to specify subasset or affilate ID). How can we do it in the counterparty API and if this even possible? We already tried to use counterpartyd API commands, but didn't find anything hat would work for us. Do we need to change counterpartyd code to allow this, or is there an existing workaround?

Can you provide some more info on this (what kind of transactions and what kind of data). 


For example, subasset information can be in the description field of an issuance

Are you referring to the ability of specifying a custom text with a SEND transaction?

Are you referring to the ability of specifying a custom text with a SEND transaction?

YES. Any suggestions?

ivana
We need to send custom data with the CP transaction (e.g. to specify subasset or affilate ID). How can we do it in the counterparty API and if this even possible?
We already tried to use counterpartyd API commands, but didn’t find anything hat would work for us. Do we need to change counterpartyd code to allow this, or is there an existing workaround?

Can you provide some more info on this (what kind of transactions and what kind of data).
For example, subasset information can be in the description field of an issuance

Ivana,
this quote “For example, subasset information can be in the description field of an issuance”. Is this just an example OR you are confirming the info? Can subset info be kept and copied with every transaction?

Anyway, we need to create a unified asset with some subasset marking inside of each asset unit and with the condition that we can run audit over whole system in order to collect data about subasset quantity in the system in any given moment.
Example. Imagine $100 bills issued by various Federal Reserve branches. All bills look the same but by Serial No and other attributes we can see which FedRes branch printed the bill. In this case $100 is our asset and Serial No is subset marking. We need to do the same only within CP system. Can we? Is it possible?

Sorry I don’t understand why my respond looked good in preview but all messy in the main thread.

Once again.

Ivana,
this quote “For example, subasset information can be in the description field of an issuance”. Is this just an example OR you are confirming the info? Can subset info be kept and copied with every transaction? Anyway, we need to create a unified asset with some subasset marking inside of each asset unit and with the condition that we can run audit over whole system in order to collect data about subasset quantity in the system in any given moment. Example. Imagine $100 bills issued by various Federal Reserve branches. All bills look the same but by Serial No and other attributes we can see which FedRes branch printed the bill. In this case $100 is our asset and Serial No is subset marking. We need to do the same only within CP system. Can we? Is it possible?

> Sorry I don't understand why my respond looked good in preview but all messy in the main thread.

:-)  That's one of peculiarities of HTML editor used by this forums s/w!
The safest way is to click on "<>" icon and type raw text...

If multisig addresses can issue assets (I haven't check, but you can check on testnet) then you could have 2 of 2 (the central office + affiliate) signatures issuing those so by the issuer (address) you could see who issued how many and when, assuming the asset is not locked.

> Are you referring to the ability of specifying a custom text with a SEND transaction? YES. Any suggestions?

This is unfortunately not possible at the moment. There was a discussion on this a few months back. See https://github.com/CounterpartyXCP/counterpartyd/issues/292

While not ideal, the suggested method was to use unique Bitcoin addresses for each transaction as an identifier