Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Bitcoin

You're reading from  Learning Bitcoin

Product type Book
Published in Oct 2015
Publisher
ISBN-13 9781785287305
Pages 236 pages
Edition 1st Edition
Languages

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 $15.99/month. Cancel anytime}