<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Colored_Coins</id>
	<title>Colored Coins - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Colored_Coins"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Colored_Coins&amp;action=history"/>
	<updated>2026-05-15T12:01:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Colored_Coins&amp;diff=665&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Colored_Coins&amp;diff=665&amp;oldid=prev"/>
		<updated>2019-02-22T06:10:31Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 06:10, 22 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Colored_Coins&amp;diff=664&amp;oldid=prev</id>
		<title>foo&gt;Artillar at 02:12, 9 July 2018</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Colored_Coins&amp;diff=664&amp;oldid=prev"/>
		<updated>2018-07-09T02:12:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#seo:&lt;br /&gt;
|title=Colored Coins – Bitcoin, Blockchain Protocols, Wallets  – Bitcoin Wiki&lt;br /&gt;
|keywords=colored coins, bitcoin, blockchain, protocol, wallet, colored coins.org&lt;br /&gt;
|description=Colored Coins is a term which loosely describes a class of methods for representing and managing real world assets on top of the Bitcoin Blockchain. Colored Coins wallet can create a Bitcoin transaction that encodes sending 50 units of an asset.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;amp/&amp;gt;&lt;br /&gt;
[[File:Colored-coins.png|400px|right|Colored coins – Bitcoin, Blockchain protocol]]&lt;br /&gt;
'''«Colored Coins»''' is a term which loosely describes a class of methods for representing and managing '''real world assets''' on top of the [[Bitcoin#The_block_chain|Bitcoin Blockchain]].&lt;br /&gt;
&lt;br /&gt;
While originally designed to be a currency, [[Bitcoin|Bitcoin's]] [[Script|scripting language]] allows to store small amounts of metadata on the blockchain, which can be used to '''represent''' asset manipulation instructions. For example, we can encode in a Bitcoin transaction that 100 units of a new asset were issued and are now credited to a given [[Address|bitcoin address]]. A ''colored coins wallet'' can create a Bitcoin transaction that encodes sending 50 units of an asset from one address to a new address, and so on.&lt;br /&gt;
&lt;br /&gt;
==Colored Coins Crypto Review==&lt;br /&gt;
Real world '''Value''' is attached to those units (or &amp;quot;digital tokens&amp;quot;) by the asset issuer's promise to '''redeem''' them for some goods or services. For example, a 100 seat movie theater can issue 100 units of a &amp;quot;watch movie X at time Y&amp;quot; asset and promise to redeem each unit for a right to enter a certain screening of a movie&amp;lt;ref&amp;gt;[https://github.com/Colored-Coins GitHub Colored Coins repository]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The advantage of using Bitcoin's blockchain as the backbone leverages Bitcoin's strengths, such as immutability, non-counterfeitability, ease of transfer, robustness and transparency thus allowing asset manipulation with unprecedented security and ease.&lt;br /&gt;
&lt;br /&gt;
In principle one can represent asset manipulation data on other blockchains (e.g. [https://litecoin.org Litecoin]). The term &amp;quot;Colored Coins&amp;quot; is usually associated with implementations that &lt;br /&gt;
* Use the '''Bitcoin''' blockchain (as opposed to e.g. [http://nxt.org/ NXT]) &lt;br /&gt;
* Do not issue an auxiliary coin (e.g. [https://en.wikipedia.org/wiki/Mastercoin Mastercoin's MSC] or [http://counterparty.io/ counterpary's XCP])&lt;br /&gt;
&lt;br /&gt;
Note that the term ''Colored Coins'' stuck from older implementations such as the [https://github.com/chromaway/ngcccbase/wiki/EPOBC_simple EPOBC] protocol where an asset was actually associated with [[Satoshi_(unit)|satoshis]] (thus &amp;quot;coloring&amp;quot; them). Other implementations use [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Coloring%20Scheme other] ways to encode assets on the blockchain, mostly using the [http://bitcoin.stackexchange.com/questions/29554/explanation-of-what-an-op-return-transaction-looks-like OP_RETURN] scripting code, so it is [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Faq#coloring-satoshis no longer the only case] that individual satoshis are &amp;quot;colored&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Colored Coins White Paper===&lt;br /&gt;
The white paper of the project is available in Google Docs. The Colored Coins Whitepaper describes the original concept of Colored Coins: [https://docs.google.com/document/d/1AnkP_cVZTCMLIzw4DvsW6M8Q2JC0lIzrTLuoWu2z1BE/edit#heading=h.wxrvzqj8997r White Paper]&lt;br /&gt;
&lt;br /&gt;
==Use Cases of Colored Coins and Bitcoin==&lt;br /&gt;
{{#ev:youtube|889JSfIaPzs|500|right|Bitcoin Cash Colored Coins - Simply Explained}}&lt;br /&gt;
There are many interesting applications to colored coin.&lt;br /&gt;
&lt;br /&gt;
===Issuing shares===&lt;br /&gt;
A company can issue shares using colored coins, taking advantage of the Bitcoin infrastructure for activities such as&lt;br /&gt;
* Trading&lt;br /&gt;
* Voting&lt;br /&gt;
* Paying dividends &lt;br /&gt;
&lt;br /&gt;
===Smart property===&lt;br /&gt;
Suppose there is a car rental company. The company can release one colored [[coin]] to represent each car, and then configure the car to turn on only if it receives a message signed with the private key that currently owns the colored coin. It can then release a smartphone app that anyone can use to broadcast a message signed with their private key, and put up the colored coins on a trading platform. Anyone will be able to then purchase a colored coin, use the car for whatever period of time using the smartphone app as a &amp;quot;car key&amp;quot;, and sell the coin again at their leisure&amp;lt;ref&amp;gt;http://coloredcoins.org Coloredcoins.org - Framework for &lt;br /&gt;
digital currencies&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Coupon===&lt;br /&gt;
A company may wish to issue coupons, such as Air Miles rewards points&lt;br /&gt;
&lt;br /&gt;
===Community Money===&lt;br /&gt;
A community. e.g. a town, can issue it's own Currency.&lt;br /&gt;
&lt;br /&gt;
===Digital collectibles===&lt;br /&gt;
Decentralized management of digital assets. Just like art collectors buy and sell original copies of famous paintings for millions of dollars today, colored coins allow us to do the same with purely digital objects, such as songs, movies, e-books and [[software]], as well, by storing the current ownership of the work as a colored coin on the blockchain.&lt;br /&gt;
&lt;br /&gt;
===Access and Subscription===&lt;br /&gt;
Using colored coins to trade and manage access and subscription services. For example, a museum, a subway or an online service like Netflix may issue passes as colored coins and release a smartphone app that can be used to make a signature proving ownership of a pass in person, allowing these passes to be simultaneously transferable, fully digital and securely uncopyable&amp;lt;ref&amp;gt;[https://www.coinprism.com Coinprism - The first colored coin wallet has arrived]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Bitcoin 2.0 ==&lt;br /&gt;
Colored Coins as the using the power of Bitcoin Blockchain technology for new use-cases other than currency:&lt;br /&gt;
* The next generation of bitcoin developments&lt;br /&gt;
* Utilizing the power of Bitcoin Blockchain for new use-cases other than currency and extending its flexibility&lt;br /&gt;
* Wider range of digital transactions&lt;br /&gt;
* A complete multi asset economy&lt;br /&gt;
&lt;br /&gt;
==Colored Coins Wallet==&lt;br /&gt;
Coloured Coin Wallets would need to keep track of where the coloured Bitcoins have moved to. Colored Coins wallet would be particularly useful for say a company issuing shares. The owner of the share could remain [[Anonymity|anonymous]] and the need for custodians would be removed – so reducing costs whilst throwing up issues of suitability of investment and regulatory oversight. However a Company could pay dividends in this manner by tracking the addresses and percentages of the total number of coloured shares that a particular address holds.&lt;br /&gt;
&lt;br /&gt;
==Open Assets Block Explorer==&lt;br /&gt;
[[Coinprism]] offers a colored coin Bitcoin blockchain explorer.&lt;br /&gt;
&lt;br /&gt;
==Colu's ColoredCoins.org Block Explorer==&lt;br /&gt;
[http://coloredcoins.org/ ColoredCoins.org] offers a public [http://coloredcoins.org/#/ search engine] for digital assets, all open source based on the Colu Coloredcoins implementation&lt;br /&gt;
&lt;br /&gt;
==The EPOBC protocol==&lt;br /&gt;
[https://github.com/chromaway/ngcccbase/wiki/EPOBC_simple EPOBC] is the [http://chromaway.com/history/ first Coloredcoins implementation] which was created By [http://www.ChromaWay.com ChromaWay]. EPOBC doesn't use op_return to store metadata on the blockchain&lt;br /&gt;
&lt;br /&gt;
===Types of transactions===&lt;br /&gt;
EPOBC introduces two types of transactions:&lt;br /&gt;
* genesis transactions create new colored coins (of a new color); they are used for issuance;&lt;br /&gt;
* transfer transactions transfers existing colored coins;&lt;br /&gt;
&lt;br /&gt;
If colored coins are used as inputs in a transaction which isn't a transfer transaction, their value is lost, it is not transferred to outputs of this or other transaction. Also the value of colored coins might be lost in a malformed transaction.&lt;br /&gt;
&lt;br /&gt;
===Transaction tags===&lt;br /&gt;
EPOBC-encoded colored coin transactions are marked in a special way to distinguish them from normal Bitcoin transactions. This is done by putting a certain tag value into a nSequence field of transaction's first input. nSequence is always present, but is otherwise unused, which means that this way of marking has zero overhead (unlike OP_RETURN-based which increases the size of the transaction).&lt;br /&gt;
nSequence is a 32-bit integer, and 6 of its least-significant bits encode the tag. Transfer transactions and genesis transactions have different tags:&lt;br /&gt;
* bit sequence 110011 is a tag of a transfer transaction. Its hexadecimal value is 0x33.&lt;br /&gt;
* bit sequence 100101 is a tag of a genesis transaction. Its hexadecimal value is 0x25.&lt;br /&gt;
Code which distinguishes transfer and genesis transaction:&lt;br /&gt;
 # get nSequence of the first input&lt;br /&gt;
 tag_nSequence = transaction.inputs[0].nSequence&lt;br /&gt;
 # extract its lowest 6 bits&lt;br /&gt;
 tag = tag_nSequence &amp;amp; 0x3F&lt;br /&gt;
 if tag == 0x25:&lt;br /&gt;
 transaction_type = 'genesis'&lt;br /&gt;
 elif tag == 0x33:&lt;br /&gt;
 transaction_type = 'transfer'&lt;br /&gt;
 else:&lt;br /&gt;
 transaction_type = 'none'&lt;br /&gt;
Further treatment depends on transaction type. However, both transfer and genesis transactions have padding.&lt;br /&gt;
EPOBC is the first Coloredcoins protocol to have support for thin SPV clients.&lt;br /&gt;
&lt;br /&gt;
===Current projects/companies which are leveraging EPOBC===&lt;br /&gt;
*[http://www.chromawallet.com ChromaWallet] Desktop Coloredcoins wallet&lt;br /&gt;
*[http://www.cuber.ee Cuber] Mobile and Android wallets backed by LHV bank in Estonia&lt;br /&gt;
*[http://lhv.ee LHV] Issued 100 000 EUR worth of cryptographically protected claims against bank into bitcoin blockchain&lt;br /&gt;
*[http://Funderbeam.com Funderbeam] [http://www.ibtimes.co.uk/bitcoin-innovators-launch-syndicated-startup-investment-market-using-coloured-coins-1516854 innovators launch syndicated startup investment market]&lt;br /&gt;
*[https://github.com/chromaway/coloredcoinjs-lib JavaScript open-source Colored Coins library]&lt;br /&gt;
*[https://github.com/chromaway/chromawallet-proto a prototype open-source Coloredcoins webwallet]&lt;br /&gt;
&lt;br /&gt;
==Open Assets==&lt;br /&gt;
[https://github.com/OpenAssets/open-assets-protocol/blob/master/specification.mediawiki Open Assets] is a Colored Coin implementation based on the [[Script#Provably_Unspendable.2FPrunable_Outputs|OP_RETURN]] operator. Metadata is linked from the Blockchain and stored on the web&amp;lt;ref&amp;gt;[https://www.cryptocompare.com/coins/guides/what-are-coloured-coins-and-meta-coins/ What are Coloured Coins and Meta Coins?]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Example of an Open Assets OP_RETURN marker output===&lt;br /&gt;
This example illustrates how a marker output is decoded. Assuming the marker output is output 1:&lt;br /&gt;
&lt;br /&gt;
 Data in the marker output  Description&lt;br /&gt;
 ----------------------------- -------------------------------------------------------------------&lt;br /&gt;
 0x6a       The OP_RETURN opcode.&lt;br /&gt;
 0x10       The marker output is 16 bytes long.&lt;br /&gt;
 0x4f 0x41      The Open Assets Protocol tag.&lt;br /&gt;
 0x01 0x00      Version 1 of the protocol.&lt;br /&gt;
 0x03       There are 3 items in the asset quantity list.&lt;br /&gt;
 0xac 0x02 0x00 0xe5 0x8e 0x26 The asset quantity list:&lt;br /&gt;
         - '0xac 0x02' means output 0 has an asset quantity of 300.&lt;br /&gt;
         - Output 1 is skipped and has an asset quantity of 0&lt;br /&gt;
          because it is the marker output.&lt;br /&gt;
         - '0x00' means output 2 has an asset quantity of 0.&lt;br /&gt;
         - '0xe5 0x8e 0x26' means output 3 has an asset quantity of 624,485.&lt;br /&gt;
         - Outputs after output 3 (if any) have an asset quantity of 0.&lt;br /&gt;
 0x04       The metadata is 4 bytes long.&lt;br /&gt;
 0x12 0x34 0x56 0x78   Some arbitrary metadata.&lt;br /&gt;
&lt;br /&gt;
===Current projects leveraging Open Assets===&lt;br /&gt;
* [https://www.coinprism.com Coinprism colored coins web wallet]&lt;br /&gt;
* [https://play.google.com/store/apps/details?id=com.coinprism.wallet Coinprism] colored coins Android app&lt;br /&gt;
* [https://github.com/OpenAssets/openassets Reference implementation] on GitHub&lt;br /&gt;
* [https://github.com/OpenAssets/colorcore Colorcore]: Open source wallet for Open Assets&lt;br /&gt;
* [[Coinprism.info]] colored coins blockchain explorer&lt;br /&gt;
* [https://www.coinprism.info/assets Coinprism Assets directory]&lt;br /&gt;
* [https://github.com/OpenAssets/openassets openassets Python library]&lt;br /&gt;
* [https://github.com/NicolasDorier/NBitcoin .NET Bitcoin library NBitcoin]&lt;br /&gt;
&lt;br /&gt;
==CoinSpark==&lt;br /&gt;
[http://coinspark.org/ CoinSpark] is a Colored Coin implementation that uses a lightweight (SPV) desktop wallet for Windows, Mac or Linux. In CoinSpark, contracts are hosted on the issuer's website and notarized on the blockchain. Like Open Assets, it uses [[Script#Provably_Unspendable.2FPrunable_Outputs|OP_RETURNs]] to store metadata, with a highly efficient encoding scheme that allows multiple transfers of different assets to be encoded in a single transaction. CoinSpark [http://coinspark.org/developers/source-libraries/ software libraries] are available for C/C++, Java, Javascript, PHP and Python, and there's a detailed [http://coinspark.org/developers/ developers guide] with examples.&lt;br /&gt;
&lt;br /&gt;
==Colu Colored Coins Implementation==&lt;br /&gt;
A new Colored Coins implementation was developed by [[Colu]] and fully open sourced on June 2015. The new implementation is based on attaching data to transactions using the OP_RETURN field. Colu's [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Coloring-Scheme/ coloring scheme] uses high data compression, can associate unlimited amounts of metadata with bitcoin transactions through the use of publicly available torrent files and supports smart contract functionalities. &lt;br /&gt;
&lt;br /&gt;
===Main Features===&lt;br /&gt;
&lt;br /&gt;
====Smarts Contracts capabilities====&lt;br /&gt;
A [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Rules/ Rule Engine] for issuing digital assets with various capabilities: expiration dates, restricted access, additional fees (supporting [https://en.wikipedia.org/wiki/Affiliate_marketing affiliate marketing]), limitations on further issuance, etc. &lt;br /&gt;
&lt;br /&gt;
====Using Torrents for Metadata storage====&lt;br /&gt;
[https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Metadata/ Metadata] is stored in publicly available [https://en.wikipedia.org/wiki/BitTorrent torrent files], only a reference is stored directly on the blockchain. This allows for&lt;br /&gt;
* '''Maximal Decentralization''' &lt;br /&gt;
* '''Unlimited Size''' - Since metadata is not stored directly on the blockchain it's size is unlimited and can contain information like: track record, history, description, validity or any information the issuer finds relevant. &lt;br /&gt;
&lt;br /&gt;
====Flexible metadata handling====&lt;br /&gt;
Adding [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits#metadata-on-every-colored-transaction metadata] on every transaction, supporting the addition of relevant metadata that was not yet available during issuance (e.g. mentioning a specific seat number on a movie theater token). &lt;br /&gt;
&lt;br /&gt;
====Coherent Issuance Policy====&lt;br /&gt;
Enforcing a coherent issuance policy by supporting two types of assets, [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits/ locked and unlocked]. &lt;br /&gt;
* [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits#locked-assets Locked Assets] - A fixed amount is defined during issuance. No one can issue more units of the asset, not even the issuer.&lt;br /&gt;
* [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits#unlocked-assets Unlocked Assets] - The issuer can keep issuing more units.&lt;br /&gt;
&lt;br /&gt;
====Support for thin (SPV) wallets==== &lt;br /&gt;
The new colu implementation supports [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits#support-for-thin-wallets SPV clients] - nodes that can ***verify colored transactions*** without running a [https://bitcoin.org/en/full-node#what-is-a-full-node full Bitcoin node].&lt;br /&gt;
&lt;br /&gt;
====Efficiency and Low Cost====&lt;br /&gt;
* ''Data compression'' - high level of data compression using a [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Number%20Encoding precision encoding scheme] for encoding asset issuance and transfer amounts.&lt;br /&gt;
* Sending [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Coloring-Scheme#issuance-transaction-encoding/ Multiple Assets in Single Transaction] &lt;br /&gt;
* '''Minimal Blockchain Bloat'''&lt;br /&gt;
&lt;br /&gt;
====Support for Zero Confirmations====&lt;br /&gt;
The new architecture supports asset [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/wiki/Benefits#support-for-zero-confirmation-transactions issuance and transfer in zero confirmations] (even within the same transaction) - the Asset ID references only the first UTXO in the transaction and makes no reference to a block.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Altcoins]]&lt;br /&gt;
* [[BlackCoin]]&lt;br /&gt;
* [[Carbon Wallet]]&lt;br /&gt;
* [[Blockchain]]&lt;br /&gt;
* [[Mining]]&lt;br /&gt;
* [[Cold storage]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://colu.co Colu] &lt;br /&gt;
* [https://docs.google.com/presentation/d/1geJOeTkIvrIsZMBemJl-Iw5eYalG4w0ftIxsEVRp6lc/edit#slide=id.g90c567147_0_23 A presentation about Colored Coins] &lt;br /&gt;
* [http://coloredcoins.org Colu's ColoredCoins.org]&lt;br /&gt;
* [http://coloredcoins.org/explorer Colu's ColoredCoins Block Explorer]&lt;br /&gt;
* [http://coloredcoins.org/documentation Colu's ColoredCoins API]&lt;br /&gt;
* [https://github.com/Colored-Coins/Colored-Coins-Protocol-Specification/ Colu's ColoredCoins Protocol Specification]&lt;br /&gt;
* [https://github.com/Colored-Coins/ Colu's Implementation open source code] &lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Cryptocurrency]]&lt;br /&gt;
[[Category:Blockchain]]&lt;br /&gt;
[[Category:Bitcoin]]&lt;/div&gt;</summary>
		<author><name>foo&gt;Artillar</name></author>
		
	</entry>
</feed>