SlideShare a Scribd company logo
Connecting the Block
Dr Vince Ming
ACADEMY
This lecture is intended for knowledge sharing and educational
purpose only in order to provide a comprehensive overview and
helping people who wants to find out about the blockchain’s
core concept from a general technical standpoint with the
intention to gain the right perception, the basic know-how and
overall perspective on this emerging technology.
Disclaimer
Attributes in Blockchain
● New class of IT – Network of computers (nodes) collaborate
toward maintaining a shared distributed database / ledger.
● Enables “Trust” between parties that may otherwise not trust
each other – The Immutable record
● Autonomous and self organise for efficient de-centralised
coordination and management system.
● Empowering future token economics via p2p collaboration
between any entities, organisations as well as individuals.
Blockchain 1.0 Revalation
For the first time in the human history, a technology that allows any people
(or any things) from everywhere to come together and “trust” each other,
to transact with large p2p networks without a centralised management.
A “trust” system based on the security measures via:
❑ Computer Code (open and secured)
❑ Protocol (sets of rules or agreements, i.e. Consensus Algorithm)
❑ Cryptography (Hashing & Digital Signature)
* De-centralisation + Immutability *
P2P
electronic cash
The world’s first digital currency that can be held by anybody
(or anything) and can be transferred to anybody (or anything)
without needing the permission!
Blockchain 1.0
Cryptography
( security )
Distributed
Network +
© copyright reserved
https://anders.com/blockchain/
Blockchain Before Bitcoin (BBB)
Three basic Inventions before the Bitcoin:
a) Time Stamping (T)
b) Secure Filling Ledger System – (L)
c) Merkle/Hash – (M)
https://cs.nyu.edu/cs/faculty/shasha/papers/mazpodc.pdf
https://www.anf.es/pdf/Haber_Stornetta.pdf
https://people.eecs.berkeley.edu/~raluca/cs261-f15/readings/merkle.pdf
https://lopp.net/pdf/princeton_bitcoin_book.pdf
https://medium.com/blockstreethq/before-blockchain-there-was-distributed-ledger-technology-319d0295f011
(L)
(T)Txn - x
:
(T)Txn - n M M
B CA
© copyright reserved Created by Dr. Vince Ming S
Bitcoin (BTC) and blockchain
Two Inventions of Bitcoin:
d) Immutable way of recording Txns & Blocks
e) Proof of Work (PoW) – encourage stronger Immutability
(T)Txn - x
:
(T)Txn - n
-
(T)Txn - p
:
(T)Txn - f
(T)Txn - y
:
(T)Txn - g
M
#A #B
#A
#C
#B
M
nonce - A nonce - B nonce - C
© copyright reserved Created by Dr. Vince Ming S
From Centralised to Decentralised
Distributed Network
UTXO - TXN creation
Hashing and Digital Signature
The world change from C to D …
Centralised
● Single point of failure / attack
● Censorship applies
● Permissioned system
● Expensive to defend & coordinate
● Non-immutable and private
● Lacks Inter-organisational
collaboration
De-centralised
● Distributed - Duplicated everywhere
● Censorship resistance
● Consensus agreement
● p2p instant direct exchange
● Immutable and transparent
● Autonomous and self-organise
● Vast inter-spaces collaboration
Created by Dr. Vince Ming S
from to owe (£)
:
Alice Bob 20 Alice
Bob Charlie 30
Alice Charlie 10
Bob Alice 50
Charlie Bob 40
Bob
Alice
Alice
Bob
Charlie
signature
Bob Alice 50 Bob
Charlie
Dave
Whiteboard Scenario
Bob
Charlie
Charlie
Alice
Bob
Created by Dr. Vince Ming S
A simple centralised case with a few roommates under the same roof, creating
a simple ledger for monthly settlement of bills and payments, using individual
signature to authorise each transaction and verified by countersigning.
© copyright reserved
from to owe (£)
:
Alice Bob 20
Bob Charlie 30
Alice Charlie 10
Charlie Bob 40
Bob Alice 50
Alic
e
Bo
bAlic
e
Charli
e
10110101101011101011000111010 …
11101110101101010110010110110 …
10001011101011011101010101100…
11001001111011100100011010110 …
11111011110011011011011100101 …
Charlie Alice 100 Charli11111011110011011011011100101 …
signatureDigital signature
Electronic Spreadsheet
Created by Dr. Vince Ming S© copyright reserved
General Cryptography
S PKey-Pair
Encryption
S
X
Sender:
Decryption
Receiver:
P
A X A
No Authorisation No Verification
https://www.youtube.com/watch?v=8I7BNgD2Yag&t=204s
Created by Dr. Vince Ming S
The keys are mathematical related
© copyright reserved
Hashing (SHA256)
SHA-256
6D30F39035DA3535
3BE1485844E27DA3
4CC97CED8C79E82B
AE6E2CE39D0B002B
I am a superhero
https://passwordsgenerator.net/sha256-hash-generator/
• SHA256 = Secure Hash Algorithm - 256 bits fix-length output
• Universal Creation – same output with same input
• One-Way math function – practically irreversible
• Easy to create forward, infeasible to calculate backward
• 2256 combinations = (232 =~4 billions) multiply itself 8 times
• A tamper-proof digital footprint (Pseudonymous or Anonymous)
• standard simplified output representation
Created by Dr. Vince Ming S© copyright reserved
Digital Signature
Private Key
S
Encryption
Sender:
Verifier:
#X
Hashing
Sig
Digital
Signature
Sig+
Send:
Decryption
Public Key
P
Hashing
#B :
Sig #A :
=
Verify for #X:
#A #B Y/N?
Authorisation & Integrity check
(Non-repudiation)
Created by Dr. Vince Ming S© copyright reserved
● Origination – Digital Signature to authorise spending
● Broadcast on network to nearest nodes ( >1 node )
● Validated and Propagated by each & adjacent nodes
● Verified further by Mining, then re-broadcast in block
● Confirmed – by sufficient subsequent blocks (~6)
– Longest chain wins
● Become Permanent – Immutable Record
Transaction flow
Created by Dr. Vince Ming S
Transaction Creation
Encryption
HashingCheque
information
Sig
Digital
Signature
Public Key Hash
Digital Wallet
Public Key
Private Key
Bitcoin Address:
1XPTgDRhN8RFnzniWCddobD9iKZatrvH4
Created by Dr. Vince Ming S
Bitcoin Transaction Creation - UTXO
Input Output
• Pointers to ‘claim’ the
previous UTXO
- TXN no.
- Sequence no.
- Amount (in satoshi)
• Pointers to ‘create’ next UTXO, stating:
- Conditions to be met
- the receiver’s Public Key Hash
- created independently
• Unlocking Script
(ScriptSig)
• Locking Script
(ScriptPubKey)
© copyright reserved Created by Dr. Vince Ming S
10 BTC5 BTC
Alice
Transaction I/O
Joe Bob
Ken
7 BTC
Alice
2 BTC
Input Output
To create new UTXO to Bob (& herself)
– Locking with #PB (& #PA )
To spend (or claim) Alice’s UTXOs
– Unlocking with SigA + PA
#PB
#PA
SigA + PA
SigA + PA
Created by Dr. Vince Ming S© copyright reserved
Transaction I/O
• Input
• claim UTXO
• Output
• create UTXO
UTXO
• Rights of ownership
locked to new
claimer
• multiple satoshi
• must be consumed
entirely
Coinbase
• Only has Output
• 1st Entry placed by
winning miners to
pay themselves
• creating new
bitcoin.
Bitcoin Transaction Creation
Created by Dr. Vince Ming S© copyright reserved
https://btc.com/90ca796b6c686a738171f26ac785d72c5c8fbe72a884b3bddf31056c9b3a7bc9
Alice
Bob
Charlie Dave
Using Digital Signature, everyone can check:
• The authorisation of each TXN
• The authenticity of each TXN
Distributed Network
Using Spreadsheet, everyone can keep track:
• The order and settlement of TXNx
Created by Dr. Vince Ming S
Evolving to a simple distributed network case: transactions
are added and verified remotely in orderly fashion to keep
track of monthly settlement in an open distributed ledger.
© copyright reserved
Distributed Network
Problems:
When the network grows into hundreds of thousands of nodes as a
Large Distributed Network
a)How can any nodes come and go as they wish and still able to
continually synchronise and update their record?
a)How can the nodes come to a global consensus? How do they
agree on the history of the record?
a)How to prevent the network attacks or fraud problem?
(Altering past records, creating false Txn, Double Spending etc)
Created by Dr. Vince Ming S© copyright reserved
• Everyone agrees on only One version of Truth
- “I know that what you see is also what I see”
• All data must be In Sync in near future
- to allow Sufficient Time for ALL Nodes to agree
• Robust verification process via Continuous Chains
- easy to duplicate but extremely hard to cheat
True Consensus
Created by Dr. Vince Ming S
© copyright reserved
© copyright reserved
Incentive… is the key
A reward based system using Game Theory in order
to kick start and encourage more nodes to join and
maintain a secured distributed network …
Created by Dr. Vince Ming S
© copyright reserved
mempool - 1
mempool - 2
mempool - 4
mempool - 3
Distributed Network & Mempool
These validated but “unconfirmed” transactions will be stored in the memory pool of each node
and will be picked subsequently during the “Mining” process to become a “confirmed” transaction.
Created by Dr. Vince Ming S© copyright reserved
Created by Dr. Vince Ming S
© copyright reserved
Creating the Next Block
Mining for the next Block – to get Reward
© copyright reserved
PoW
Proof of Work
What is PoW?
• In blockchain, Proof of Work is a consensus algorithm focuses on solving a rather
difficult Mathematical challenge or puzzle in order to produce a verifiable “ Proof ”.
• (e.g. guessing the combination of the lock ~10 digits).
Proof
0000000000000000
00E6485844E27D13
4C1970ED8179E82B
AE6E2CE39D0B1017
• Extremely difficult to solve. However, once it is solved, it is very easy to verify.
• Extremely high electricity energy – opportunity cost outside the system.
© copyright reserved
Created by Dr. Vince Ming S© copyright reserved
Hashing of the Block
SHA256 ( SHA256 { previous-# , Header + Data , Nonce } ) < Target
0000000000000000008fdc9b73cc3d5abc02368dfa7fcdcb04aac7e7c3385b02
Hashing
Difficulty Asymmetry Properties:
• one-way function
• fixed length output
• same in same out
• extreme randomness
Hash of new Block =
Created by Dr. Vince Ming S
© copyright reserved
© copyright reserved
Block Structure
ex- Blk #
#Blk
Data
Hash of the Block
• # of previous Block
• Version
• Time Stamp
• Difficulty
• Markle Root
• Nonce
Block
Header
Transactions
Created by Dr. Vince Ming S© copyright reserved
TXN
:
Nonce - 2
TXN
:
Nonce - 1
Chain & Block
# 000
TXN
:
previous #
current #
#Blk-0 #Blk-1
Header
+
Data
#Blk-0 #Blk-1 #Blk-2
Nonce - 0
Genesis
Block
Height
Created by Dr. Vince Ming S© copyright reserved
TXN
:
TXN
:
TXN
:
Robust against tampering
000052de1a0previous #
current #
00008fdc9b73 000025ec3fe8
00008fdc9b73 000025ec3fe8 000066e8da2
000052de1a0previous #
current #
00008fdc9b73 000025ec3fe8
00008fdc9b73 0000363fefe1 000066e8da2
TXN
Created by Dr. Vince Ming S© copyright reserved
blk. 0
genesis
blk. 1
::
blk. X–1
Every 10 minutes
blk. X
Global Consensus & Mining
12.5 BTC – every 10 minutes
Created by Dr. Vince Ming S
winner
© copyright reserved
Thank You!
Linkedin: Vince Ming
msiyau@yahoo.co.ukEmail:
Vince@Cointelligence.com
Blockchain 2.0
CryptographyDistributed
Network +
© copyright reserved
Smart Contract
Tokenisation
Blockchain 2.0 Revalation
The significance of new age digital token not only just lies within the “value”
it represents but also defining in itself the “mechanism” and the “reason” of
passing from one bearer to the next. This “mechanism” can be automated
and the “reason” can be programmed for execution of the token passing.
“Token” is always powered by Smart Contract in blockchain by:
❑ Token’s Quantity / Value is created / assigned via Smart Contract
❑ Token’s Conditions for Transfer is programmed within Smart Contract
❑ Token’s Ownership is converted under Smart Contract
* Tokenisation + Smart Contract *
© copyright reserved
BTC
Alice
Smart Contract
Bob
Bitcoin Ethereum
Created by Dr. Vince Ming S
ETH
Alice Bob
• All nodes validate each transaction • All nodes validate each smart contract
© copyright reserved
https://etherscan.io/block/5892488
To be continue…

More Related Content

What's hot

Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Svetlin Nakov
 
Blockchain - a basic overview
Blockchain - a basic overviewBlockchain - a basic overview
Blockchain - a basic overview
Syed Rakib Al Hasan
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
Terek Judi
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
seancarmody
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrency
Bellaj Badr
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
Narendranath Reddy
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchain
Bellaj Badr
 
Sidechains Presentation
Sidechains PresentationSidechains Presentation
Sidechains Presentation
Brian Fabian Crain
 
Blockchain
BlockchainBlockchain
Blockchain
Abhinand Valasseri
 
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
 
Why we need censorship-resistant AI
Why we need censorship-resistant AIWhy we need censorship-resistant AI
Why we need censorship-resistant AI
Pandora Boxchain
 
Blockchain 101
Blockchain 101Blockchain 101
Komodo Blockchain Security Service Brochure
Komodo Blockchain Security Service BrochureKomodo Blockchain Security Service Brochure
Komodo Blockchain Security Service Brochure
Jean-Phi N✅
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101
Blockstrap.com
 
IoT: From Edge to Cloud
IoT: From Edge to CloudIoT: From Edge to Cloud
IoT: From Edge to Cloud
Sameh BEN FREDJ
 
Blockchain talk open value meetup 31-8-17
Blockchain talk open value meetup 31-8-17Blockchain talk open value meetup 31-8-17
Blockchain talk open value meetup 31-8-17
Roy Wasse
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Svetlin Nakov
 
Intro to blockchain - Dapper Dev Bootcamp
Intro to blockchain  - Dapper Dev BootcampIntro to blockchain  - Dapper Dev Bootcamp
Intro to blockchain - Dapper Dev Bootcamp
shotdsherrif
 
IDC - Blockchain Threat Model
IDC - Blockchain Threat ModelIDC - Blockchain Threat Model
IDC - Blockchain Threat Model
PeteLind
 
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
SecuRing
 

What's hot (20)

Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
 
Blockchain - a basic overview
Blockchain - a basic overviewBlockchain - a basic overview
Blockchain - a basic overview
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrency
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchain
 
Sidechains Presentation
Sidechains PresentationSidechains Presentation
Sidechains Presentation
 
Blockchain
BlockchainBlockchain
Blockchain
 
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
 
Why we need censorship-resistant AI
Why we need censorship-resistant AIWhy we need censorship-resistant AI
Why we need censorship-resistant AI
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Komodo Blockchain Security Service Brochure
Komodo Blockchain Security Service BrochureKomodo Blockchain Security Service Brochure
Komodo Blockchain Security Service Brochure
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101
 
IoT: From Edge to Cloud
IoT: From Edge to CloudIoT: From Edge to Cloud
IoT: From Edge to Cloud
 
Blockchain talk open value meetup 31-8-17
Blockchain talk open value meetup 31-8-17Blockchain talk open value meetup 31-8-17
Blockchain talk open value meetup 31-8-17
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
 
Intro to blockchain - Dapper Dev Bootcamp
Intro to blockchain  - Dapper Dev BootcampIntro to blockchain  - Dapper Dev Bootcamp
Intro to blockchain - Dapper Dev Bootcamp
 
IDC - Blockchain Threat Model
IDC - Blockchain Threat ModelIDC - Blockchain Threat Model
IDC - Blockchain Threat Model
 
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
Outsmarting Smart Contracts - an essential walkthrough a blockchain security ...
 

Similar to Connecting The Block Cointelligence Academy by Dr Vince Ming

BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
BlockchainHub Graz
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
Marco Segato
 
01 what is blockchain
01 what is blockchain01 what is blockchain
01 what is blockchain
BastianBlankenburg
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
Tejhaskar Ashok Kumar
 
2019 blockchain economy
2019 blockchain economy2019 blockchain economy
2019 blockchain economy
Heung-No Lee
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
Tharindu Weerasinghe
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
JESUNPK
 
Blockchain - Beyond the Hype
Blockchain - Beyond the HypeBlockchain - Beyond the Hype
Blockchain - Beyond the Hype
Salman Baset
 
Block Chain Bitcoin and Crypto Currency
Block Chain Bitcoin and Crypto CurrencyBlock Chain Bitcoin and Crypto Currency
Block Chain Bitcoin and Crypto Currency
Nidhin P Koshy
 
Fundamentals of Block chain Technology
Fundamentals of Block chain TechnologyFundamentals of Block chain Technology
Fundamentals of Block chain Technology
Subham Preetam
 
bitcoin
bitcoinbitcoin
bitcoin
AasimRasheed3
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
ssuser3ab054
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
ANKITKUMARNATH1
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval Capraz
Seval Çapraz
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
subbul
 
The future of Fintech and Blockchain
The future of Fintech and BlockchainThe future of Fintech and Blockchain
The future of Fintech and Blockchain
Wanfeng Chen
 
Bitcoin
BitcoinBitcoin
Bitcoin
Joel John
 
Blockchain
BlockchainBlockchain
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCC
Zeyad T. Al Mudhaf
 

Similar to Connecting The Block Cointelligence Academy by Dr Vince Ming (20)

BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
BlockChain.pptx
BlockChain.pptxBlockChain.pptx
BlockChain.pptx
 
01 what is blockchain
01 what is blockchain01 what is blockchain
01 what is blockchain
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
 
2019 blockchain economy
2019 blockchain economy2019 blockchain economy
2019 blockchain economy
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
 
Blockchain - Beyond the Hype
Blockchain - Beyond the HypeBlockchain - Beyond the Hype
Blockchain - Beyond the Hype
 
Block Chain Bitcoin and Crypto Currency
Block Chain Bitcoin and Crypto CurrencyBlock Chain Bitcoin and Crypto Currency
Block Chain Bitcoin and Crypto Currency
 
Fundamentals of Block chain Technology
Fundamentals of Block chain TechnologyFundamentals of Block chain Technology
Fundamentals of Block chain Technology
 
bitcoin
bitcoinbitcoin
bitcoin
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval Capraz
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
The future of Fintech and Blockchain
The future of Fintech and BlockchainThe future of Fintech and Blockchain
The future of Fintech and Blockchain
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain
BlockchainBlockchain
Blockchain
 
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCC
 

Recently uploaded

Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

Connecting The Block Cointelligence Academy by Dr Vince Ming

  • 1. Connecting the Block Dr Vince Ming ACADEMY
  • 2. This lecture is intended for knowledge sharing and educational purpose only in order to provide a comprehensive overview and helping people who wants to find out about the blockchain’s core concept from a general technical standpoint with the intention to gain the right perception, the basic know-how and overall perspective on this emerging technology. Disclaimer
  • 3. Attributes in Blockchain ● New class of IT – Network of computers (nodes) collaborate toward maintaining a shared distributed database / ledger. ● Enables “Trust” between parties that may otherwise not trust each other – The Immutable record ● Autonomous and self organise for efficient de-centralised coordination and management system. ● Empowering future token economics via p2p collaboration between any entities, organisations as well as individuals.
  • 4. Blockchain 1.0 Revalation For the first time in the human history, a technology that allows any people (or any things) from everywhere to come together and “trust” each other, to transact with large p2p networks without a centralised management. A “trust” system based on the security measures via: ❑ Computer Code (open and secured) ❑ Protocol (sets of rules or agreements, i.e. Consensus Algorithm) ❑ Cryptography (Hashing & Digital Signature) * De-centralisation + Immutability *
  • 5. P2P electronic cash The world’s first digital currency that can be held by anybody (or anything) and can be transferred to anybody (or anything) without needing the permission!
  • 6. Blockchain 1.0 Cryptography ( security ) Distributed Network + © copyright reserved https://anders.com/blockchain/
  • 7. Blockchain Before Bitcoin (BBB) Three basic Inventions before the Bitcoin: a) Time Stamping (T) b) Secure Filling Ledger System – (L) c) Merkle/Hash – (M) https://cs.nyu.edu/cs/faculty/shasha/papers/mazpodc.pdf https://www.anf.es/pdf/Haber_Stornetta.pdf https://people.eecs.berkeley.edu/~raluca/cs261-f15/readings/merkle.pdf https://lopp.net/pdf/princeton_bitcoin_book.pdf https://medium.com/blockstreethq/before-blockchain-there-was-distributed-ledger-technology-319d0295f011 (L) (T)Txn - x : (T)Txn - n M M B CA © copyright reserved Created by Dr. Vince Ming S
  • 8. Bitcoin (BTC) and blockchain Two Inventions of Bitcoin: d) Immutable way of recording Txns & Blocks e) Proof of Work (PoW) – encourage stronger Immutability (T)Txn - x : (T)Txn - n - (T)Txn - p : (T)Txn - f (T)Txn - y : (T)Txn - g M #A #B #A #C #B M nonce - A nonce - B nonce - C © copyright reserved Created by Dr. Vince Ming S
  • 9. From Centralised to Decentralised Distributed Network UTXO - TXN creation Hashing and Digital Signature
  • 10. The world change from C to D … Centralised ● Single point of failure / attack ● Censorship applies ● Permissioned system ● Expensive to defend & coordinate ● Non-immutable and private ● Lacks Inter-organisational collaboration De-centralised ● Distributed - Duplicated everywhere ● Censorship resistance ● Consensus agreement ● p2p instant direct exchange ● Immutable and transparent ● Autonomous and self-organise ● Vast inter-spaces collaboration Created by Dr. Vince Ming S
  • 11. from to owe (£) : Alice Bob 20 Alice Bob Charlie 30 Alice Charlie 10 Bob Alice 50 Charlie Bob 40 Bob Alice Alice Bob Charlie signature Bob Alice 50 Bob Charlie Dave Whiteboard Scenario Bob Charlie Charlie Alice Bob Created by Dr. Vince Ming S A simple centralised case with a few roommates under the same roof, creating a simple ledger for monthly settlement of bills and payments, using individual signature to authorise each transaction and verified by countersigning. © copyright reserved
  • 12. from to owe (£) : Alice Bob 20 Bob Charlie 30 Alice Charlie 10 Charlie Bob 40 Bob Alice 50 Alic e Bo bAlic e Charli e 10110101101011101011000111010 … 11101110101101010110010110110 … 10001011101011011101010101100… 11001001111011100100011010110 … 11111011110011011011011100101 … Charlie Alice 100 Charli11111011110011011011011100101 … signatureDigital signature Electronic Spreadsheet Created by Dr. Vince Ming S© copyright reserved
  • 13. General Cryptography S PKey-Pair Encryption S X Sender: Decryption Receiver: P A X A No Authorisation No Verification https://www.youtube.com/watch?v=8I7BNgD2Yag&t=204s Created by Dr. Vince Ming S The keys are mathematical related © copyright reserved
  • 14. Hashing (SHA256) SHA-256 6D30F39035DA3535 3BE1485844E27DA3 4CC97CED8C79E82B AE6E2CE39D0B002B I am a superhero https://passwordsgenerator.net/sha256-hash-generator/ • SHA256 = Secure Hash Algorithm - 256 bits fix-length output • Universal Creation – same output with same input • One-Way math function – practically irreversible • Easy to create forward, infeasible to calculate backward • 2256 combinations = (232 =~4 billions) multiply itself 8 times • A tamper-proof digital footprint (Pseudonymous or Anonymous) • standard simplified output representation Created by Dr. Vince Ming S© copyright reserved
  • 15. Digital Signature Private Key S Encryption Sender: Verifier: #X Hashing Sig Digital Signature Sig+ Send: Decryption Public Key P Hashing #B : Sig #A : = Verify for #X: #A #B Y/N? Authorisation & Integrity check (Non-repudiation) Created by Dr. Vince Ming S© copyright reserved
  • 16. ● Origination – Digital Signature to authorise spending ● Broadcast on network to nearest nodes ( >1 node ) ● Validated and Propagated by each & adjacent nodes ● Verified further by Mining, then re-broadcast in block ● Confirmed – by sufficient subsequent blocks (~6) – Longest chain wins ● Become Permanent – Immutable Record Transaction flow Created by Dr. Vince Ming S
  • 17. Transaction Creation Encryption HashingCheque information Sig Digital Signature Public Key Hash Digital Wallet Public Key Private Key Bitcoin Address: 1XPTgDRhN8RFnzniWCddobD9iKZatrvH4 Created by Dr. Vince Ming S
  • 18. Bitcoin Transaction Creation - UTXO Input Output • Pointers to ‘claim’ the previous UTXO - TXN no. - Sequence no. - Amount (in satoshi) • Pointers to ‘create’ next UTXO, stating: - Conditions to be met - the receiver’s Public Key Hash - created independently • Unlocking Script (ScriptSig) • Locking Script (ScriptPubKey) © copyright reserved Created by Dr. Vince Ming S
  • 19. 10 BTC5 BTC Alice Transaction I/O Joe Bob Ken 7 BTC Alice 2 BTC Input Output To create new UTXO to Bob (& herself) – Locking with #PB (& #PA ) To spend (or claim) Alice’s UTXOs – Unlocking with SigA + PA #PB #PA SigA + PA SigA + PA Created by Dr. Vince Ming S© copyright reserved
  • 20. Transaction I/O • Input • claim UTXO • Output • create UTXO UTXO • Rights of ownership locked to new claimer • multiple satoshi • must be consumed entirely Coinbase • Only has Output • 1st Entry placed by winning miners to pay themselves • creating new bitcoin. Bitcoin Transaction Creation Created by Dr. Vince Ming S© copyright reserved
  • 22. Alice Bob Charlie Dave Using Digital Signature, everyone can check: • The authorisation of each TXN • The authenticity of each TXN Distributed Network Using Spreadsheet, everyone can keep track: • The order and settlement of TXNx Created by Dr. Vince Ming S Evolving to a simple distributed network case: transactions are added and verified remotely in orderly fashion to keep track of monthly settlement in an open distributed ledger. © copyright reserved
  • 23. Distributed Network Problems: When the network grows into hundreds of thousands of nodes as a Large Distributed Network a)How can any nodes come and go as they wish and still able to continually synchronise and update their record? a)How can the nodes come to a global consensus? How do they agree on the history of the record? a)How to prevent the network attacks or fraud problem? (Altering past records, creating false Txn, Double Spending etc) Created by Dr. Vince Ming S© copyright reserved
  • 24. • Everyone agrees on only One version of Truth - “I know that what you see is also what I see” • All data must be In Sync in near future - to allow Sufficient Time for ALL Nodes to agree • Robust verification process via Continuous Chains - easy to duplicate but extremely hard to cheat True Consensus Created by Dr. Vince Ming S © copyright reserved © copyright reserved
  • 25. Incentive… is the key A reward based system using Game Theory in order to kick start and encourage more nodes to join and maintain a secured distributed network … Created by Dr. Vince Ming S © copyright reserved
  • 26. mempool - 1 mempool - 2 mempool - 4 mempool - 3 Distributed Network & Mempool These validated but “unconfirmed” transactions will be stored in the memory pool of each node and will be picked subsequently during the “Mining” process to become a “confirmed” transaction. Created by Dr. Vince Ming S© copyright reserved
  • 27. Created by Dr. Vince Ming S © copyright reserved Creating the Next Block Mining for the next Block – to get Reward © copyright reserved
  • 29. What is PoW? • In blockchain, Proof of Work is a consensus algorithm focuses on solving a rather difficult Mathematical challenge or puzzle in order to produce a verifiable “ Proof ”. • (e.g. guessing the combination of the lock ~10 digits). Proof 0000000000000000 00E6485844E27D13 4C1970ED8179E82B AE6E2CE39D0B1017 • Extremely difficult to solve. However, once it is solved, it is very easy to verify. • Extremely high electricity energy – opportunity cost outside the system. © copyright reserved Created by Dr. Vince Ming S© copyright reserved
  • 30. Hashing of the Block SHA256 ( SHA256 { previous-# , Header + Data , Nonce } ) < Target 0000000000000000008fdc9b73cc3d5abc02368dfa7fcdcb04aac7e7c3385b02 Hashing Difficulty Asymmetry Properties: • one-way function • fixed length output • same in same out • extreme randomness Hash of new Block = Created by Dr. Vince Ming S © copyright reserved © copyright reserved
  • 31. Block Structure ex- Blk # #Blk Data Hash of the Block • # of previous Block • Version • Time Stamp • Difficulty • Markle Root • Nonce Block Header Transactions Created by Dr. Vince Ming S© copyright reserved
  • 32. TXN : Nonce - 2 TXN : Nonce - 1 Chain & Block # 000 TXN : previous # current # #Blk-0 #Blk-1 Header + Data #Blk-0 #Blk-1 #Blk-2 Nonce - 0 Genesis Block Height Created by Dr. Vince Ming S© copyright reserved
  • 33. TXN : TXN : TXN : Robust against tampering 000052de1a0previous # current # 00008fdc9b73 000025ec3fe8 00008fdc9b73 000025ec3fe8 000066e8da2 000052de1a0previous # current # 00008fdc9b73 000025ec3fe8 00008fdc9b73 0000363fefe1 000066e8da2 TXN Created by Dr. Vince Ming S© copyright reserved
  • 34. blk. 0 genesis blk. 1 :: blk. X–1 Every 10 minutes blk. X Global Consensus & Mining 12.5 BTC – every 10 minutes Created by Dr. Vince Ming S winner © copyright reserved
  • 35. Thank You! Linkedin: Vince Ming msiyau@yahoo.co.ukEmail: Vince@Cointelligence.com
  • 36. Blockchain 2.0 CryptographyDistributed Network + © copyright reserved Smart Contract Tokenisation
  • 37. Blockchain 2.0 Revalation The significance of new age digital token not only just lies within the “value” it represents but also defining in itself the “mechanism” and the “reason” of passing from one bearer to the next. This “mechanism” can be automated and the “reason” can be programmed for execution of the token passing. “Token” is always powered by Smart Contract in blockchain by: ❑ Token’s Quantity / Value is created / assigned via Smart Contract ❑ Token’s Conditions for Transfer is programmed within Smart Contract ❑ Token’s Ownership is converted under Smart Contract * Tokenisation + Smart Contract * © copyright reserved
  • 38. BTC Alice Smart Contract Bob Bitcoin Ethereum Created by Dr. Vince Ming S ETH Alice Bob • All nodes validate each transaction • All nodes validate each smart contract © copyright reserved