Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Bitcoin

You're reading from   Learning Bitcoin Embrace the new world of fiance by leveraging the power of crypto-currencies using Bitcoin and the Blockchain

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785287305
Length 236 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Building a voting system with Counterparty


Counterparty is a protocol built on the Bitcoin blockchain that offers some unique features. With the protocol, the developers can create digital assets, transfer the assets, pay distributions, and execute various smart contracts.

Various use cases for these features include:

  • Buying and selling tickets and coupons

  • Secured access control

  • Betting and gaming

  • Proof of publication

  • Crowdfunding

  • Derivatives

  • In-game currencies

  • Voting tokens and auditing

  • Programmable contracts

Counterparty provides easy to use tools for both developers and non-developers to implement these use cases. In our example, we're going to use Counterparty to create a voting system.

The XCP alt-coin

Counterparty is powered by its own native currency called XCP. Using XCPs, you can pay for the issuance of custom digital assets. One can easily purchase or sell XCPs on public markets. XCPs exchanged on the market carry their own exchange rate. At the time of writing, one bitcoin is worth approximately...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image