SlideShare a Scribd company logo
1 of 76
Download to read offline
BLOCKCHAIN FUNDAMENTAL
ACHMAD BAHAUDDIN, ST., MT.
LECTURER & BLOCKCHAIN RESEARCHER, UNIV. SULTAN AGENG TIRTAYASA-BANTEN
MEMBER OF KIPMI
ADVISORY BOARD, ISCHAIN COMMUNITY
CERTIFIED BLOCKCHAIN TECHNOLOGY CONSULTANT (CBTC-TUV)
DISTRIBUTED LEDGER ANALOGY
WHAT IS BLOCKCHAIN?
• The blockchain is a permanent book of records that keeps a log of all transactions
that have taken place in chronological order.
• The blockchain also logs transactions between senders and receivers, except there is
no bank or central authority. Instead, the blockchain relies on a public network of
computers to verify the transaction.
• The blockchain is just an accurate, and permanent record of all the transactions that
have happened amongst the members in that blockchain’s network. In this analogy,
each block in the blockchain represents a transaction, and each transaction is
connected to the prior transaction to form the entire connected blockchain.
WHAT IS BLOCKCHAIN?
• Blockhain is a collection of linked blocks on a peer to peer network where
blocks are connected using cryptographic hash code because of which there is
no single point of failure. As even if a few nodes fail in the peer to peer
network, other nodes will continue to work which makes blockchain more
reliable to operate and maintain (Rabbani et al, 2020)
KEY TERMS
• Block: A block is an individual transaction or piece of data that is being
stored within the blockchain.
• Blockchain: A blockchain is a continuously growing list (“chain”) of records
(“block”), called blocks, which are linked chronologically and secured using
cryptography.
WHAT IS HASH FUNCTIONS?
• Hash function is a mathematical function that can take any number as an input
and produces an output in a fixed range of numbers.
• For example, 256-bit hash functions (which are commonly used in blockchain),
produce outputs in the range 0-2256.
• Blockchain relies heavily on secure hash functions to ensure that transactions
cannot be modified after being stored in the ledger.
Demo – https://andersbrownworth.com/blockchain/blockchain
WHAT IS NONCE?
• A nonce is an abbreviation for "number only used once," which, in the context
of cryptocurrency mining, is a number added to a hashed—or encrypted—
block in a blockchain that, when rehashed, meets the difficulty level
restrictions. The nonce is the number that blockchain miners are solving for.
When the solution is found, the blockchain miners are offered cryptocurrency
in exchange.
HOW DOES
BLOCKCHAIN WORKS?
Source: https://www.euromoney.com
ATTRIBUTES OF BLOCKCHAIN
• Blockchain is a system comprised of…
• Transactions
• Immutable ledgers
• Decentralized peers
• Encryption processes
• Consensus mechanisms
• Smart Contracts
TRANSACTIONS
• As with enterprise transactions today, Blockchain is a historical
archive of decisions and actions taken
• Proof of history, provides provenance
Notable transaction use cases
Land registration – Replacing requirements for research of Deeds (Sweden Land Registration)
Personal Identification – Replacement of Birth/Death certificates, Driver’s Licenses, Social Security Cards (Estonia)
Transportation – Bills of Lading, tracking, Certificates of Origin, International Forms (Maersk/IBM)
Banking – Document storage, increased back office efficiencies (UBS, Russia’s Sberbank)
Manufacturing – Cradle to grave documentation for any assembly or sub assembly
Food distribution – Providing location, lot, harvest date Supermarkets can pin point problematic food (Walmart)
Audits – Due to the decentralized and immutable nature of Blockchain, audits will fundamentally change.
IMMUTABLE
• As with existing databases, Blockchain retains data via transactions
• The difference is that once written to the chain, the blocks can be changed, but
it is extremely difficult to do so. Requiring rework on all subsequent blocks and
consensus of each.
• The transaction is, immutable, or indelible
• In Database terms, Blockchains are Write and Read only
• Like a ledger written in ink, an error would be be resolved with another entry
DECENTRALIZED PEERS
• Rather than the centralized “Hub and Spoke” type of network,
Blockchain is a decentralized peer to peer network. Where
each NODE has a copy of the ledger.
Legacy Network Blockchain Network
Centralized Database Distributed Ledgers
DECENTRALIZED
• Each member in the network has exact same copy of distributed ledger for
complete transparency
• Ensures that the entire system will not break down upon a single point of
failure
• Any data, once written on the blockchain cannot be changed or removed
• Enables record keeping in different field, like university degree, land registry,
etc. which will make it impossible to forge records
PEER TO PEER
• The interaction between two parties is accomplished without the need of any
third party
• Cross border transactions
• Blockchain removes the need for trust because all put in the code
ENCRYPTION
• Standard encryption practices
• Only as good as the next hardware innovation
• All blocks are encrypted
• Some Blockchains are public, some are private
• Public Blockchains are still encrypted, but are viewable to the public, e.g.
Bitcoin, Ethereum, Solana, Cardano, etc.
• Private Blockchains employ user rights for visibility, e.g. eZTracker, etc.
• Customer – Writes and views all data
• Auditors – View all transactions
• Supplier A – Writes and views Partner A data
• Supplier B – Writes and views Partner B data
DISTRIBUTED LEDGER
TYPES OF BLOCKCHAINS
• Public Blockchains
• Private Blockchains
• Hybrid Blockchains or Consortiums
• Sidechain
PUBLIC BLOCKCHAINS (PERMISSIONLESS
BLOCKCHAIN)
• Public blockchains are open, decentralized networks of computers accessible
to anyone wanting to request or validate a transaction (check for accuracy).
Those (miners) who validate transactions receive rewards.
• Two common examples of public blockchains are the Bitcoin (BTC) and
Ethereum (ETH) blockchains.
• https://bitcoin.org/en/
• https://ethereum.org/en/
PRIVATE BLOCKCHAINS (PERMISSIONED
BLOCKCHAIN)
• Private blockchains are not open, they have access restrictions. People who
want to join require permission from the system administrator. They are
typically governed by one entity, meaning they’re centralized. For example,
Hyperledger is a private, permissioned blockchain.
• https://www.eztracker.io/
• https://www.youtube.com/watch?v=sIL7XxyG4Fc
HYBRID BLOCKCHAINS OR CONSORTIUMS
• Consortiums are a combination of public and private blockchains and contain
centralized and decentralized features. For example, Energy Web
Foundation, Dragonchain, and R3.
• https://medicalchain.com/en/whitepaper/
• https://www.youtube.com/watch?v=cO-prfZBmyw
SIDECHAIN
• A sidechain is a blockchain running parallel to the main chain. It allows users
to move digital assets between two different blockchains and improves
scalability and efficiency.
• The main Ethereum 1.0 blockchain currently has a low speed of around 7-15
transactions per second (TPS). Layer 2 solutions can achieve much faster
speeds of up to 9,000 tps by handling most of the hard processing “off-
chain” on their sidechains to increase efficiency
Source: https://medium.com/practical-blockchain/use-cases-of-blockchain-tech-application-13a940edf6fb
Blockchain Applications
Use Cases
• Asset management
• Supply chain logistics & management
• Computing & storage
• Currency exchanges
• Media & adstech
• Online gaming
• Social media
• Lending & crowdfunding
• Healthcare data
• Insurance & underwriting
• Payments & banking
• Financial services
• Infrastructure
• Public records
Blockchain and Governance
• Transparent elections
• Ends identity theft
• Automation of land registries and title
transfers
• Criminal records
• Management of trial evidence
• Auditable universal basic income
• Transparent ownership of public
companies
• Replacement of taxes with monetary
policy
SOME DEFINITIONS
• Encryption: Encryption is a process of converting your message into code so
that only authorized parties can access it.
• Decryption: Decryption is reversing the encryption process so that the message
can be converted to the original message.
• Cryptography: This is using the techniques of encryption and decryption to
send and receive messages.
• Digital asset: can be anything of value, such as the combination to your home
safe, a secret password, a list, a message, electronic cash, a document, a
photo, and so on.
• Cryptocurrency: is a digital asset designed so that electronic cash is able to be
exchanged using strong cryptography (encryption and decryption) to ensure
the security of funds, transactions, and the creation of new funds.
SOME DEFINITIONS
• A cryptographic key can be used to encrypt a message. The encrypted
message can then be decrypted only by using the second key (a private key)
that is known only to the recipient.
• Bitcoin uses private keys (bitcoin calls these digital signatures) with the help of
an algorithm function to prove ownership.
• Hashing algorithms are used for holding the structure of the database ledger
data (or blockchain) via a hash generator called SHA256.
• The hashing algorithms are used to generate math puzzles that a computer
tries to solve for a prize. Once the puzzle is solved, the computer is selected to
help handle the transactions.
SOME DEFINITIONS
• Merkle trees which use the hashing keys of large data in small pieces. This is useful for
lightweight wallets that are needed on constrained hardware devices such as mobile
devices.
• Double spending Problem is the risk that digital currency can be spent twice because
the digital signature could be reproduced and one could prove ownership and send
a digital asset twice at the same time.
• Each computer that holds a copy of the shared ledger and is connected to the P2P
network is a node. A peer can help to add records and verify transactions. The
process is called crypto mining, and the peer that helps record and verify the
transactions is called a crypto miner or a miner.
• Each miner helps to verify and add transactions to the blockchain digital ledger. The
miners are often rewarded with a fee for the work, and to stay competitive with
other miners, the miner usually needs a computer with specialized hardware.
CRYPTO WALLET
• Cryptocurrency wallet stores one or multiple public key and private key
combinations and is used to receive or spend cryptocurrency.
• Two type of wallet:
• A hot wallet is directly connected to the Internet. Examples of hot wallets are mobile
app wallets and web app wallets.
• A cold wallet is not directly connected to the internet. Examples of cold wallets are
paper wallets, hardware wallets and brain wallets
TYPE OF BLOCKCHAIN WALLET
The P2P network works globally
using an Internet connection and
is able to provide a platform to
achieve a globally distributed
consensus mechanism. In blockchain,
the consensus/agreement is on
whether the blocks are valid or not.
If a block is valid, the block will be
added to the blockchain. If a block
is invalid, it will be rejected from
being added to the blockchain.
CONSENSUS MECHANISM
• Consensus mechanism is an agreement needed for the network to operate
properly even in the event of a failure. It needs to be able to achieve
agreement on the data of the network within the distributed P2P network.
KLASIFIKASI ASSET KRIPTO
ALTERNATIVE CRYPTOCURRENCY COINS
(ALTCOINS)
• Alternative cryptocurrency coins (altcoins for short) are coins that are derived
from bitcoin core source code by forking it (soft fork or hard fork). Examples
are litecoin (which was a fork of the bitcoin core client), dogecoin (dogecoin
1.10 is a complete rebuild based on the bitcoin 0.11 build), bitcoinX, bitcoin
cash, and bitcoin gold.
• This forking happens often when there is a disagreement of developers
regarding a direction. For instance, some developers would like to implement
changes that other developers disagree with or a major fix is needed to be
implemented.
WHAT IS A BLOCKCHAIN FORK?
• A fork is a blockchain (e.g. Bitcoin or Ethereum) protocol upgrade. With each
fork, rules of participating can be modified. Sometimes the rules are
backward compatible, other times the rules are not backward compatible.
Based on backward compatibility we can split the forks into two categories:
• Hard fork - is a blockchain protocol rules upgrade, which is not backward compatible
• Soft fork - is a blockchain protocol rules upgrade, which, contrary to the hard fork, is
backward compatible
WHAT IS A HARD FORK?
WHAT IS A SOFT FORK?
WHAT IS SMART CONTRACT?
WHAT BLOCKCHAIN TECHNOLOGY IS NOT?
• Blockchain technology is not entirely all about Bitcoins
• Blockchain is not a product: the utility of blockchain technology comes from an
appropriate set of applications built on top of it
• Blockchain is not needed in the absence of a business network
• Blockchain is not the replacement of a transaction processing system
BLOCKCHAIN VS
DATABASE
•Authority
•Integrity
•Write Access
•Cost
•Trust
BLOCKCHAIN TRILEMMA
Source: DOI:10.1109/WSC48552.2020.9383924
Source: https://intellipaat.com/blog/tutorial/blockchain-tutorial/why-blockchain-is-important/
Blockchain Fundamental_KIPMI_2022.02.26.pdf

More Related Content

Similar to Blockchain Fundamental_KIPMI_2022.02.26.pdf

Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinM Shamim Iqbal
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgileNetwork
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledgersendhilkumarks
 
Presentation about Blockchain technology
Presentation about Blockchain technologyPresentation about Blockchain technology
Presentation about Blockchain technologyZakaria Hossain
 
Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Truong Nguyen
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashirImran Bashir
 
Blockchain technology Overview
Blockchain technology OverviewBlockchain technology Overview
Blockchain technology OverviewLalitha Prasanna
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsAmir Rafati
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and DecentralizationPriyab Satoshi
 
C13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxC13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxhaifaazka
 

Similar to Blockchain Fundamental_KIPMI_2022.02.26.pdf (20)

Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
Blockchain technology | Bitcoins
Blockchain technology | BitcoinsBlockchain technology | Bitcoins
Blockchain technology | Bitcoins
 
Introduction to Blockchain Technology
Introduction to Blockchain TechnologyIntroduction to Blockchain Technology
Introduction to Blockchain Technology
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash Aravind
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Presentation about Blockchain technology
Presentation about Blockchain technologyPresentation about Blockchain technology
Presentation about Blockchain technology
 
Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
Blockchain
Blockchain Blockchain
Blockchain
 
BLOCKCHAIN.pptx
BLOCKCHAIN.pptxBLOCKCHAIN.pptx
BLOCKCHAIN.pptx
 
Blockchain technology Overview
Blockchain technology OverviewBlockchain technology Overview
Blockchain technology Overview
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
 
blockchain.pptx
blockchain.pptxblockchain.pptx
blockchain.pptx
 
C13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxC13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptx
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Blockchain Fundamental_KIPMI_2022.02.26.pdf

  • 1. BLOCKCHAIN FUNDAMENTAL ACHMAD BAHAUDDIN, ST., MT. LECTURER & BLOCKCHAIN RESEARCHER, UNIV. SULTAN AGENG TIRTAYASA-BANTEN MEMBER OF KIPMI ADVISORY BOARD, ISCHAIN COMMUNITY CERTIFIED BLOCKCHAIN TECHNOLOGY CONSULTANT (CBTC-TUV)
  • 2.
  • 4.
  • 5. WHAT IS BLOCKCHAIN? • The blockchain is a permanent book of records that keeps a log of all transactions that have taken place in chronological order. • The blockchain also logs transactions between senders and receivers, except there is no bank or central authority. Instead, the blockchain relies on a public network of computers to verify the transaction. • The blockchain is just an accurate, and permanent record of all the transactions that have happened amongst the members in that blockchain’s network. In this analogy, each block in the blockchain represents a transaction, and each transaction is connected to the prior transaction to form the entire connected blockchain.
  • 6. WHAT IS BLOCKCHAIN? • Blockhain is a collection of linked blocks on a peer to peer network where blocks are connected using cryptographic hash code because of which there is no single point of failure. As even if a few nodes fail in the peer to peer network, other nodes will continue to work which makes blockchain more reliable to operate and maintain (Rabbani et al, 2020)
  • 7. KEY TERMS • Block: A block is an individual transaction or piece of data that is being stored within the blockchain. • Blockchain: A blockchain is a continuously growing list (“chain”) of records (“block”), called blocks, which are linked chronologically and secured using cryptography.
  • 8. WHAT IS HASH FUNCTIONS? • Hash function is a mathematical function that can take any number as an input and produces an output in a fixed range of numbers. • For example, 256-bit hash functions (which are commonly used in blockchain), produce outputs in the range 0-2256. • Blockchain relies heavily on secure hash functions to ensure that transactions cannot be modified after being stored in the ledger.
  • 10. WHAT IS NONCE? • A nonce is an abbreviation for "number only used once," which, in the context of cryptocurrency mining, is a number added to a hashed—or encrypted— block in a blockchain that, when rehashed, meets the difficulty level restrictions. The nonce is the number that blockchain miners are solving for. When the solution is found, the blockchain miners are offered cryptocurrency in exchange.
  • 13. ATTRIBUTES OF BLOCKCHAIN • Blockchain is a system comprised of… • Transactions • Immutable ledgers • Decentralized peers • Encryption processes • Consensus mechanisms • Smart Contracts
  • 14. TRANSACTIONS • As with enterprise transactions today, Blockchain is a historical archive of decisions and actions taken • Proof of history, provides provenance Notable transaction use cases Land registration – Replacing requirements for research of Deeds (Sweden Land Registration) Personal Identification – Replacement of Birth/Death certificates, Driver’s Licenses, Social Security Cards (Estonia) Transportation – Bills of Lading, tracking, Certificates of Origin, International Forms (Maersk/IBM) Banking – Document storage, increased back office efficiencies (UBS, Russia’s Sberbank) Manufacturing – Cradle to grave documentation for any assembly or sub assembly Food distribution – Providing location, lot, harvest date Supermarkets can pin point problematic food (Walmart) Audits – Due to the decentralized and immutable nature of Blockchain, audits will fundamentally change.
  • 15. IMMUTABLE • As with existing databases, Blockchain retains data via transactions • The difference is that once written to the chain, the blocks can be changed, but it is extremely difficult to do so. Requiring rework on all subsequent blocks and consensus of each. • The transaction is, immutable, or indelible • In Database terms, Blockchains are Write and Read only • Like a ledger written in ink, an error would be be resolved with another entry
  • 16. DECENTRALIZED PEERS • Rather than the centralized “Hub and Spoke” type of network, Blockchain is a decentralized peer to peer network. Where each NODE has a copy of the ledger. Legacy Network Blockchain Network Centralized Database Distributed Ledgers
  • 17. DECENTRALIZED • Each member in the network has exact same copy of distributed ledger for complete transparency • Ensures that the entire system will not break down upon a single point of failure • Any data, once written on the blockchain cannot be changed or removed • Enables record keeping in different field, like university degree, land registry, etc. which will make it impossible to forge records
  • 18. PEER TO PEER • The interaction between two parties is accomplished without the need of any third party • Cross border transactions • Blockchain removes the need for trust because all put in the code
  • 19. ENCRYPTION • Standard encryption practices • Only as good as the next hardware innovation • All blocks are encrypted • Some Blockchains are public, some are private • Public Blockchains are still encrypted, but are viewable to the public, e.g. Bitcoin, Ethereum, Solana, Cardano, etc. • Private Blockchains employ user rights for visibility, e.g. eZTracker, etc. • Customer – Writes and views all data • Auditors – View all transactions • Supplier A – Writes and views Partner A data • Supplier B – Writes and views Partner B data
  • 21. TYPES OF BLOCKCHAINS • Public Blockchains • Private Blockchains • Hybrid Blockchains or Consortiums • Sidechain
  • 22. PUBLIC BLOCKCHAINS (PERMISSIONLESS BLOCKCHAIN) • Public blockchains are open, decentralized networks of computers accessible to anyone wanting to request or validate a transaction (check for accuracy). Those (miners) who validate transactions receive rewards. • Two common examples of public blockchains are the Bitcoin (BTC) and Ethereum (ETH) blockchains. • https://bitcoin.org/en/ • https://ethereum.org/en/
  • 23. PRIVATE BLOCKCHAINS (PERMISSIONED BLOCKCHAIN) • Private blockchains are not open, they have access restrictions. People who want to join require permission from the system administrator. They are typically governed by one entity, meaning they’re centralized. For example, Hyperledger is a private, permissioned blockchain. • https://www.eztracker.io/ • https://www.youtube.com/watch?v=sIL7XxyG4Fc
  • 24. HYBRID BLOCKCHAINS OR CONSORTIUMS • Consortiums are a combination of public and private blockchains and contain centralized and decentralized features. For example, Energy Web Foundation, Dragonchain, and R3. • https://medicalchain.com/en/whitepaper/ • https://www.youtube.com/watch?v=cO-prfZBmyw
  • 25. SIDECHAIN • A sidechain is a blockchain running parallel to the main chain. It allows users to move digital assets between two different blockchains and improves scalability and efficiency. • The main Ethereum 1.0 blockchain currently has a low speed of around 7-15 transactions per second (TPS). Layer 2 solutions can achieve much faster speeds of up to 9,000 tps by handling most of the hard processing “off- chain” on their sidechains to increase efficiency
  • 26.
  • 27.
  • 28.
  • 30.
  • 31.
  • 32.
  • 33. Blockchain Applications Use Cases • Asset management • Supply chain logistics & management • Computing & storage • Currency exchanges • Media & adstech • Online gaming • Social media • Lending & crowdfunding • Healthcare data • Insurance & underwriting • Payments & banking • Financial services • Infrastructure • Public records Blockchain and Governance • Transparent elections • Ends identity theft • Automation of land registries and title transfers • Criminal records • Management of trial evidence • Auditable universal basic income • Transparent ownership of public companies • Replacement of taxes with monetary policy
  • 34.
  • 35. SOME DEFINITIONS • Encryption: Encryption is a process of converting your message into code so that only authorized parties can access it. • Decryption: Decryption is reversing the encryption process so that the message can be converted to the original message. • Cryptography: This is using the techniques of encryption and decryption to send and receive messages. • Digital asset: can be anything of value, such as the combination to your home safe, a secret password, a list, a message, electronic cash, a document, a photo, and so on. • Cryptocurrency: is a digital asset designed so that electronic cash is able to be exchanged using strong cryptography (encryption and decryption) to ensure the security of funds, transactions, and the creation of new funds.
  • 36. SOME DEFINITIONS • A cryptographic key can be used to encrypt a message. The encrypted message can then be decrypted only by using the second key (a private key) that is known only to the recipient. • Bitcoin uses private keys (bitcoin calls these digital signatures) with the help of an algorithm function to prove ownership. • Hashing algorithms are used for holding the structure of the database ledger data (or blockchain) via a hash generator called SHA256. • The hashing algorithms are used to generate math puzzles that a computer tries to solve for a prize. Once the puzzle is solved, the computer is selected to help handle the transactions.
  • 37. SOME DEFINITIONS • Merkle trees which use the hashing keys of large data in small pieces. This is useful for lightweight wallets that are needed on constrained hardware devices such as mobile devices. • Double spending Problem is the risk that digital currency can be spent twice because the digital signature could be reproduced and one could prove ownership and send a digital asset twice at the same time. • Each computer that holds a copy of the shared ledger and is connected to the P2P network is a node. A peer can help to add records and verify transactions. The process is called crypto mining, and the peer that helps record and verify the transactions is called a crypto miner or a miner. • Each miner helps to verify and add transactions to the blockchain digital ledger. The miners are often rewarded with a fee for the work, and to stay competitive with other miners, the miner usually needs a computer with specialized hardware.
  • 38. CRYPTO WALLET • Cryptocurrency wallet stores one or multiple public key and private key combinations and is used to receive or spend cryptocurrency. • Two type of wallet: • A hot wallet is directly connected to the Internet. Examples of hot wallets are mobile app wallets and web app wallets. • A cold wallet is not directly connected to the internet. Examples of cold wallets are paper wallets, hardware wallets and brain wallets
  • 39.
  • 41. The P2P network works globally using an Internet connection and is able to provide a platform to achieve a globally distributed consensus mechanism. In blockchain, the consensus/agreement is on whether the blocks are valid or not. If a block is valid, the block will be added to the blockchain. If a block is invalid, it will be rejected from being added to the blockchain.
  • 42. CONSENSUS MECHANISM • Consensus mechanism is an agreement needed for the network to operate properly even in the event of a failure. It needs to be able to achieve agreement on the data of the network within the distributed P2P network.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 61.
  • 62. ALTERNATIVE CRYPTOCURRENCY COINS (ALTCOINS) • Alternative cryptocurrency coins (altcoins for short) are coins that are derived from bitcoin core source code by forking it (soft fork or hard fork). Examples are litecoin (which was a fork of the bitcoin core client), dogecoin (dogecoin 1.10 is a complete rebuild based on the bitcoin 0.11 build), bitcoinX, bitcoin cash, and bitcoin gold. • This forking happens often when there is a disagreement of developers regarding a direction. For instance, some developers would like to implement changes that other developers disagree with or a major fix is needed to be implemented.
  • 63. WHAT IS A BLOCKCHAIN FORK? • A fork is a blockchain (e.g. Bitcoin or Ethereum) protocol upgrade. With each fork, rules of participating can be modified. Sometimes the rules are backward compatible, other times the rules are not backward compatible. Based on backward compatibility we can split the forks into two categories: • Hard fork - is a blockchain protocol rules upgrade, which is not backward compatible • Soft fork - is a blockchain protocol rules upgrade, which, contrary to the hard fork, is backward compatible
  • 64. WHAT IS A HARD FORK?
  • 65. WHAT IS A SOFT FORK?
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71. WHAT IS SMART CONTRACT?
  • 72. WHAT BLOCKCHAIN TECHNOLOGY IS NOT? • Blockchain technology is not entirely all about Bitcoins • Blockchain is not a product: the utility of blockchain technology comes from an appropriate set of applications built on top of it • Blockchain is not needed in the absence of a business network • Blockchain is not the replacement of a transaction processing system