4. 4 / 59
History Of Money
● Barter
– Needs double coincidence of wants
● Commodity Money
– Portable & Divisible
● Use of Tokens
– Backed By Deposits Of Gold
– Fiat Money
5. 5 / 59
Uses Of Tokens
● Representative Money
– The value of the token is baked by a commodity,
eg: Gold, Silver
– Was in use until 1971 (Gold Backed Dollar)
● Fiat Money
– The value of the token is based on the
confidence on Issuer, eg: Governments
– National Debt
– Economic Crisis
6. 6 / 59
Cash Payment
● Quite Portable
● No Charge For Transactions
● No Audit
● CASH IS NOT FREE
– Replaced with newly printed ones
– Heavy insurance
– Counterfeiters
7. 7 / 59
Digital Money
● Credit Cards
● Debit Cards
● Stored Value Cards
● Electronic Cash
● Electronic Checks
● etc.
8. 8 / 59
Digital Currencies
● Is Authentic and Not Counterfeit
● Double Spending
27. 27 / 59
Mnemonic Code Words
● Create Random Sequence (128 to 256 Bit)
● Create Checksum (First Few Bits of SHA256)
● Add the Checksum
● Divide The Sequence Into Sections Of 11 Bits
● Produce 12 to 24 Words (mnemonic code)
35. 35 / 59
Transactions
● Creating Transactions – Like a Check
– Submit for execution
– Need Signature
– Online / Offline
● Broadcasting
– About 300~400 Bytes
– Unlike Credit Card, Just Needs Propagation
36. 36 / 59
Transactions
● Peer-To-Peer Network
– Valid transactions sends to three or four peers
– In few seconds every nodes know it
● Prevent Spamming, DoS Attack
– Validate transaction before sending
38. 38 / 59
Locktime
● Defines the earliest time that a transaction can be
added to the blockchain
● Set to ZERO : Immediatly
● NonZero and Below 500 million : Block Height
● Above 500 million : Timestamp
39. 39 / 59
UTXO
● Unspend Transaction Output
● No Account
● No Balances
● Only Unspend Transactions
– I have 5$
– A cup of coffee is 1.5$
– 3.5$ as exchange
47. 47 / 59
Pay to Script Hash
● Any payments need M signature of N
● Cons:
– Five times larger
– More transaction fee
● Solution
– Pay to script matching this hash, a script will be
present later when this output is spent
48. 48 / 59
Pay to Script Hash
● MultiSig With Out P2SH
● MultiSig With P2SH