Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cryptocurrency

Wei Lu
June 05, 2014

 Cryptocurrency

On Bitcoin basics from a technical point of view + alternative cryptocurrency networks.
Presented at Tech Talk Lunch Thursday, Neo Singapore

Wei Lu

June 05, 2014
Tweet

More Decks by Wei Lu

Other Decks in Technology

Transcript

  1. • How does it work? • How much is it?

    • Is it a currency? • What does it mean?
  2. A -50, B +50 A -50, A’ +50 Evil designed

    by Austin Condiff from the Noun Projec
  3. A -50, B +50 B -12, C +12 B -27,

    D +27 D -19, A +19 A -33, C +33 Stamp designed by Rohith M S from the Noun Project
  4. A -50, B +50 B -12, C +12 B -27,

    D +27 D -19, A +19 A -33, C +33 A -50, B +50 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  5. A -50, B +50 B -12, C +12 B -27,

    D +27 D -19, A +19 A -33, C +33 A -50, B +50 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 A -50, B +50 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 A -50, B +50 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 A -50, B +50 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  6. Proof of work bundle_hash = ! SHA256(SHA256(prev_bundle_hash + records +

    nonce))! ! find nonce s.t. bundle_hash starts with n 0s
  7. proof of work B -12, C +12 B -27, D

    +27 D -19, A +19 A -33, C +33 proof of work B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  8. proof of work P +50 B -27, D +27 D

    -19, A +19 A -33, C +33 proof of work P +50 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  9. proof of work P +50 A -50, B +50 D

    -19, A +19 A -33, C +33 proof of work P +50 A -50, A’ +50 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  10. proof of work P +50 A -50, A’ +50 D

    -19, A +19 A -33, C +33 proof of work P +50 A -50, B +50 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33
  11. proof of work P +50 A -50, B’ +50 D

    -19, A +19 A -33, C +33 proof of work P +50 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 proof of work P +50 A -50, A’ +50 D -19, A +19 A -33, C +33 proof of work P +50 B -27, D +27 D -19, A +19 A -33, C +33
  12. (relay) node miner proof of work P +50 B -27,

    D +27 D -19, A +19 A -33, C +33 proof of work P +50 B -27, D +27 D -19, A +19 A -33, C +33 B -12, C +12 B -27, D +27 D -19, A +19 A -33, C +33 A -50, B +50 transaction blockchain block block block
  13. input output input output input output previous tx output scriptSig

    amount scriptPubKey destination address how it can be spent
  14. litecoin • proof-of-work algo: scrypt (serialized, memory hard problem) •

    faster tx confirmation & more blocks in blockchain • has its own blockchain
  15. dogecoin • “the fun cryptocurrency” • inflationary coins: infinite supply

    • proof-of-work algo: scrypt • has its own blockchain
  16. colored coins • create currency by assigning “colors" to unspent

    transaction outputs • smart property • uses bitcoin blockchain & script (OP_RETURN)
  17. Issues with protocols on top of Bitcoin • scalability: unable

    to utilize Simplified Payment Verification • limited scripting power
  18. ethereum • has its own blockchain • contracts are first-class

    citizens • turing complete script • still in development • cryptocurrency 2.0?
  19. References • http://en.wikipedia.org/wiki/Rai_stones • https://en.bitcoin.it/wiki/Hashcash • https://en.bitcoin.it/wiki/Block_hashing_algorithm • https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-White-Paper •

    http://bitcoin.stackexchange.com/questions/10165/what-motivates-nodes-or- miners-to-relay-transactions • https://wiki.namecoin.info/index.php?title=Domain_Name_Specification • http://www.coindesk.com/information/comparing-litecoin-bitcoin/ • https://docs.google.com/document/d/ 1AnkP_cVZTCMLIzw4DvsW6M8Q2JC0lIzrTLuoWu2z1BE/edit