SlideShare a Scribd company logo
1 of 42
Blockchain 2
From Simple Financial Transactions to Smart
Contracts
Agenda
• Blockchain Reminder
• What is Blockchain 2
• Ethereum
• Ethereum Components
• SmartContracts
• How SmartContracts Work
• Ethereum Advantages
• Ethereum Disadvantages
• Smart Contract DEMO
Blockchain
Reminder
Blockchain
• Bitcoin built on blockchain
• Financial transactions
• Limited tasks
• Main Objectives to eliminate intermediaries and
unnecessary fees by making decentralized
transactions on a distributed ledger
Blockchain 2
Blockchain 2
• Still capable of doing the financial transactions
• Plus making complex operations on top of that
• Complex Operations can be built as needed and
distributed on the blockchain network
• These Complex Operations are programs . Yes a
developer can code a program and upload it to
the blockchain network
• Mainly these programs called SmartContracts
What is a Smart Contract
• Computer program code
• Capable of facilitating, executing and enforcing
the performance of an agreement
Legal Contract
• Contains Legal Language (written by Lawyers)
• Heavily rely on third parties for enforcement
• Enforcement is very time consuming
• Very Ambiguous
• Lengthy and Expensive
• If no fulfillment by any of the parties - going to
court
Smart Contract Definition
• Program Created by Computer Programmers
• Written in a digital code (programing language)
• States the Rules
• States the Obligations
• Automatically Executed
Smart Contract Characteristics
• Deterministic
Whoever runs it gives the same value
• Immutable
Once deployed can’t be changed
• Verifiable
Gets unique address and can be verified by the interested
parties before using it
Smart Contract Features
• Speed (Near Real Time)
• Accurate
• Low Risk
• Fewer Intermediaries (No need for escrow)
• Lower Cost . Which leads to New Business
Models
Smart Contract Components
• Code
Where you code the logic of having inputs, fulfilling rules
and taking actions
• Distributed Ledger
Similar to a transaction the smart contract is encrypted and
distributed to contributors with a machine (decentralized)
• Execution
Once the contract is executed it is distributed on a ledger
and monitor the compliance to take action
Ethereum
What is Ethereum
At its simplest, Ethereum is an open software platform
based on blockchain technology that enables developers to
build and deploy decentralized applications
the Ethereum blockchain focuses on running the programming
code of any decentralized application
“Ethereum is a decentralized platform that runs smart contracts:
applications that run exactly as programmed without any possibility
of downtime, censorship, fraud or third party interference. These
Ethereum Components
• Ethereum Virtual Machine (EVM)
• Swarm - similar to BitTorrent app split the files into chunks but
incentivized by ether
• Whisper - secure messaging protocol between nodes
• Solidity - javascript like programing language to write smart
contacts
• Bitcoin blockchain has addresses
• Ethereum has accounts
• Account that only store ETH (Externally Owned Accounts -
EOA)
• Account stores ETH and Program (SC) - once the SC
uploaded to the network waits to be activated. The SC got
activated when sending ETH into it
• Once the Smart Contract is activated, it keeps monitoring for
events, milestones or conditions to occur
Bitcoin VS Ethereum
Bitcoin
Global network
of computers
used mainly for
processing
transactions
No
Programming
Language
Update
chain every
~10 min
BTC
21 M Supply
Original
Crypto
Currency
(Financial by
Design)
Ethereum
Platform with
programing
language to
create
programs (SC)
to create DApps
DAO
(150M ETH Held)
$50M stolen
Reset the Chain
before the 50M
were stolen
Update the
chain every
~30 sec
ETH
No Limit
Designed for
computer
power
payments
Ethereum
Classic
Continued
without reset
the chain
Code is LAW
without
intermediary
Smaller
Community
Smaller
Computing
Power
ETH Classic
DApps
• Decentralized Apps
• No Central Server
Centralized
App
Installed and Run
on Central Server
Hacked - all
data
Failure - entire
app is down
Sensorship -
can be blocked
Computer
Power
(more users -
slower)
DApps
On Multiple
Computers
Has to Hack
Majority
Failure - connect
to another
computer
To block - needs
to be blocked
from the majority
Computer
power
distributed
Blockchain
DApps
Operate Similar
to DApps Open Source
Run on Blockchain
allows Additional
Functionality
It has a token to
cover the cost of
computer power
Changes to the app
decided by the
majority - controlled
by the Majority
What is a smart contract
Smart contract is just a phrase used to describe
computer code that can facilitate the exchange of
money, content, property, shares, or anything of value
When running on the blockchain a smart contract
becomes like a self-operating computer program that
automatically executes when specific conditions are met
Written in Solidity Programming Language and runs
on the Ethereum virtual Machine EVM on ETH
How Smart Contracts Work
How Smart Contracts Work
How Smart Contracts Work
• Connected to ETH Crypto Currency
• Terms of the contract contains
• Payment Amount
• Compensation in case of failure to complete the
terms
• Payment would sent to the smart contract not the
seller
• Once the terms are fulfilled the money sent to the
seller and the ownership sent to the buyer
• If the terms failed to be fulfilled / expired the smart
contract rejects the transaction and sends the money
back to the buyer and the ownership to the seller
Uber VS Ether DApp
Uber
Save Credit Card info
within Uber
Uber Authorizes the
credit card for a
payment
When you take a car
to start a contract to
pay a certain amount
of money based on
your distance you
travel
When you finish the
trip the contract
executes and your
credit card is
automatically charged
CC takes fees for the
transaction
Ethereum DApp
You have an account
on ethereum network
which can send and
receive ETH (or
Wallet)
Smart Contract has
the driver and rider
parties and has clear
terms on the payment.
Once the ride starts,
the money sent to the
smart contract
Once the ride is done and if
the terms are fulfilled, smart
contract sends the money to
the driver and maybe some
If the ride terms fails, then
the smart contract returns
the money to the rider
The execution of the SC is
being compensated
New Methods for Funding
• Ethereum gave companies and developers to fund
while their growth
• Initial Coin Offering - possible before Ethereum
• Allows companies to develop applications and sells
tokens or coins that can be used in the application
• ICO before ethereum linked to the popularity of the
crypto currency
• ICO with ethereal linked to the popularity of the
application . If the application becomes popular and
widely used , then theoretically the tokens should
increase in value
• Companies can have funds without requiring Loans
or Venture Capitals Funding
Benefits of Ethereum
• Smart Contracts
Because smart contracts run on the blockchain, they run exactly as programmed
without any possibility of censorship, downtime, fraud or third party interference
• Greater ease and lower costs
• Ease of development and create applications
• Immutability – A third party cannot make any changes to data.
• Corruption & tamper proof – Apps are based on a network formed around the
principle of consensus, making censorship impossible.
• Secure – With no central point of failure and secured using cryptography,
applications are well protected against hacking attacks and fraudulent activities.
• Zero downtime – Apps never go down and can never be switched off.
Benefits of Ethereum
Disadvantages and Risks of Ethereum
• Not designed for real world payments
• New Technology - Still needs more time to be proven
• Badly written smart contract (written by humans) may
lead to exploits and steeling money - cant be argued!
obtaining a network consensus and rewriting the
underlying code
Disadvantages and Risks of Ethereum
• No free Applications
While social networks pays for hosting / computing and
users don’t however the personal data is the product. DApps
controlled by the users and it will be difficult to convince
users to pay for making any action on a decentralized social
network like / uploading images … etc
• ETH may not increase in value even if the application
gains popularity (speculators).
Speculators normally they don’t intend using the coins in the
app. The value of the token / point mainly depends on the
demand and supply of the token. High Supply depreciate the
value , hight demand appreciate the value
Disadvantages and Risks of Ethereum
• Not designed for real world payments
• ETH may not increase in value even if the
application gains popularity (speculators)
• Speculators normally they don’t intend using the
coins in the app
• The value of the token / point mainly depends on
the demand and supply of the token. High Supply
depreciate the value , hight demand appreciate
the value
Skyline
especially if connected to military
and government systems
GAS
• Internal pricing for running a smart contract
• Decouple from unit of ETH for computing and
from market value
• Originator of the transaction sets the price of the
GAS upfront
Wallet Types
Online Wallet/Web Wallet
These are wallets accessible over the internet with a web browser. These wallets are simple to set up and use for
cryptocurrency beginners, yet vulnerable to attacks.
Mobile Wallet
These are mobile software applications designed to hold cryptocurrencies. It’s usually developed to work with devices
that run Android and iOS operating systems. These wallets make cryptocurrency transactions easy, most especially “on
the go”.
Desktop Wallets
Also software applications for personal computers. This is to some extent considered more secure than the other two
types mentioned above (web & mobile wallets). Though these wallets create private keys offline, it’s necessary to
connect to the internet to have the software updated to display your actual fund (if any).
Hardware Wallets
These are special digital devices (called wallets), great for storing large cryptocurrencies you don’t need for everyday
use. Of course, you can also use it for daily use, it all depends on you. These wallets offer more security on
cryptocurrencies stored in them than all other types of wallets.
MultiSig Wallets
• Your multi-sig wallet is a smart contract living on the blockchain!
• Once the multi-sig wallet has been deployed, Ether can be sent to it just
like to any other Ethereum address.
• The weird bit is that they each have to use a normal wallet to talk to the
multi-sig wallet.
• Before creating a multisig wallet - you need to
• A list of people who are allowed to do things (Tom, John and Harry)
• Rules on how many of those people have to agree before it happens
• Once Tom has submitted -
submitTransaction(0x31EFd75bc0….fDab6a3F22,1000000000
,) he will get a message back from his wallet with a number or hash
code which is the transactionID. Tom has to communicate this
transactionID to Dick or Harry to get them to confirm it.
• Harry or John will confirm the transaction - function
confirmTransaction(uint transactionId)
DAO
• Decentralized Autonomous Organization
The government who votes for the contracts
Public and Transparent
When a transaction is placed, the DAO checks if A has
balance , withdraw and then set your new balance
DAO Attack !!
Multiple Transactions happened at the same time
Checks on the balance, it is valid! make a
withdraw then update the balance
Deposit the new amount and repeat
More $50M were withdrawn from the Ethereum
platform
Ethereum is moving to Proof Of Stake
Ethereum is moving to Proof Of Stake
• Lowers the overall energy and monetary cost
• No ASIC advantage
• Makes 51% attack harder: 51% attack happens when a group of
miners gain more than 50% of the world’s hashing power. Using
proof of stake negates this attack.
• Malicious-free validators: Any validator who has their funds locked
up in the blockchain would make sure that they are not adding any
wrong or malicious blocks to the chain, because that would mean
their entire stake invested would be taken away from them.
• Block creation: Makes the creation of newer blocks and the entire
process faster.
• Scalability: Makes the blockchain scalable by introducing the
concept of “sharding”
Writing a smart
contract DEMO
https://youtu.be/cDziE9ctFS0
Referenceshttps://blockgeeks.com/guides/ethereum/
https://www.amazon.com/Ethereum-Understanding-Blockchain-Decentralized-
Cryptocurrencies-ebook/dp/B078683DXR
https://www.slideshare.net/JrmeKehrli/blockchain-20-69472625
https://blockgeeks.com/guides/ethereum-developer/
https://blockgeeks.com/guides/decentralized-applications/
Thank You !
Qais Ammari
qais.ammari@triphop.com

More Related Content

What's hot

Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
DeFi - What it's all about
DeFi - What it's all aboutDeFi - What it's all about
DeFi - What it's all aboutChinmay Patel
 
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
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & EthereumAkshay Singh
 
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Simplilearn
 
List of Top 50 Companies Using Blockchain Technology
List of Top 50 Companies Using Blockchain TechnologyList of Top 50 Companies Using Blockchain Technology
List of Top 50 Companies Using Blockchain Technology101 Blockchains
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain workShishir Aryal
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Simplilearn
 
What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance zaarahary
 
Cryptocurrency
CryptocurrencyCryptocurrency
CryptocurrencyMZain17
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumMurughan Palaniachari
 
The Ethereum Experience
The Ethereum ExperienceThe Ethereum Experience
The Ethereum ExperienceEthereum
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureNuri Cankaya
 
Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?Jedha Bootcamp
 

What's hot (20)

Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
DeFi - What it's all about
DeFi - What it's all aboutDeFi - What it's all about
DeFi - What it's all about
 
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
 
DeFi PPT.pptx
DeFi PPT.pptxDeFi PPT.pptx
DeFi PPT.pptx
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
 
List of Top 50 Companies Using Blockchain Technology
List of Top 50 Companies Using Blockchain TechnologyList of Top 50 Companies Using Blockchain Technology
List of Top 50 Companies Using Blockchain Technology
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
 
What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on Ethereum
 
The Ethereum Experience
The Ethereum ExperienceThe Ethereum Experience
The Ethereum Experience
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on Azure
 
Stablecoin
StablecoinStablecoin
Stablecoin
 
Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?
 

Similar to Ethereum (Blockchain Network)

Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptxshraddhaphirke1
 
What is Ethereum? – A Complete Guide to Ethereum for Beginners
What is Ethereum? – A Complete Guide to Ethereum for BeginnersWhat is Ethereum? – A Complete Guide to Ethereum for Beginners
What is Ethereum? – A Complete Guide to Ethereum for BeginnersCoinGape
 
Blockchain Technology.ppt
Blockchain Technology.pptBlockchain Technology.ppt
Blockchain Technology.pptssuserc17add
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyHikaru34
 
Blockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysBlockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysWithTheBest
 
Ethereum Blockchain
Ethereum BlockchainEthereum Blockchain
Ethereum BlockchainXnews
 
Blockchain & decentralized finance (defi) | How blockchain technology is coup...
Blockchain & decentralized finance (defi) | How blockchain technology is coup...Blockchain & decentralized finance (defi) | How blockchain technology is coup...
Blockchain & decentralized finance (defi) | How blockchain technology is coup...Nidhi choraria
 
Introduction to Ethereum.pptx
Introduction to Ethereum.pptxIntroduction to Ethereum.pptx
Introduction to Ethereum.pptxNickjohn33
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshellDaniel Chan
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsimranakhtar83
 
Ethereum And Challenges In Building Its Infrastructure
Ethereum And Challenges In Building Its Infrastructure Ethereum And Challenges In Building Its Infrastructure
Ethereum And Challenges In Building Its Infrastructure Blockchain Council
 
The JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumThe JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumGreeceJS
 
Javascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentJavascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentBugSense
 
Top 7 Benefits Of Using Blockchain Technology For Mobile Apps
Top 7 Benefits Of Using Blockchain Technology For Mobile AppsTop 7 Benefits Of Using Blockchain Technology For Mobile Apps
Top 7 Benefits Of Using Blockchain Technology For Mobile AppsBlockchain Council
 
YEMChain vs. Ethereum: A Comprehensive Comparison
YEMChain vs. Ethereum: A Comprehensive ComparisonYEMChain vs. Ethereum: A Comprehensive Comparison
YEMChain vs. Ethereum: A Comprehensive ComparisonSteve Hodgkiss
 

Similar to Ethereum (Blockchain Network) (20)

Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
 
What is Ethereum? – A Complete Guide to Ethereum for Beginners
What is Ethereum? – A Complete Guide to Ethereum for BeginnersWhat is Ethereum? – A Complete Guide to Ethereum for Beginners
What is Ethereum? – A Complete Guide to Ethereum for Beginners
 
What is ethereum
What is ethereumWhat is ethereum
What is ethereum
 
Blockchain Technology.ppt
Blockchain Technology.pptBlockchain Technology.ppt
Blockchain Technology.ppt
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
All About Ethereum
All About EthereumAll About Ethereum
All About Ethereum
 
Blockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysBlockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSys
 
Ethereum
EthereumEthereum
Ethereum
 
Ethereum Blockchain
Ethereum BlockchainEthereum Blockchain
Ethereum Blockchain
 
Blockchain & decentralized finance (defi) | How blockchain technology is coup...
Blockchain & decentralized finance (defi) | How blockchain technology is coup...Blockchain & decentralized finance (defi) | How blockchain technology is coup...
Blockchain & decentralized finance (defi) | How blockchain technology is coup...
 
Introduction to Ethereum.pptx
Introduction to Ethereum.pptxIntroduction to Ethereum.pptx
Introduction to Ethereum.pptx
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering students
 
Ethereum And Challenges In Building Its Infrastructure
Ethereum And Challenges In Building Its Infrastructure Ethereum And Challenges In Building Its Infrastructure
Ethereum And Challenges In Building Its Infrastructure
 
The JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumThe JavaScript toolset for development on Ethereum
The JavaScript toolset for development on Ethereum
 
Javascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentJavascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract development
 
How to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contractHow to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contract
 
Top 7 Benefits Of Using Blockchain Technology For Mobile Apps
Top 7 Benefits Of Using Blockchain Technology For Mobile AppsTop 7 Benefits Of Using Blockchain Technology For Mobile Apps
Top 7 Benefits Of Using Blockchain Technology For Mobile Apps
 
YEMChain vs. Ethereum: A Comprehensive Comparison
YEMChain vs. Ethereum: A Comprehensive ComparisonYEMChain vs. Ethereum: A Comprehensive Comparison
YEMChain vs. Ethereum: A Comprehensive Comparison
 

Recently uploaded

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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"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
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 

Recently uploaded (20)

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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
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)
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
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
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"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
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 

Ethereum (Blockchain Network)

  • 1. Blockchain 2 From Simple Financial Transactions to Smart Contracts
  • 2. Agenda • Blockchain Reminder • What is Blockchain 2 • Ethereum • Ethereum Components • SmartContracts • How SmartContracts Work • Ethereum Advantages • Ethereum Disadvantages • Smart Contract DEMO
  • 4. Blockchain • Bitcoin built on blockchain • Financial transactions • Limited tasks • Main Objectives to eliminate intermediaries and unnecessary fees by making decentralized transactions on a distributed ledger
  • 6. Blockchain 2 • Still capable of doing the financial transactions • Plus making complex operations on top of that • Complex Operations can be built as needed and distributed on the blockchain network • These Complex Operations are programs . Yes a developer can code a program and upload it to the blockchain network • Mainly these programs called SmartContracts
  • 7. What is a Smart Contract • Computer program code • Capable of facilitating, executing and enforcing the performance of an agreement
  • 8. Legal Contract • Contains Legal Language (written by Lawyers) • Heavily rely on third parties for enforcement • Enforcement is very time consuming • Very Ambiguous • Lengthy and Expensive • If no fulfillment by any of the parties - going to court
  • 9. Smart Contract Definition • Program Created by Computer Programmers • Written in a digital code (programing language) • States the Rules • States the Obligations • Automatically Executed
  • 10. Smart Contract Characteristics • Deterministic Whoever runs it gives the same value • Immutable Once deployed can’t be changed • Verifiable Gets unique address and can be verified by the interested parties before using it
  • 11. Smart Contract Features • Speed (Near Real Time) • Accurate • Low Risk • Fewer Intermediaries (No need for escrow) • Lower Cost . Which leads to New Business Models
  • 12. Smart Contract Components • Code Where you code the logic of having inputs, fulfilling rules and taking actions • Distributed Ledger Similar to a transaction the smart contract is encrypted and distributed to contributors with a machine (decentralized) • Execution Once the contract is executed it is distributed on a ledger and monitor the compliance to take action
  • 14. What is Ethereum At its simplest, Ethereum is an open software platform based on blockchain technology that enables developers to build and deploy decentralized applications the Ethereum blockchain focuses on running the programming code of any decentralized application “Ethereum is a decentralized platform that runs smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third party interference. These
  • 15.
  • 16. Ethereum Components • Ethereum Virtual Machine (EVM) • Swarm - similar to BitTorrent app split the files into chunks but incentivized by ether • Whisper - secure messaging protocol between nodes • Solidity - javascript like programing language to write smart contacts • Bitcoin blockchain has addresses • Ethereum has accounts • Account that only store ETH (Externally Owned Accounts - EOA) • Account stores ETH and Program (SC) - once the SC uploaded to the network waits to be activated. The SC got activated when sending ETH into it • Once the Smart Contract is activated, it keeps monitoring for events, milestones or conditions to occur
  • 17. Bitcoin VS Ethereum Bitcoin Global network of computers used mainly for processing transactions No Programming Language Update chain every ~10 min BTC 21 M Supply Original Crypto Currency (Financial by Design) Ethereum Platform with programing language to create programs (SC) to create DApps DAO (150M ETH Held) $50M stolen Reset the Chain before the 50M were stolen Update the chain every ~30 sec ETH No Limit Designed for computer power payments Ethereum Classic Continued without reset the chain Code is LAW without intermediary Smaller Community Smaller Computing Power ETH Classic
  • 18. DApps • Decentralized Apps • No Central Server Centralized App Installed and Run on Central Server Hacked - all data Failure - entire app is down Sensorship - can be blocked Computer Power (more users - slower) DApps On Multiple Computers Has to Hack Majority Failure - connect to another computer To block - needs to be blocked from the majority Computer power distributed Blockchain DApps Operate Similar to DApps Open Source Run on Blockchain allows Additional Functionality It has a token to cover the cost of computer power Changes to the app decided by the majority - controlled by the Majority
  • 19. What is a smart contract Smart contract is just a phrase used to describe computer code that can facilitate the exchange of money, content, property, shares, or anything of value When running on the blockchain a smart contract becomes like a self-operating computer program that automatically executes when specific conditions are met Written in Solidity Programming Language and runs on the Ethereum virtual Machine EVM on ETH
  • 20.
  • 23. How Smart Contracts Work • Connected to ETH Crypto Currency • Terms of the contract contains • Payment Amount • Compensation in case of failure to complete the terms • Payment would sent to the smart contract not the seller • Once the terms are fulfilled the money sent to the seller and the ownership sent to the buyer • If the terms failed to be fulfilled / expired the smart contract rejects the transaction and sends the money back to the buyer and the ownership to the seller
  • 24. Uber VS Ether DApp Uber Save Credit Card info within Uber Uber Authorizes the credit card for a payment When you take a car to start a contract to pay a certain amount of money based on your distance you travel When you finish the trip the contract executes and your credit card is automatically charged CC takes fees for the transaction Ethereum DApp You have an account on ethereum network which can send and receive ETH (or Wallet) Smart Contract has the driver and rider parties and has clear terms on the payment. Once the ride starts, the money sent to the smart contract Once the ride is done and if the terms are fulfilled, smart contract sends the money to the driver and maybe some If the ride terms fails, then the smart contract returns the money to the rider The execution of the SC is being compensated
  • 25. New Methods for Funding • Ethereum gave companies and developers to fund while their growth • Initial Coin Offering - possible before Ethereum • Allows companies to develop applications and sells tokens or coins that can be used in the application • ICO before ethereum linked to the popularity of the crypto currency • ICO with ethereal linked to the popularity of the application . If the application becomes popular and widely used , then theoretically the tokens should increase in value • Companies can have funds without requiring Loans or Venture Capitals Funding
  • 26. Benefits of Ethereum • Smart Contracts Because smart contracts run on the blockchain, they run exactly as programmed without any possibility of censorship, downtime, fraud or third party interference • Greater ease and lower costs • Ease of development and create applications • Immutability – A third party cannot make any changes to data. • Corruption & tamper proof – Apps are based on a network formed around the principle of consensus, making censorship impossible. • Secure – With no central point of failure and secured using cryptography, applications are well protected against hacking attacks and fraudulent activities. • Zero downtime – Apps never go down and can never be switched off.
  • 28. Disadvantages and Risks of Ethereum • Not designed for real world payments • New Technology - Still needs more time to be proven • Badly written smart contract (written by humans) may lead to exploits and steeling money - cant be argued! obtaining a network consensus and rewriting the underlying code
  • 29. Disadvantages and Risks of Ethereum • No free Applications While social networks pays for hosting / computing and users don’t however the personal data is the product. DApps controlled by the users and it will be difficult to convince users to pay for making any action on a decentralized social network like / uploading images … etc • ETH may not increase in value even if the application gains popularity (speculators). Speculators normally they don’t intend using the coins in the app. The value of the token / point mainly depends on the demand and supply of the token. High Supply depreciate the value , hight demand appreciate the value
  • 30. Disadvantages and Risks of Ethereum • Not designed for real world payments • ETH may not increase in value even if the application gains popularity (speculators) • Speculators normally they don’t intend using the coins in the app • The value of the token / point mainly depends on the demand and supply of the token. High Supply depreciate the value , hight demand appreciate the value
  • 31. Skyline especially if connected to military and government systems
  • 32. GAS • Internal pricing for running a smart contract • Decouple from unit of ETH for computing and from market value • Originator of the transaction sets the price of the GAS upfront
  • 33. Wallet Types Online Wallet/Web Wallet These are wallets accessible over the internet with a web browser. These wallets are simple to set up and use for cryptocurrency beginners, yet vulnerable to attacks. Mobile Wallet These are mobile software applications designed to hold cryptocurrencies. It’s usually developed to work with devices that run Android and iOS operating systems. These wallets make cryptocurrency transactions easy, most especially “on the go”. Desktop Wallets Also software applications for personal computers. This is to some extent considered more secure than the other two types mentioned above (web & mobile wallets). Though these wallets create private keys offline, it’s necessary to connect to the internet to have the software updated to display your actual fund (if any). Hardware Wallets These are special digital devices (called wallets), great for storing large cryptocurrencies you don’t need for everyday use. Of course, you can also use it for daily use, it all depends on you. These wallets offer more security on cryptocurrencies stored in them than all other types of wallets.
  • 34. MultiSig Wallets • Your multi-sig wallet is a smart contract living on the blockchain! • Once the multi-sig wallet has been deployed, Ether can be sent to it just like to any other Ethereum address. • The weird bit is that they each have to use a normal wallet to talk to the multi-sig wallet. • Before creating a multisig wallet - you need to • A list of people who are allowed to do things (Tom, John and Harry) • Rules on how many of those people have to agree before it happens • Once Tom has submitted - submitTransaction(0x31EFd75bc0….fDab6a3F22,1000000000 ,) he will get a message back from his wallet with a number or hash code which is the transactionID. Tom has to communicate this transactionID to Dick or Harry to get them to confirm it. • Harry or John will confirm the transaction - function confirmTransaction(uint transactionId)
  • 35. DAO • Decentralized Autonomous Organization The government who votes for the contracts Public and Transparent When a transaction is placed, the DAO checks if A has balance , withdraw and then set your new balance
  • 36. DAO Attack !! Multiple Transactions happened at the same time Checks on the balance, it is valid! make a withdraw then update the balance Deposit the new amount and repeat More $50M were withdrawn from the Ethereum platform
  • 37. Ethereum is moving to Proof Of Stake
  • 38. Ethereum is moving to Proof Of Stake • Lowers the overall energy and monetary cost • No ASIC advantage • Makes 51% attack harder: 51% attack happens when a group of miners gain more than 50% of the world’s hashing power. Using proof of stake negates this attack. • Malicious-free validators: Any validator who has their funds locked up in the blockchain would make sure that they are not adding any wrong or malicious blocks to the chain, because that would mean their entire stake invested would be taken away from them. • Block creation: Makes the creation of newer blocks and the entire process faster. • Scalability: Makes the blockchain scalable by introducing the concept of “sharding”
  • 42. Thank You ! Qais Ammari qais.ammari@triphop.com