To me it looks like colored coins just have additional information stored. It sounds like a struct that has an additional variable. There's probably more to it, I did not yet check that in the source code, but it sounds easy to implement (just add the variable).
Asked
Active
Viewed 27 times
1 Answers
1
It is not hard to implement colored coins. There are a few details you need to keep in mind, though:
Remember for each UTXO which color it was for
Make sure to verify that when a transaction generates colored coins, they are either the same color as at least one of the inputs (and their sum matches) or a completely new color (for example, derived from the transaction ID).

mihi
- 7,324
- 2
- 15
- 34
-
thank you very much – Jun 26 '21 at 15:06