SlideShare a Scribd company logo
1 of 45
1© Copyright 2016 GBCS LLC
Introduction to Blockchain Technology and
Cryptocurrency
2© Copyright 2016 GBCS LLC
• Blockchain
• What is it?
• How it works
• Use Cases
• Cryptocurrencies
• Smart Contracts
• Ethereum
• Solidity
• Remix
Introduction
3© Copyright 2016 GBCS LLC
• Cryptographically Secure Database
• Information is permanent
• Distributed and Decentralized database
• Uncorrupted
• Transparent → Self-auditing system
Blockchain
What is it?
4© Copyright 2016 GBCS LLC
Blockchain Main features
• Governance:
• Independent or Company Owned
• Mode of operation:
• Public + Permission less: Bitcoin, Ethereum, Monero,
Dash
• Private + Permissioned: Banks, Monax, Multichain
• Type of record:
• Money, Assets, Commands, Intellectual Property…
• Smart Contract
What is it?
5© Copyright 2016 GBCS LLC
How it
works?
Blockchain
6© Copyright 2016 GBCS LLC
Combination of 3 technologiesBlockchain
How it
works?
7© Copyright 2016 GBCS LLC
Cryptography
Blockchain • Is a mathematical method of protecting information.
• Use a encryption algorithm to create a cryptography information
• You need a key to return to original message.
• Cryptocurrencies use different algorithms to cryptography
How it
works?Cryptography
8© Copyright 2016 GBCS LLC
Cryptography
Blockchain Some algorithm used in cryptocurrencies
• SHA256:
• Bitcoin, Mastercoin, Namecoin, Zetacoin, Acoin.
• Scrypt:
• Dogecoin, Litecoin, Topcoin
• Skein:
• Digibyte, Xedoscoin
• X11:
• Dash, Crevacoin, Startcoin
• X13:
• Navcoin, Networkcoin
How it
works?Cryptography
9© Copyright 2016 GBCS LLC
Cryptography
Blockchain • The use of different string results in different “hash”
• The use of different hash function results in different “hash”
How it
works?Cryptography
10© Copyright 2016 GBCS LLC
Combination of 3 technologiesBlockchain
How it
works?
11© Copyright 2016 GBCS LLC
P2P Network
Blockchain • Peer-to-peer network is one in which more than 2 PCs share
information, data or access without a central server. Is a
decentralized communication model.
• In a blockchain technology the P2P is used to share all
transactions with the participants (nodes) and there’s no central
record system.
How it
works?P2P network
12© Copyright 2016 GBCS LLC
P2P Network - Nodes
Blockchain
How it
works?
• Join Voluntarily = Decentralized + Open
• Invited to Join = Private/Permissioned
• Each participant get a full copy (download) of the entire blockchain
and store it in a personal computer (nodes)
• Node’s function: Validate and Relay Transaction = Consensus
• In Bitcoin Nodes = Miners
P2P network
13© Copyright 2016 GBCS LLC
Combination of 3 technologiesBlockchain
How it
works?
14© Copyright 2016 GBCS LLC
Game Theory
Blockchain
How it
works?
Mining = Competing to win “prize” by solving computational puzzles.
Puzzles = computational process of calculating a certain hash.
How to Achieve Distributed Consensus?
Different Algorithms
Game
Theory
Proof-of-Work: Computational intensive puzzles
• High energy cost
Proof of Stake:
• Randomized block selection or selection based on “stake” (amount
of coin owed and time).
PBFT – Practical Bizantine Fault Tolerance
DPoS – Delegated Proof-of-Stake
15© Copyright 2016 GBCS LLC
Hashrate distribution - Bitcoin
Blockchain
How it
works?Game
Theory
https://bitnodes.earn.com/nodes/live-map/
16© Copyright 2016 GBCS LLC
Blockchain
How it
works?Game
Theory
17© Copyright 2016 GBCS LLC
What is PoW?
Blockchain
How it
works?Game
Theory
Block Header – Complete
Bitcoin
https://blockchain.info/
The “fingerprint”
of the block
SHA256
(“block header”)
18© Copyright 2016 GBCS LLC
What is PoW?
Blockchain
How it
works?Game
Theory
https://bitcoin.org/en/developer-reference#constant-and-defaults
19© Copyright 2016 GBCS LLC
What is PoW?
Blockchain
How it
works?Game
Theory
https://bitcoin.org/en/developer-reference#constant-and-defaults
20© Copyright 2016 GBCS LLC
What is PoW?
Blockchain
How it
works?Game
Theory
Block Header – Incomplete
Bitcoin
https://blockchain.info/
The “fingerprint”
of the block
SHA256
(“block header”)
Need to be calculate
by the nodes
21© Copyright 2016 GBCS LLC
What is PoW?
Blockchain
How it
works?Game
Theory Using Python to
understand the PoW
22© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
23© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
24© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
25© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
26© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
27© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
28© Copyright 2016 GBCS LLC
Steps
Blockchain
How it
works?
29© Copyright 2016 GBCS LLC
• Blockchain
• What is it?
• How it works
• Use Cases
• Cryptocurrencies
• Smart Contracts
• Ethereum
• Solidity
• Remix
Introduction
30© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• First Digital Currency
• Established in Jan/03/2009 with the “genesis block”
• Independent, public, permission less
• Distributed ledgers
• Uses cryptography as a method to verify transactions and
regulate the generation of further units of bitcoin: SHA256
• Consensus: POW
• Limited amount of currency: 21 millions BTC
• See details of bitcoin blockchain: https://blockchain.info/
31© Copyright 2016 GBCS LLC
Each block contains among other informations:
• The block`s hash: that is the “fingerprint”. If you change the
information inside the block, the hash changes too;
• Timestamp (Y/M/D:h:m:s) and any other information that
you might want to use.
• The Merkle Tree: group of transactions
• The previous hash: links the actual block to the previous
block creating the “blockchain”.
Use Cases
Crypto-
Currencies
• Bitcoin
32© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• Altcoin
• Alternative Coin are alternative cryptocurrencies. Any
other than Bitcoin and can use different structures:
• other hash functions (SHA256, Scrypt, X11, NIST5…)
• use different algorithms than PoW and some can be
mined using a simple CPU
• unlimited or limited supply of currencies
• Linked to projects or business.
• Today there’s more than 1k altcoins
• For a list see: https://coinmarketcap.com/all/views/all/
33© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• Altcoin
• Token
• In software development means a authentication
signature issued by a server.
• You can use this signature for a limited time or repetitions.
• Can be issued by Government to tax payers or by a
company to supply chains.
• Main difference between altcoins and tokens: structure.
• Coins are separate currencies with their own separate
blockchain
• Tokens facilitates the creation of decentralized
applications. Represent a asset or utility (commodity,
loyalty points or even cryptocurrencies)
34© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• Altcoin
• Token
• ICO
• Initial Coin Offering is a different way of crowdfunding
projects using a new crypto-coin or crypto-token.
• The first ICO was Riple (2013) that issued tokens to fund a
new Project. After this, the token was converted to a coin
(XRP)
• Another ICO was ethereum (ETH) that created a platform to
unleashed the power of smart contracts
• Inside this platform you can create a new token (or
crypto-coin) and your own blockchain structure using
smart contracts.
35© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• Altcoin
• Token
• ICO
• Price is established by the company in the Project (White
Paper)
• ICO-token:
• Create rights to a specific Project and can have a
limited time to end
• Can be convert in a coin in future, or not!
• ICO-coin:
• limited or unlimited number of coins
• After the ICO round it finishes with the token or the coin
traded in the crypto-Market
• More about ICO: https://icostats.com/ or https://ico-
list.com/
36© Copyright 2016 GBCS LLC
Use Cases
Crypto-
Currencies
• Bitcoin
• Altcoin
• Token
• ICO
• Is the most importante part in the ICO process
• Must contain (minimal requeriments):
• Project details as timeline (calendar), cost, technology,
Market analysis, projections, use of the Technologies
talk about redemption process, risks and security
• Sale: roadmap of the ICO
• Blockchain model with details of the smart contract
• Token and coin distribution with price, total amount of
emission, share of the total Project funding by the ICO
• Team members
• White Paper
37© Copyright 2016 GBCS LLC
• Blockchain
• What is it?
• How it works
• Use Cases
• Cryptocurrencies
• Smart Contracts
• Ethereum
• Solidity
• Remix
Introduction
38© Copyright 2016 GBCS LLC
Smart
Contracts
SMART CONTRACTS
39© Copyright 2016 GBCS LLC
Smart
Contracts
• First proposed in 1994 (Nick Szabo)
• Put the terms of the agreement, penalties, tax, fee, time and
any information important inside a contract in lines of code
• Are self-executing, anonymous, don`t need central authority
and permit trusted transactions
• Can be used to automate routine process reducing transaction cost
with more security
• Can be used to facilitate transactions, eliminate intermediaries, create
a more transparent system avoiding lawyers and accountants and to
crowdfunding as ICO
40© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• Decentralized platform that runs smart contracts created by
the Ethereum Foundation (Swiss nonprofit organization)
• Presale in August 2014 and that resulted in a
cryptocurrency: the ether (ETH)
• Can use the platform to issue token or crypto-coin and build a
crowdfunding (ICO) or crowdsale and selling shares in a
blockchain organization
• Use it to create a virtual organization, country, economy,
business with smart contracts
• More: https://ethereum.org/
41© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• Contract-oriented language used to implement smart
contracts in the Ethereum Virtual Machine (EVM)
• EVM is the runtime environment for smart contracts.
• Use REMIX to create smart contracts without installations.
• Otherway download the file:
• https://github.com/ethereum/browser-solidity/tree/gh-pages
• To work locally you need Node.js
• For solidity details see: https://solidity.readthedocs.io/en/develop/
• For DApps examples: https://github.com/ethereum/dapp-bin
• Or: https://www.stateofthedapps.com/
• Solidity
42© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• IDE – Integrated Development Environment used to create
smart contracts online
• Used to develop, debug, access properties and optimize
solidity codes in smart contracts and DApps.
• Details about remix: http://remix.readthedocs.io/en/latest/• Solidity
• Remix
43© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• Solidity
• Remix
List all the
files in your
browser
44© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• Solidity
• Remix
Compile
contracts if
you change it
Disable autocompilation
A list of compilation
erros and warnings
45© Copyright 2016 GBCS LLC
Smart
Contracts
• Ethereum
• Solidity
• Remix
Three environments:
• JavaScript VM
• Injected Provider
• Web3 Provider
All the accounts associated
to current environment
Gas limit used to
all transactions
Value to each
transaction
created
Used to compiled
contracts
List of pending
transactions

More Related Content

What's hot

Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshellDaniel Chan
 
Crypto currency presentation
Crypto currency presentationCrypto currency presentation
Crypto currency presentationobaid r
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technologyRATAN AGARWALA
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Edureka!
 
blockchain governance : opportunities and challenges
 blockchain governance : opportunities and challenges blockchain governance : opportunities and challenges
blockchain governance : opportunities and challengesRachid Meziani, PhD, CGEIT, PMP
 
Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners 101 Blockchains
 
Blockchain
BlockchainBlockchain
BlockchainLiam Moore
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain mohammad alkhalil
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
Cryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory EnvironmentCryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory EnvironmentPriyab Satoshi
 
Advantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoinAdvantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoinTabish Ansar
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Animoca Brands Presentation on TGV
Animoca Brands Presentation on TGVAnimoca Brands Presentation on TGV
Animoca Brands Presentation on TGVAnimoca Brands
 

What's hot (20)

Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
Crypto currency presentation
Crypto currency presentationCrypto currency presentation
Crypto currency presentation
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
blockchain governance : opportunities and challenges
 blockchain governance : opportunities and challenges blockchain governance : opportunities and challenges
blockchain governance : opportunities and challenges
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Bitcoin & Bitcoin Mining
Bitcoin & Bitcoin MiningBitcoin & Bitcoin Mining
Bitcoin & Bitcoin Mining
 
BLOCK CHAIN
BLOCK CHAINBLOCK CHAIN
BLOCK CHAIN
 
Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners
 
Erc 721 tokens
Erc 721 tokensErc 721 tokens
Erc 721 tokens
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Cryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory EnvironmentCryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory Environment
 
Advantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoinAdvantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoin
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Animoca Brands Presentation on TGV
Animoca Brands Presentation on TGVAnimoca Brands Presentation on TGV
Animoca Brands Presentation on TGV
 

Similar to BLOCKCHAIN INTRO Introduction to Blockchain Technology and Cryptocurrency

Blockchain and Cryptocurrencies
Blockchain and CryptocurrenciesBlockchain and Cryptocurrencies
Blockchain and CryptocurrenciesnimeshQ
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014WeKCo Coworking
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?Suraj Bora
 
Blockchains
BlockchainsBlockchains
BlockchainsIan Blum
 
Idea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesIdea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesRoger Royse
 
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 GCCZeyad T. Al Mudhaf
 
IP Considerations for Blockchain Technology
IP Considerations for Blockchain TechnologyIP Considerations for Blockchain Technology
IP Considerations for Blockchain TechnologyNelson Rosario
 
Blockchain and Crypto 101 - October 2017
Blockchain and Crypto 101 - October 2017Blockchain and Crypto 101 - October 2017
Blockchain and Crypto 101 - October 2017đź”—Audrey Chaing
 
Nov 2 security for blockchain and analytics ulf mattsson 2020 nov 2b
Nov 2 security for blockchain and analytics   ulf mattsson 2020 nov 2bNov 2 security for blockchain and analytics   ulf mattsson 2020 nov 2b
Nov 2 security for blockchain and analytics ulf mattsson 2020 nov 2bUlf Mattsson
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & EthereumBlockchainHub Graz
 
Introduction to Blockchain and Cryptocurrencies
Introduction to Blockchain  and CryptocurrenciesIntroduction to Blockchain  and Cryptocurrencies
Introduction to Blockchain and CryptocurrenciesNikhil D Prince
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinM Shamim Iqbal
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptxMeetPBarasara
 
An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.SanjeebSamanta1
 
BlockChain Technology - Technology Behind Bitcoin and other Cryptocurrency
BlockChain Technology - Technology Behind Bitcoin and other CryptocurrencyBlockChain Technology - Technology Behind Bitcoin and other Cryptocurrency
BlockChain Technology - Technology Behind Bitcoin and other CryptocurrencyYashwanth Reddy
 

Similar to BLOCKCHAIN INTRO Introduction to Blockchain Technology and Cryptocurrency (20)

Blockchain and Cryptocurrencies
Blockchain and CryptocurrenciesBlockchain and Cryptocurrencies
Blockchain and Cryptocurrencies
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?
 
Blockchains
BlockchainsBlockchains
Blockchains
 
Blockchain
BlockchainBlockchain
Blockchain
 
Idea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesIdea To IPO Blockchain Slides
Idea To IPO Blockchain Slides
 
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
 
IP Considerations for Blockchain Technology
IP Considerations for Blockchain TechnologyIP Considerations for Blockchain Technology
IP Considerations for Blockchain Technology
 
Blockchain and Crypto 101 - October 2017
Blockchain and Crypto 101 - October 2017Blockchain and Crypto 101 - October 2017
Blockchain and Crypto 101 - October 2017
 
Nov 2 security for blockchain and analytics ulf mattsson 2020 nov 2b
Nov 2 security for blockchain and analytics   ulf mattsson 2020 nov 2bNov 2 security for blockchain and analytics   ulf mattsson 2020 nov 2b
Nov 2 security for blockchain and analytics ulf mattsson 2020 nov 2b
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
 
Introduction to Blockchain and Cryptocurrencies
Introduction to Blockchain  and CryptocurrenciesIntroduction to Blockchain  and Cryptocurrencies
Introduction to Blockchain and Cryptocurrencies
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptx
 
Blockchain and Banking
Blockchain and BankingBlockchain and Banking
Blockchain and Banking
 
An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.
 
BlockChain Technology - Technology Behind Bitcoin and other Cryptocurrency
BlockChain Technology - Technology Behind Bitcoin and other CryptocurrencyBlockChain Technology - Technology Behind Bitcoin and other Cryptocurrency
BlockChain Technology - Technology Behind Bitcoin and other Cryptocurrency
 
BITCOIN EXPLAINED
BITCOIN EXPLAINEDBITCOIN EXPLAINED
BITCOIN EXPLAINED
 

Recently uploaded

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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

BLOCKCHAIN INTRO Introduction to Blockchain Technology and Cryptocurrency

  • 1. 1© Copyright 2016 GBCS LLC Introduction to Blockchain Technology and Cryptocurrency
  • 2. 2© Copyright 2016 GBCS LLC • Blockchain • What is it? • How it works • Use Cases • Cryptocurrencies • Smart Contracts • Ethereum • Solidity • Remix Introduction
  • 3. 3© Copyright 2016 GBCS LLC • Cryptographically Secure Database • Information is permanent • Distributed and Decentralized database • Uncorrupted • Transparent → Self-auditing system Blockchain What is it?
  • 4. 4© Copyright 2016 GBCS LLC Blockchain Main features • Governance: • Independent or Company Owned • Mode of operation: • Public + Permission less: Bitcoin, Ethereum, Monero, Dash • Private + Permissioned: Banks, Monax, Multichain • Type of record: • Money, Assets, Commands, Intellectual Property… • Smart Contract What is it?
  • 5. 5© Copyright 2016 GBCS LLC How it works? Blockchain
  • 6. 6© Copyright 2016 GBCS LLC Combination of 3 technologiesBlockchain How it works?
  • 7. 7© Copyright 2016 GBCS LLC Cryptography Blockchain • Is a mathematical method of protecting information. • Use a encryption algorithm to create a cryptography information • You need a key to return to original message. • Cryptocurrencies use different algorithms to cryptography How it works?Cryptography
  • 8. 8© Copyright 2016 GBCS LLC Cryptography Blockchain Some algorithm used in cryptocurrencies • SHA256: • Bitcoin, Mastercoin, Namecoin, Zetacoin, Acoin. • Scrypt: • Dogecoin, Litecoin, Topcoin • Skein: • Digibyte, Xedoscoin • X11: • Dash, Crevacoin, Startcoin • X13: • Navcoin, Networkcoin How it works?Cryptography
  • 9. 9© Copyright 2016 GBCS LLC Cryptography Blockchain • The use of different string results in different “hash” • The use of different hash function results in different “hash” How it works?Cryptography
  • 10. 10© Copyright 2016 GBCS LLC Combination of 3 technologiesBlockchain How it works?
  • 11. 11© Copyright 2016 GBCS LLC P2P Network Blockchain • Peer-to-peer network is one in which more than 2 PCs share information, data or access without a central server. Is a decentralized communication model. • In a blockchain technology the P2P is used to share all transactions with the participants (nodes) and there’s no central record system. How it works?P2P network
  • 12. 12© Copyright 2016 GBCS LLC P2P Network - Nodes Blockchain How it works? • Join Voluntarily = Decentralized + Open • Invited to Join = Private/Permissioned • Each participant get a full copy (download) of the entire blockchain and store it in a personal computer (nodes) • Node’s function: Validate and Relay Transaction = Consensus • In Bitcoin Nodes = Miners P2P network
  • 13. 13© Copyright 2016 GBCS LLC Combination of 3 technologiesBlockchain How it works?
  • 14. 14© Copyright 2016 GBCS LLC Game Theory Blockchain How it works? Mining = Competing to win “prize” by solving computational puzzles. Puzzles = computational process of calculating a certain hash. How to Achieve Distributed Consensus? Different Algorithms Game Theory Proof-of-Work: Computational intensive puzzles • High energy cost Proof of Stake: • Randomized block selection or selection based on “stake” (amount of coin owed and time). PBFT – Practical Bizantine Fault Tolerance DPoS – Delegated Proof-of-Stake
  • 15. 15© Copyright 2016 GBCS LLC Hashrate distribution - Bitcoin Blockchain How it works?Game Theory https://bitnodes.earn.com/nodes/live-map/
  • 16. 16© Copyright 2016 GBCS LLC Blockchain How it works?Game Theory
  • 17. 17© Copyright 2016 GBCS LLC What is PoW? Blockchain How it works?Game Theory Block Header – Complete Bitcoin https://blockchain.info/ The “fingerprint” of the block SHA256 (“block header”)
  • 18. 18© Copyright 2016 GBCS LLC What is PoW? Blockchain How it works?Game Theory https://bitcoin.org/en/developer-reference#constant-and-defaults
  • 19. 19© Copyright 2016 GBCS LLC What is PoW? Blockchain How it works?Game Theory https://bitcoin.org/en/developer-reference#constant-and-defaults
  • 20. 20© Copyright 2016 GBCS LLC What is PoW? Blockchain How it works?Game Theory Block Header – Incomplete Bitcoin https://blockchain.info/ The “fingerprint” of the block SHA256 (“block header”) Need to be calculate by the nodes
  • 21. 21© Copyright 2016 GBCS LLC What is PoW? Blockchain How it works?Game Theory Using Python to understand the PoW
  • 22. 22© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 23. 23© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 24. 24© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 25. 25© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 26. 26© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 27. 27© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 28. 28© Copyright 2016 GBCS LLC Steps Blockchain How it works?
  • 29. 29© Copyright 2016 GBCS LLC • Blockchain • What is it? • How it works • Use Cases • Cryptocurrencies • Smart Contracts • Ethereum • Solidity • Remix Introduction
  • 30. 30© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • First Digital Currency • Established in Jan/03/2009 with the “genesis block” • Independent, public, permission less • Distributed ledgers • Uses cryptography as a method to verify transactions and regulate the generation of further units of bitcoin: SHA256 • Consensus: POW • Limited amount of currency: 21 millions BTC • See details of bitcoin blockchain: https://blockchain.info/
  • 31. 31© Copyright 2016 GBCS LLC Each block contains among other informations: • The block`s hash: that is the “fingerprint”. If you change the information inside the block, the hash changes too; • Timestamp (Y/M/D:h:m:s) and any other information that you might want to use. • The Merkle Tree: group of transactions • The previous hash: links the actual block to the previous block creating the “blockchain”. Use Cases Crypto- Currencies • Bitcoin
  • 32. 32© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • Altcoin • Alternative Coin are alternative cryptocurrencies. Any other than Bitcoin and can use different structures: • other hash functions (SHA256, Scrypt, X11, NIST5…) • use different algorithms than PoW and some can be mined using a simple CPU • unlimited or limited supply of currencies • Linked to projects or business. • Today there’s more than 1k altcoins • For a list see: https://coinmarketcap.com/all/views/all/
  • 33. 33© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • Altcoin • Token • In software development means a authentication signature issued by a server. • You can use this signature for a limited time or repetitions. • Can be issued by Government to tax payers or by a company to supply chains. • Main difference between altcoins and tokens: structure. • Coins are separate currencies with their own separate blockchain • Tokens facilitates the creation of decentralized applications. Represent a asset or utility (commodity, loyalty points or even cryptocurrencies)
  • 34. 34© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • Altcoin • Token • ICO • Initial Coin Offering is a different way of crowdfunding projects using a new crypto-coin or crypto-token. • The first ICO was Riple (2013) that issued tokens to fund a new Project. After this, the token was converted to a coin (XRP) • Another ICO was ethereum (ETH) that created a platform to unleashed the power of smart contracts • Inside this platform you can create a new token (or crypto-coin) and your own blockchain structure using smart contracts.
  • 35. 35© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • Altcoin • Token • ICO • Price is established by the company in the Project (White Paper) • ICO-token: • Create rights to a specific Project and can have a limited time to end • Can be convert in a coin in future, or not! • ICO-coin: • limited or unlimited number of coins • After the ICO round it finishes with the token or the coin traded in the crypto-Market • More about ICO: https://icostats.com/ or https://ico- list.com/
  • 36. 36© Copyright 2016 GBCS LLC Use Cases Crypto- Currencies • Bitcoin • Altcoin • Token • ICO • Is the most importante part in the ICO process • Must contain (minimal requeriments): • Project details as timeline (calendar), cost, technology, Market analysis, projections, use of the Technologies talk about redemption process, risks and security • Sale: roadmap of the ICO • Blockchain model with details of the smart contract • Token and coin distribution with price, total amount of emission, share of the total Project funding by the ICO • Team members • White Paper
  • 37. 37© Copyright 2016 GBCS LLC • Blockchain • What is it? • How it works • Use Cases • Cryptocurrencies • Smart Contracts • Ethereum • Solidity • Remix Introduction
  • 38. 38© Copyright 2016 GBCS LLC Smart Contracts SMART CONTRACTS
  • 39. 39© Copyright 2016 GBCS LLC Smart Contracts • First proposed in 1994 (Nick Szabo) • Put the terms of the agreement, penalties, tax, fee, time and any information important inside a contract in lines of code • Are self-executing, anonymous, don`t need central authority and permit trusted transactions • Can be used to automate routine process reducing transaction cost with more security • Can be used to facilitate transactions, eliminate intermediaries, create a more transparent system avoiding lawyers and accountants and to crowdfunding as ICO
  • 40. 40© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • Decentralized platform that runs smart contracts created by the Ethereum Foundation (Swiss nonprofit organization) • Presale in August 2014 and that resulted in a cryptocurrency: the ether (ETH) • Can use the platform to issue token or crypto-coin and build a crowdfunding (ICO) or crowdsale and selling shares in a blockchain organization • Use it to create a virtual organization, country, economy, business with smart contracts • More: https://ethereum.org/
  • 41. 41© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • Contract-oriented language used to implement smart contracts in the Ethereum Virtual Machine (EVM) • EVM is the runtime environment for smart contracts. • Use REMIX to create smart contracts without installations. • Otherway download the file: • https://github.com/ethereum/browser-solidity/tree/gh-pages • To work locally you need Node.js • For solidity details see: https://solidity.readthedocs.io/en/develop/ • For DApps examples: https://github.com/ethereum/dapp-bin • Or: https://www.stateofthedapps.com/ • Solidity
  • 42. 42© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • IDE – Integrated Development Environment used to create smart contracts online • Used to develop, debug, access properties and optimize solidity codes in smart contracts and DApps. • Details about remix: http://remix.readthedocs.io/en/latest/• Solidity • Remix
  • 43. 43© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • Solidity • Remix List all the files in your browser
  • 44. 44© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • Solidity • Remix Compile contracts if you change it Disable autocompilation A list of compilation erros and warnings
  • 45. 45© Copyright 2016 GBCS LLC Smart Contracts • Ethereum • Solidity • Remix Three environments: • JavaScript VM • Injected Provider • Web3 Provider All the accounts associated to current environment Gas limit used to all transactions Value to each transaction created Used to compiled contracts List of pending transactions