SlideShare a Scribd company logo
Introduction to
Cryptographic Currencies
Li Haidong
Leave while you can!
• I will NOT talk about:
– Politics
– Economics
– …
• Coming up next:
– Algorithms
– Cryptography
– …
Li Haidong Singapore
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
bounty resources Armenia ltd
crypto currency
The 1990s
David Chaum and anonymous ecash
“The difference between
a bad electronic cash system
and well-developed digital cash
will determine whether
we will have a dictatorship
or a real democracy”
(attributed to Chaum)
bounty investment holdings ltd
Anonymous payments
”withdraw”
”withdraw”
M or L?
bounty resources
Chaum’s anonymous e-cash
anonymous
secure (no double-spending)
only transfer (no creation/storage)
…and bankrupted in 1999
bounty resources Armenia
The advent of Bitcoin
• 2009: Bitcoin announced by Satoshi Nakamoto
– Pseudonym for person or group of person
• 2009-2011: slow start…
• 2011-2013: Silk Road and Dread Pirate Roberts
• End 2013: Bitcoin price skyrockets
– and the world notices!
Li Haidong
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
Li Haidong Singapore
TheoryCoin:
How to create money
1. Everyone
tries to solve a puzzle
2. The first one to solve
the puzzle gets 1 TC
3. The solution of puzzle i
defines puzzle i+1
Li Haidong
TheoryCoin:
How to create money
H
L ∈ {0,1}* R ∈ {0,1}*
T ∈ {0,1}d
SolvePuzzle(L){
repeat{
R = my_name || i++
T = H(L,R)
}while(T ≠ 0d)
return R
}
The puzzle:
given L, find R
such that T=0d
(a random function)
* aka Proof-of-Work
TheoryCoin: (coins to ppl)
How to create money
H
x0 = Start! x1 =(P1, i1)
000…000
x2=(P2, i1)
H
000…000
x3=(P3, i3)
H
000…000
P3
P1
P2
x1
x1
x2 x2
x3
x3
* aka the blockchain
x7=(P3, i7)x6=(P3, i6)
x5=(P5, i5)
x0=Start! x1=(P1, i1) x2=(P2, i2)
x3=(P3, i3)
x4=(P4, i4)
TheoryCoin:
How to create money
* aka the 51% attack
TheoryCoin:
How to create money
Recap:
Solve the next puzzle  get a coin
– To “solve” puzzle i find xi s.t H(xi-1,xi)=0d
– The longest chain defines “next puzzle”
– The name in block xi “gets” coin i.
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
TheoryCoin:
How to transfer money
(Digital) Signatures
– Only you can sign
– Everyone can verify
– You cannot deny
Give coin 3 to Jesper
Claudio
TheoryCoin:
How to transfer money
Gen
Sign Verify
message message, signature accept/reject
secret key public key
“Your username”“Your pin code”
P3 P1
m=“P3 gives coin 3 to P1”
s=Sig(sk3,m)
If
Ver(pk3,m,s) = accept
and
P3 owns coin 3
then
return accept
TheoryCoin:
How to transfer money
P3
P1
P2
accept
accept
TheoryCoin:
How to transfer money
m1=“P3 gives coin 3 to P1”
s1=Sig(sk3,m1)
m2=“P3 gives coin 3 to P2”
s2=Sig(sk3,m2)
* aka double spending
P3
P1
TheoryCoin:
How to transfer money
...
(m1,s1)
...
(m2,s2)
...
(m4,s4)
m1 = “P3 gives coin 3 to P1”
s1 = Sig(sk3,m1)
m2 = “P3 gives coin 3 to P2”
s2 = Sig(sk3,m2)
write
(m1,s1)
write
(m2,s2)
read
(m1,s1)
P2
read
(m2,s2)
accept
reject
P4
m4 = “P1 gives coin 3 to P4”
s4 = Sig(sk1,m4)
write
(m4,s4)
read
(m4,s4)
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
TheoryCoin:
How to store money
Main Idea:
Record transfers in the blockchain
x4=(P4, (m,s), i4)
P1
TheoryCoin:
How to store money
P3
P2 P4
(m,s)
(m,s)
(m,s)
SolvePuzzle(L,...){
repeat{
R = my_name||(m,s)|| i++
T = H(L,R)
}while(T ≠ 0d)
return R
}
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
diff( , )
How is money created in Bitcoin?
• New block every ~10 mins
– d adjusted every ~2000 blocks
• H = 2-SHA2
• Initial reward: 50 BTC
– Halved every ~4 years (now 25 BTC)
diff( , )
How is money transferred in Bitcoin?
P1 gives 14 to P1
Transaction fee 1
Example: P1 wants to give 60 to P2
... gives 50 to P1
… gives 25 to P1
P1 gives 60 to P2
diff( , )
How is money stored in Bitcoin?
• Transaction in orphaned blocks are invalid
– Wait 6 blocks (~1 hour) before accepting transaction.
– Checkpoints to prevent complete history rollback.
• All transaction are stored in the blockchain
– (Currently ~14 GB)
Outline
• Part 0: a little history
• Part 1: TheoryCoin
– How to create coins
– How to transfer coins
– How to store coins
• Part 2: diff( , )
• Part 3: Problems and issues
Anonymity?
• Problem:
– Every transaction ever made is recorded forever
• Solution?
– Use new identity for each transaction
• But:
– Heuristics allow to cluster identities
• Anonymous alternatives:
– Zerocoin, Zerocash…
Users?
(and their devices)
• Unfortunate property of DSA
• This address
1HKywxiL4JziqXrzLKhmB6a74ma6kxbSDj
probably stole ~250000kr this way
(due to bug in Android Java based random generator)
Extractor
Sig(sk,m1,r)
Sig(sk,m2,r)
sk
Programmable money?
“Bitcoin uses a scripting system for transactions. Forth-like,
Script is simple, stack-based, and processed from left to right. It
is purposefully not Turing-complete, with no loops.”
E.g., “P1 gives 1 BTC to P2 if at least
2 out of (P1,P2,P3) sign this transaction”
Functionality: more than money?
Security: malware payments?
Mining pools
• Solving puzzles (mining) is hard!
– Miners join pools and share work/reward
• How to optimally split work?
• Mechanism design?
– rational miner?
– how to allocate reward?
Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore

More Related Content

Similar to Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore

The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
Davide Carboni
 
Cryptocurrencies 101 v5 public
Cryptocurrencies 101 v5 publicCryptocurrencies 101 v5 public
Cryptocurrencies 101 v5 public
Brett Colbert
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrencies
Sergey Ivliev
 
Introducing blockchain
Introducing blockchainIntroducing blockchain
Introducing blockchain
Lon Barfield
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
QuasarVentures
 
Bitcoin: money of the future
Bitcoin: money of the futureBitcoin: money of the future
Bitcoin: money of the future
Sergei Tikhomirov
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
JESUNPK
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptx
FaiZiTricks
 
Bitcoins, blockchains and beyond
Bitcoins, blockchains and beyondBitcoins, blockchains and beyond
Bitcoins, blockchains and beyond
jhaand
 
Cryptocurrencies 101 v3
Cryptocurrencies 101 v3Cryptocurrencies 101 v3
Cryptocurrencies 101 v3
Brett Colbert
 
Cryptocurrencies 101
Cryptocurrencies 101Cryptocurrencies 101
Cryptocurrencies 101
Brett Colbert
 
Bitcoin - An Introduction
Bitcoin - An IntroductionBitcoin - An Introduction
Bitcoin - An Introduction
Dawie Poolman
 
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Infrastructure Facility
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
David Evans
 
Blockchain and Formal verification (English)
Blockchain and Formal verification (English)Blockchain and Formal verification (English)
Blockchain and Formal verification (English)
Jun Furuse
 
BlockChain_and _cryptocurrency_technology (1).ppt
BlockChain_and _cryptocurrency_technology (1).pptBlockChain_and _cryptocurrency_technology (1).ppt
BlockChain_and _cryptocurrency_technology (1).ppt
FaiZiTricks
 
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet TransactionsAn Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
Case IQ
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
vpnmentor
 
Cryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious IntroductionCryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious Introduction
Drake Emko
 
Intro to Bitcoin
Intro to BitcoinIntro to Bitcoin
Intro to Bitcoin
Ron Gross
 

Similar to Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore (20)

The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
 
Cryptocurrencies 101 v5 public
Cryptocurrencies 101 v5 publicCryptocurrencies 101 v5 public
Cryptocurrencies 101 v5 public
 
Introduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrenciesIntroduction into blockchains and cryptocurrencies
Introduction into blockchains and cryptocurrencies
 
Introducing blockchain
Introducing blockchainIntroducing blockchain
Introducing blockchain
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
 
Bitcoin: money of the future
Bitcoin: money of the futureBitcoin: money of the future
Bitcoin: money of the future
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptx
 
Bitcoins, blockchains and beyond
Bitcoins, blockchains and beyondBitcoins, blockchains and beyond
Bitcoins, blockchains and beyond
 
Cryptocurrencies 101 v3
Cryptocurrencies 101 v3Cryptocurrencies 101 v3
Cryptocurrencies 101 v3
 
Cryptocurrencies 101
Cryptocurrencies 101Cryptocurrencies 101
Cryptocurrencies 101
 
Bitcoin - An Introduction
Bitcoin - An IntroductionBitcoin - An Introduction
Bitcoin - An Introduction
 
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
 
Blockchain and Formal verification (English)
Blockchain and Formal verification (English)Blockchain and Formal verification (English)
Blockchain and Formal verification (English)
 
BlockChain_and _cryptocurrency_technology (1).ppt
BlockChain_and _cryptocurrency_technology (1).pptBlockChain_and _cryptocurrency_technology (1).ppt
BlockChain_and _cryptocurrency_technology (1).ppt
 
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet TransactionsAn Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
 
Cryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious IntroductionCryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious Introduction
 
Intro to Bitcoin
Intro to BitcoinIntro to Bitcoin
Intro to Bitcoin
 

More from Li Haidong

Bounty Resources Armenia, Li Haidong Singapore, Li Haidong
Bounty Resources Armenia, Li Haidong Singapore, Li HaidongBounty Resources Armenia, Li Haidong Singapore, Li Haidong
Bounty Resources Armenia, Li Haidong Singapore, Li Haidong
Li Haidong
 
Bounty Resources Armenia, Li Haidong, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong, Li Haidong SingaporeBounty Resources Armenia, Li Haidong, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong, Li Haidong Singapore
Li Haidong
 
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong SingaporeLi Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong
 
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd	Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
Li Haidong
 
Li Haidong Singapore, Bounty Resources
Li Haidong Singapore, Bounty ResourcesLi Haidong Singapore, Bounty Resources
Li Haidong Singapore, Bounty Resources
Li Haidong
 
Li Haidong Singapore, Bounty Resources Armenia Ltd
Li Haidong Singapore, Bounty Resources Armenia LtdLi Haidong Singapore, Bounty Resources Armenia Ltd
Li Haidong Singapore, Bounty Resources Armenia Ltd
Li Haidong
 
Bounty Resources Armenia, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong SingaporeBounty Resources Armenia, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong Singapore
Li Haidong
 
Bounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong SingaporeBounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong Singapore
Li Haidong
 
Bounty Resources Armenia Ltd and Li Haidong Singapore
Bounty Resources Armenia Ltd and Li Haidong SingaporeBounty Resources Armenia Ltd and Li Haidong Singapore
Bounty Resources Armenia Ltd and Li Haidong Singapore
Li Haidong
 
Looking For Bounty Investment Holdings Ltd by Li Haidong
Looking For Bounty Investment Holdings Ltd by Li HaidongLooking For Bounty Investment Holdings Ltd by Li Haidong
Looking For Bounty Investment Holdings Ltd by Li Haidong
Li Haidong
 
Know More about Bounty Resources by Li Haidong Singapore
Know More about Bounty Resources by Li Haidong SingaporeKnow More about Bounty Resources by Li Haidong Singapore
Know More about Bounty Resources by Li Haidong Singapore
Li Haidong
 
Bounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong SingaporeBounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong Singapore
Li Haidong
 
Bounty Resource by Li Haidong Singapore
Bounty Resource by Li Haidong SingaporeBounty Resource by Li Haidong Singapore
Bounty Resource by Li Haidong Singapore
Li Haidong
 

More from Li Haidong (13)

Bounty Resources Armenia, Li Haidong Singapore, Li Haidong
Bounty Resources Armenia, Li Haidong Singapore, Li HaidongBounty Resources Armenia, Li Haidong Singapore, Li Haidong
Bounty Resources Armenia, Li Haidong Singapore, Li Haidong
 
Bounty Resources Armenia, Li Haidong, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong, Li Haidong SingaporeBounty Resources Armenia, Li Haidong, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong, Li Haidong Singapore
 
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong SingaporeLi Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
 
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd	Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
Li Haidong Singapore, Li Haidong, Bounty Investment Holdings Ltd
 
Li Haidong Singapore, Bounty Resources
Li Haidong Singapore, Bounty ResourcesLi Haidong Singapore, Bounty Resources
Li Haidong Singapore, Bounty Resources
 
Li Haidong Singapore, Bounty Resources Armenia Ltd
Li Haidong Singapore, Bounty Resources Armenia LtdLi Haidong Singapore, Bounty Resources Armenia Ltd
Li Haidong Singapore, Bounty Resources Armenia Ltd
 
Bounty Resources Armenia, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong SingaporeBounty Resources Armenia, Li Haidong Singapore
Bounty Resources Armenia, Li Haidong Singapore
 
Bounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong SingaporeBounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong Singapore
 
Bounty Resources Armenia Ltd and Li Haidong Singapore
Bounty Resources Armenia Ltd and Li Haidong SingaporeBounty Resources Armenia Ltd and Li Haidong Singapore
Bounty Resources Armenia Ltd and Li Haidong Singapore
 
Looking For Bounty Investment Holdings Ltd by Li Haidong
Looking For Bounty Investment Holdings Ltd by Li HaidongLooking For Bounty Investment Holdings Ltd by Li Haidong
Looking For Bounty Investment Holdings Ltd by Li Haidong
 
Know More about Bounty Resources by Li Haidong Singapore
Know More about Bounty Resources by Li Haidong SingaporeKnow More about Bounty Resources by Li Haidong Singapore
Know More about Bounty Resources by Li Haidong Singapore
 
Bounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong SingaporeBounty Resources Armenia Ltd by Li Haidong Singapore
Bounty Resources Armenia Ltd by Li Haidong Singapore
 
Bounty Resource by Li Haidong Singapore
Bounty Resource by Li Haidong SingaporeBounty Resource by Li Haidong Singapore
Bounty Resource by Li Haidong Singapore
 

Recently uploaded

Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
get joys
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
Sabrina Ricci
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
Mark Murphy Director
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
Isaac More
 
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdfCreate a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Genny Knight
 
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
Rodney Thomas Jr
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Blog Eternal
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
greendigital
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
9u08k0x
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
madeline604788
 
Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __
catcabrera
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
Indira Srivatsa
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
greendigital
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
Zsolt Nemeth
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Hidden Treasure Hunts
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
Mark Murphy Director
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
Madhura TBRC
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
Isaac More
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
Aarush Ghate
 
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdfMatt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Azura Everhart
 

Recently uploaded (20)

Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
 
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdfCreate a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
 
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
 
Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __Snoopy boards the big bow wow musical __
Snoopy boards the big bow wow musical __
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
 
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdfMatt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
Matt Rife Cancels Shows Due to Health Concerns, Reschedules Tour Dates.pdf
 

Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore

  • 2. Leave while you can! • I will NOT talk about: – Politics – Economics – … • Coming up next: – Algorithms – Cryptography – … Li Haidong Singapore
  • 3. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues bounty resources Armenia ltd
  • 5. The 1990s David Chaum and anonymous ecash “The difference between a bad electronic cash system and well-developed digital cash will determine whether we will have a dictatorship or a real democracy” (attributed to Chaum) bounty investment holdings ltd
  • 7. Chaum’s anonymous e-cash anonymous secure (no double-spending) only transfer (no creation/storage) …and bankrupted in 1999 bounty resources Armenia
  • 8. The advent of Bitcoin • 2009: Bitcoin announced by Satoshi Nakamoto – Pseudonym for person or group of person • 2009-2011: slow start… • 2011-2013: Silk Road and Dread Pirate Roberts • End 2013: Bitcoin price skyrockets – and the world notices! Li Haidong
  • 9. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues Li Haidong Singapore
  • 10. TheoryCoin: How to create money 1. Everyone tries to solve a puzzle 2. The first one to solve the puzzle gets 1 TC 3. The solution of puzzle i defines puzzle i+1 Li Haidong
  • 11. TheoryCoin: How to create money H L ∈ {0,1}* R ∈ {0,1}* T ∈ {0,1}d SolvePuzzle(L){ repeat{ R = my_name || i++ T = H(L,R) }while(T ≠ 0d) return R } The puzzle: given L, find R such that T=0d (a random function) * aka Proof-of-Work
  • 12. TheoryCoin: (coins to ppl) How to create money H x0 = Start! x1 =(P1, i1) 000…000 x2=(P2, i1) H 000…000 x3=(P3, i3) H 000…000 P3 P1 P2 x1 x1 x2 x2 x3 x3 * aka the blockchain
  • 13. x7=(P3, i7)x6=(P3, i6) x5=(P5, i5) x0=Start! x1=(P1, i1) x2=(P2, i2) x3=(P3, i3) x4=(P4, i4) TheoryCoin: How to create money * aka the 51% attack
  • 14. TheoryCoin: How to create money Recap: Solve the next puzzle  get a coin – To “solve” puzzle i find xi s.t H(xi-1,xi)=0d – The longest chain defines “next puzzle” – The name in block xi “gets” coin i.
  • 15. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues
  • 16. TheoryCoin: How to transfer money (Digital) Signatures – Only you can sign – Everyone can verify – You cannot deny Give coin 3 to Jesper Claudio
  • 17. TheoryCoin: How to transfer money Gen Sign Verify message message, signature accept/reject secret key public key “Your username”“Your pin code”
  • 18. P3 P1 m=“P3 gives coin 3 to P1” s=Sig(sk3,m) If Ver(pk3,m,s) = accept and P3 owns coin 3 then return accept TheoryCoin: How to transfer money
  • 19. P3 P1 P2 accept accept TheoryCoin: How to transfer money m1=“P3 gives coin 3 to P1” s1=Sig(sk3,m1) m2=“P3 gives coin 3 to P2” s2=Sig(sk3,m2) * aka double spending
  • 20. P3 P1 TheoryCoin: How to transfer money ... (m1,s1) ... (m2,s2) ... (m4,s4) m1 = “P3 gives coin 3 to P1” s1 = Sig(sk3,m1) m2 = “P3 gives coin 3 to P2” s2 = Sig(sk3,m2) write (m1,s1) write (m2,s2) read (m1,s1) P2 read (m2,s2) accept reject P4 m4 = “P1 gives coin 3 to P4” s4 = Sig(sk1,m4) write (m4,s4) read (m4,s4)
  • 21. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues
  • 22. TheoryCoin: How to store money Main Idea: Record transfers in the blockchain
  • 23. x4=(P4, (m,s), i4) P1 TheoryCoin: How to store money P3 P2 P4 (m,s) (m,s) (m,s) SolvePuzzle(L,...){ repeat{ R = my_name||(m,s)|| i++ T = H(L,R) }while(T ≠ 0d) return R }
  • 24. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues
  • 25. diff( , ) How is money created in Bitcoin? • New block every ~10 mins – d adjusted every ~2000 blocks • H = 2-SHA2 • Initial reward: 50 BTC – Halved every ~4 years (now 25 BTC)
  • 26. diff( , ) How is money transferred in Bitcoin? P1 gives 14 to P1 Transaction fee 1 Example: P1 wants to give 60 to P2 ... gives 50 to P1 … gives 25 to P1 P1 gives 60 to P2
  • 27. diff( , ) How is money stored in Bitcoin? • Transaction in orphaned blocks are invalid – Wait 6 blocks (~1 hour) before accepting transaction. – Checkpoints to prevent complete history rollback. • All transaction are stored in the blockchain – (Currently ~14 GB)
  • 28. Outline • Part 0: a little history • Part 1: TheoryCoin – How to create coins – How to transfer coins – How to store coins • Part 2: diff( , ) • Part 3: Problems and issues
  • 29. Anonymity? • Problem: – Every transaction ever made is recorded forever • Solution? – Use new identity for each transaction • But: – Heuristics allow to cluster identities • Anonymous alternatives: – Zerocoin, Zerocash…
  • 30. Users? (and their devices) • Unfortunate property of DSA • This address 1HKywxiL4JziqXrzLKhmB6a74ma6kxbSDj probably stole ~250000kr this way (due to bug in Android Java based random generator) Extractor Sig(sk,m1,r) Sig(sk,m2,r) sk
  • 31. Programmable money? “Bitcoin uses a scripting system for transactions. Forth-like, Script is simple, stack-based, and processed from left to right. It is purposefully not Turing-complete, with no loops.” E.g., “P1 gives 1 BTC to P2 if at least 2 out of (P1,P2,P3) sign this transaction” Functionality: more than money? Security: malware payments?
  • 32. Mining pools • Solving puzzles (mining) is hard! – Miners join pools and share work/reward • How to optimally split work? • Mechanism design? – rational miner? – how to allocate reward?