Bitcoin and Cryptocurrency Technologies
1Qqc4BN
1Qqc4BN
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
you. In particular, you can’t use a thin SPV client like you can for regular <strong>Bitcoin</strong>. That makes it harder<br />
to use colored coins on computationally limited devices like mobile phones.<br />
Uses of colored coins <strong>and</strong> smart property. Stock in a Company.A frequently cited motivation for<br />
smart property is stock in a company. A company wishing to issue colored coins as stock would<br />
publicize its issuing address, <strong>and</strong> bitcoins that are colored with this address function as shares. One<br />
satoshi might represent one share in the company. Shareholders can then trade the stock on the<br />
block chain without needing a centralized intermediary like a stock exchange. Of course, shareholders<br />
will have to trust that the company will honor the shares. For example, the company may promise to<br />
disburse dividends proportionally to each stock or to give shareholders voting power in the company’s<br />
decisions. With traditional shares these promises are enforced legally. As of 2015, colored coins or<br />
other block chain‐based assets don’t have legal recognition in any jurisdiction.<br />
Physical property. Another potential use is that colored coins might represent a claim to some<br />
real‐world property. For example, a colored coin could be associated with a house or a car. Maybe<br />
you have a sophisticated car that actually tracks a specific colored coin on the block chain, <strong>and</strong><br />
automatically starts <strong>and</strong> drives for anybody who owns that colored coin. Then you could sell your car,<br />
or at least transfer control of it, simply by making a single transaction in the block chain. We’ll see in<br />
Chapter 11 how this can potentially be implemented technologically as well as the social <strong>and</strong> legal<br />
obstacles to making it happen. But the dream of colored coins <strong>and</strong> smart property is that any<br />
real‐world property could be represented in the world of <strong>Bitcoin</strong> <strong>and</strong> transferred or traded as easily as<br />
bitcoins themselves.<br />
Domain Names. As a final example, consider using colored coins to perform some of the functions of<br />
the existing Domain Name System: tracking the ownership <strong>and</strong> transfer of internet domain names as<br />
well as the mapping of domain names to IP addresses. The domain name market has a variety of<br />
interesting properties: there are a potentially infinite number of names, these names have widely<br />
different values based on their memorability <strong>and</strong> other factors, <strong>and</strong> the same name might have very<br />
different utility to different people. It is possible to use colored coins to h<strong>and</strong>le domain name<br />
registration <strong>and</strong> the functions we listed. However, supporting this application has also been the focus<br />
of a prominent altcoin called Namecoin, which we’ll look at in detail in the next chapter. Each<br />
approach has benefits: with colored coins you get the security of <strong>Bitcoin</strong>’s block chain whereas with<br />
an altcoin it’s easier to implement the complex logic needed for domain name ownership, transfer,<br />
<strong>and</strong> IP address mapping.<br />
9.3: Secure Multi‐Party Lotteries in <strong>Bitcoin</strong><br />
Now we're going to talk about hosting a “coin flip” game in <strong>Bitcoin</strong>. Again, we'll start off by describing<br />
the offline version of what we're trying to build.<br />
Alice <strong>and</strong> Bob want to bet five dollars. They both agree to the bet ahead of time <strong>and</strong> the method for<br />
determining the winner. Bob will flip a coin in the air, <strong>and</strong> while it’s rotating Alice calls out “Heads” or<br />
247