SlideShare a Scribd company logo
1 of 58
Smart contractA
What’s in it for you?
Why smart contract?
What is a smart contract?
Solidity for smart contract
Advantages of smart contract
Blockchain implementation of smart contract
Voting process
Hospitals
Use case – Crowd funding smart contract
Traditional Contract
Why smart contract?
Two Parties ExecutionThird PartyContract
A B
Smart Contract
Why smart contract?
Two Parties ExecutionThird PartyContract
A B
x
Traditional Contract Smart contractVS
Why smart contract?
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Traditional Contract Smart contract
Why smart contract?
Government, lawyers etc.. None
1-3 days Minutes
Manual Process Automatic process
Unavailable Available
Difficult Easy
Limited Cryptographically Secure
Expensive Cheap
Manual process Digital Signature
Third Party
Execution time
Remittance
Transparency
Archiving
Security
Cost
Signature
VS
Demo
What is a smart contract?
What is a smart contract?
Consider a real life example where you are taking out a chocolate from a vending machine
You deposit a $2 note in a vending machine
What is a smart contract?
After that, you hit “A1” button
which is mapped against the
chocolate bar that you want to
buy
Consider a real life example where you are taking out a chocolate from a vending machine
You deposit a $2 note in a vending machine
What is a smart contract?
After that, you hit “A1” button
which is mapped against the
chocolate bar that you want to
buy
Consider a real life example where you are taking out a chocolate from a vending machine
You deposit a $2 note in a vending machine As a result, A lever in the vending machine
moves and pushes out the chocolate
Consider a real life example where you are taking out a chocolate from a vending machine
What is a smart contract?
After that you hit “A1” which is
mapped against the chocolate
bar that you want to buy
You insert a $20 note in a vending machine As a result, A lever in the vending machine
moves and pushes out the chocolate
Note
A smart contract is very similar to a vending machine
It eliminates the need of intermediaries and escrow services
What is a smart contract?
Smart contracts are self-executing contracts which contain the terms and conditions of an agreement
between the peers
What is a smart contract?
Smart contracts are self-executing contracts which contain the terms and conditions of an agreement
between the peers
The terms and
conditions of an
agreement is written in
code
What is a smart contract?
Smart contracts are self-executing contracts which contain the terms and conditions of an agreement
between the peers
The terms and
conditions of an
agreement is written in
code
It executes in blockchain’s
decentralized platform
These agreements
facilitate the exchange
of money, shares,
property etc.
What is a smart contract?
Let’s consider an example where Rachel is at the airport and her flight is delayed
Rachel
But this inconvenience could have been
beneficial to Rachel, as smart contract
insurance would ensure she is given a
compensation for the flight’s delay
What is a smart contract?
Let’s consider an example where Rachel is at the airport and her flight is delayed
Rachel
Wondering how smart contract can be
helpful here?
What is a smart contract?
It enables automatic
compensation when there is a
delay of two hours or more
AXA flight delay insurance is
one of the examples of
Ethereum smart contracts
The smart contract is linked
to the databases that record
flights’ status
Note: AXA is an insurance company
What is a smart contract?
A smart contract is created
based on the terms and
conditions
Compensation = Flight delay < 2 hours
-
Condition
What is a smart contract?
Based on the code, smart
contract holds the
company's money until a
certain condition is satisfied
A smart contract is created
based on the terms and
conditions
What is a smart contract?
This smart contract is
submitted to the nodes on
EVM for evaluation
Based on the code, smart
contract holds the
company's money until a
certain condition is satisfied
Note: EVM is a runtime compiler to execute smart contract’s code
A smart contract is created
based on the terms and
conditions
What is a smart contract?
This smart contract is
submitted to the nodes on
EVM for evaluation
All nodes on the network
executing the code using the
EVM must come to the same
result
Based on the code, smart
contract holds the
company's money until a
certain condition is satisfied
Note: The result is recorded on the distributed ledger
A smart contract is created
based on the terms and
conditions
What is a smart contract?
This smart contract is
submitted to the nodes on
EVM for evaluation
If the flight is delayed for two or
more hours, smart contract will
be self-executed and a
compensation amount will be
given to Rachel
Yes
Note: Smart contracts are immutable, so they won’t let the any person to alter the agreement
All nodes on the network
executing the code using the
EVM must come to the same
result
Based on the code, smart
contract holds the
company's money until a
certain condition is satisfied
A smart contract is created
based on the terms and
conditions
Demo
Solidity for smart contract
Solidity for smart contract
Here come’s the important question!
Q: What programming language does a smart contract use?
Solidity for smart contract
Here come’s the important question!
Q: What programming language does a smart contract use?
SerpentSolidity
They are the two widely used programming languages for writing Ethereum smart contracts
Solidity for smart contract
Here come’s the important question!
Q: What programming language does a smart contract use?
SerpentSolidity
However, on blockchain platform, solidity is widely used for implementing smart contracts
Solidity for smart contract
Solidity
Solidity is a high level programming language used for implementing smart contracts
Note: It enables to check the program at runtime rather than compile-time
Smart contract
Demo
Advantages of smart contract
Advantages of smart contract
The process executes
without the need of a third
party
No intermediaries
Advantages of smart contract
The process executes
without the need of a third
party
No intermediaries
Automated
They are automated with
the code which eliminates
manual effort for execution
Automated
They are automated with
the code which eliminates
manual effort for execution
Advantages of smart contract
The process executes
without the need of a third
party
No intermediaries
High Speed
Since smart contracts run
on programming code, the
speed of its execution is
higher than the traditional
contract
Automated
They are automated with
the code which eliminates
manual effort for execution
Advantages of smart contract
The process executes
without the need of a third
party
No intermediaries
High Speed
Since smart contracts run
on programming code, the
speed of its execution is
higher than the traditional
contract
Secure
As data is stored in the
decentralized system, the
chances of modifying data
is difficult
Automated
They are automated with
the code which eliminates
manual effort for execution
Advantages of smart contract
The process executes
without the need of a third
party
No intermediaries
High Speed
Since smart contracts run
on programming code, the
speed of its execution is
higher than the traditional
contract
Secure
As data is stored in the
decentralized system, the
chances of modifying data
is difficult
Accuracy
Based on the
requirements, terms and
conditions of a contract is
recorded accurately
Demo
Blockchain implementation of smart
contract
Blockchain implementation of smart contract
A centralized voting system
faces a lot of problems
when it comes to tracking
votes
Using Blockchain in voting process can eliminate malpractices
Blockchain implementations of smart contract
A smart contract is
introduced to eliminate
malpractices
Blockchain implementations of smart contract
Terms and conditions are
set in the contract
Note: Terms and condition: Each ID should be attributed to just one vote
Blockchain implementations of smart contract
The validation is done by
the users on the blockchain
network
Blockchain implementations of smart contract
Result: Every voters’ vote
gets recorded to the ledger
and the information cannot
be modified
Demo
Demo
Blockchain implementations of smart contract
Consider an example
where an individual who
purchases health
insurance is undergoing
treatment
Using Blockchain in hospitals can ease the payment process
Blockchain implementations of smart contract
Set up a smart contract with
an insurance policy and
place it in the blockchain
Blockchain implementations of smart contract
When required, smart
contract will be triggered by
itself
Blockchain implementations of smart contract
As a result, required amount
of payment from the
insurance company to the
hospital will be made
automatically
Demo
Demo
Demo
Use case – Crowdfunding smart contract
Use case - Crowdfunding smart contract
For such problems, smart
contract plays a major role
but who would lend money to
someone they don’t trust?
Suppose, you want to start a business then a lot of funding is required
Use case - Crowdfunding smart contract
but who would lend money to
someone they don’t trust?
With Ethereum, you can build a
smart contract that will hold a
contributor’s funds unless a given
date or goal is met
Note: Based on the result, the funds will be released to the contract
owners or will be sent back to the contributors
Suppose, you want to start a business then a lot of funding is required
Use case - Crowdfunding smart contract
Centralized crowdfunding
system has plenty of issues
with management systems
A DAO is utilized for
crowdfunding
Terms and conditions are
set in the contract
DAO
Every individual
participating in the
crowdfunding is given a
token
Every contribution get’s recorded on the
blockchain
Key Takeaways
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blockchain | Simplilearn

More Related Content

What's hot

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
101 Blockchains
 
Introduction To Solidity
Introduction To SolidityIntroduction To Solidity
Introduction To Solidity
101 Blockchains
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
101 Blockchains
 
6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now
101 Blockchains
 
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's hot (20)

Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications
 
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...
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
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
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basics
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Introduction To Solidity
Introduction To SolidityIntroduction To Solidity
Introduction To Solidity
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
 
Distributed Ledger Technology (DLT) beyond blockchain #BlockchainSubmit
Distributed Ledger Technology (DLT) beyond blockchain #BlockchainSubmitDistributed Ledger Technology (DLT) beyond blockchain #BlockchainSubmit
Distributed Ledger Technology (DLT) beyond blockchain #BlockchainSubmit
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for Libraries
 
6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now
 
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...
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
 
Blockchain ppt
Blockchain pptBlockchain ppt
Blockchain ppt
 

Similar to What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blockchain | Simplilearn

Similar to What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blockchain | Simplilearn (20)

Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerations
 
Blockchain smart contracts ethereum smart contract creation
Blockchain smart contracts   ethereum smart contract creationBlockchain smart contracts   ethereum smart contract creation
Blockchain smart contracts ethereum smart contract creation
 
The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained
 
Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain
 
Quick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart ContractsQuick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart Contracts
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Smart contracts an innovative tool
Smart contracts an innovative toolSmart contracts an innovative tool
Smart contracts an innovative tool
 
Smart contract development company blockchain developments
Smart contract development company   blockchain developmentsSmart contract development company   blockchain developments
Smart contract development company blockchain developments
 
Creating Smart Contract
Creating Smart ContractCreating Smart Contract
Creating Smart Contract
 
What is smart contract
What is smart contractWhat is smart contract
What is smart contract
 
Smartcontracts..pptx
Smartcontracts..pptxSmartcontracts..pptx
Smartcontracts..pptx
 
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
 
Smart contract saurabh
Smart contract saurabhSmart contract saurabh
Smart contract saurabh
 
Smart contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdf
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development company
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Smart contract and smart contract oracles
Smart contract and smart contract oraclesSmart contract and smart contract oracles
Smart contract and smart contract oracles
 
Smart contract and smart contract oracles
Smart contract and smart contract oraclesSmart contract and smart contract oracles
Smart contract and smart contract oracles
 
Smart contract and smart contracts oracles
Smart contract and smart contracts oracles Smart contract and smart contracts oracles
Smart contract and smart contracts oracles
 
Demystifying Smart Contracts
Demystifying Smart ContractsDemystifying Smart Contracts
Demystifying Smart Contracts
 

More from Simplilearn

What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
Simplilearn
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Simplilearn
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
Simplilearn
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Simplilearn
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
Simplilearn
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Simplilearn
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Simplilearn
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Simplilearn
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
Simplilearn
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
Simplilearn
 
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
Simplilearn
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
Simplilearn
 
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Simplilearn
 
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
Simplilearn
 
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
Simplilearn
 

More from Simplilearn (20)

ChatGPT in Cybersecurity
ChatGPT in CybersecurityChatGPT in Cybersecurity
ChatGPT in Cybersecurity
 
Whatis SQL Injection.pptx
Whatis SQL Injection.pptxWhatis SQL Injection.pptx
Whatis SQL Injection.pptx
 
Top 5 High Paying Cloud Computing Jobs in 2023
 Top 5 High Paying Cloud Computing Jobs in 2023  Top 5 High Paying Cloud Computing Jobs in 2023
Top 5 High Paying Cloud Computing Jobs in 2023
 
Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024
 
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
 
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
 
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
 
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
 
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
 
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blockchain | Simplilearn

  • 2. What’s in it for you? Why smart contract? What is a smart contract? Solidity for smart contract Advantages of smart contract Blockchain implementation of smart contract Voting process Hospitals Use case – Crowd funding smart contract
  • 3. Traditional Contract Why smart contract? Two Parties ExecutionThird PartyContract A B
  • 4. Smart Contract Why smart contract? Two Parties ExecutionThird PartyContract A B x
  • 5. Traditional Contract Smart contractVS Why smart contract?
  • 6. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 7. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 8. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 9. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 10. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 11. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 12. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 13. Traditional Contract Smart contract Why smart contract? Government, lawyers etc.. None 1-3 days Minutes Manual Process Automatic process Unavailable Available Difficult Easy Limited Cryptographically Secure Expensive Cheap Manual process Digital Signature Third Party Execution time Remittance Transparency Archiving Security Cost Signature VS
  • 14. Demo What is a smart contract?
  • 15. What is a smart contract? Consider a real life example where you are taking out a chocolate from a vending machine You deposit a $2 note in a vending machine
  • 16. What is a smart contract? After that, you hit “A1” button which is mapped against the chocolate bar that you want to buy Consider a real life example where you are taking out a chocolate from a vending machine You deposit a $2 note in a vending machine
  • 17. What is a smart contract? After that, you hit “A1” button which is mapped against the chocolate bar that you want to buy Consider a real life example where you are taking out a chocolate from a vending machine You deposit a $2 note in a vending machine As a result, A lever in the vending machine moves and pushes out the chocolate
  • 18. Consider a real life example where you are taking out a chocolate from a vending machine What is a smart contract? After that you hit “A1” which is mapped against the chocolate bar that you want to buy You insert a $20 note in a vending machine As a result, A lever in the vending machine moves and pushes out the chocolate Note A smart contract is very similar to a vending machine It eliminates the need of intermediaries and escrow services
  • 19. What is a smart contract? Smart contracts are self-executing contracts which contain the terms and conditions of an agreement between the peers
  • 20. What is a smart contract? Smart contracts are self-executing contracts which contain the terms and conditions of an agreement between the peers The terms and conditions of an agreement is written in code
  • 21. What is a smart contract? Smart contracts are self-executing contracts which contain the terms and conditions of an agreement between the peers The terms and conditions of an agreement is written in code It executes in blockchain’s decentralized platform These agreements facilitate the exchange of money, shares, property etc.
  • 22. What is a smart contract? Let’s consider an example where Rachel is at the airport and her flight is delayed Rachel But this inconvenience could have been beneficial to Rachel, as smart contract insurance would ensure she is given a compensation for the flight’s delay
  • 23. What is a smart contract? Let’s consider an example where Rachel is at the airport and her flight is delayed Rachel Wondering how smart contract can be helpful here?
  • 24. What is a smart contract? It enables automatic compensation when there is a delay of two hours or more AXA flight delay insurance is one of the examples of Ethereum smart contracts The smart contract is linked to the databases that record flights’ status Note: AXA is an insurance company
  • 25. What is a smart contract? A smart contract is created based on the terms and conditions Compensation = Flight delay < 2 hours - Condition
  • 26. What is a smart contract? Based on the code, smart contract holds the company's money until a certain condition is satisfied A smart contract is created based on the terms and conditions
  • 27. What is a smart contract? This smart contract is submitted to the nodes on EVM for evaluation Based on the code, smart contract holds the company's money until a certain condition is satisfied Note: EVM is a runtime compiler to execute smart contract’s code A smart contract is created based on the terms and conditions
  • 28. What is a smart contract? This smart contract is submitted to the nodes on EVM for evaluation All nodes on the network executing the code using the EVM must come to the same result Based on the code, smart contract holds the company's money until a certain condition is satisfied Note: The result is recorded on the distributed ledger A smart contract is created based on the terms and conditions
  • 29. What is a smart contract? This smart contract is submitted to the nodes on EVM for evaluation If the flight is delayed for two or more hours, smart contract will be self-executed and a compensation amount will be given to Rachel Yes Note: Smart contracts are immutable, so they won’t let the any person to alter the agreement All nodes on the network executing the code using the EVM must come to the same result Based on the code, smart contract holds the company's money until a certain condition is satisfied A smart contract is created based on the terms and conditions
  • 31. Solidity for smart contract Here come’s the important question! Q: What programming language does a smart contract use?
  • 32. Solidity for smart contract Here come’s the important question! Q: What programming language does a smart contract use? SerpentSolidity They are the two widely used programming languages for writing Ethereum smart contracts
  • 33. Solidity for smart contract Here come’s the important question! Q: What programming language does a smart contract use? SerpentSolidity However, on blockchain platform, solidity is widely used for implementing smart contracts
  • 34. Solidity for smart contract Solidity Solidity is a high level programming language used for implementing smart contracts Note: It enables to check the program at runtime rather than compile-time Smart contract
  • 36. Advantages of smart contract The process executes without the need of a third party No intermediaries
  • 37. Advantages of smart contract The process executes without the need of a third party No intermediaries Automated They are automated with the code which eliminates manual effort for execution
  • 38. Automated They are automated with the code which eliminates manual effort for execution Advantages of smart contract The process executes without the need of a third party No intermediaries High Speed Since smart contracts run on programming code, the speed of its execution is higher than the traditional contract
  • 39. Automated They are automated with the code which eliminates manual effort for execution Advantages of smart contract The process executes without the need of a third party No intermediaries High Speed Since smart contracts run on programming code, the speed of its execution is higher than the traditional contract Secure As data is stored in the decentralized system, the chances of modifying data is difficult
  • 40. Automated They are automated with the code which eliminates manual effort for execution Advantages of smart contract The process executes without the need of a third party No intermediaries High Speed Since smart contracts run on programming code, the speed of its execution is higher than the traditional contract Secure As data is stored in the decentralized system, the chances of modifying data is difficult Accuracy Based on the requirements, terms and conditions of a contract is recorded accurately
  • 42. Blockchain implementation of smart contract A centralized voting system faces a lot of problems when it comes to tracking votes Using Blockchain in voting process can eliminate malpractices
  • 43. Blockchain implementations of smart contract A smart contract is introduced to eliminate malpractices
  • 44. Blockchain implementations of smart contract Terms and conditions are set in the contract Note: Terms and condition: Each ID should be attributed to just one vote
  • 45. Blockchain implementations of smart contract The validation is done by the users on the blockchain network
  • 46. Blockchain implementations of smart contract Result: Every voters’ vote gets recorded to the ledger and the information cannot be modified
  • 48. Blockchain implementations of smart contract Consider an example where an individual who purchases health insurance is undergoing treatment Using Blockchain in hospitals can ease the payment process
  • 49. Blockchain implementations of smart contract Set up a smart contract with an insurance policy and place it in the blockchain
  • 50. Blockchain implementations of smart contract When required, smart contract will be triggered by itself
  • 51. Blockchain implementations of smart contract As a result, required amount of payment from the insurance company to the hospital will be made automatically
  • 53. Demo Use case – Crowdfunding smart contract
  • 54. Use case - Crowdfunding smart contract For such problems, smart contract plays a major role but who would lend money to someone they don’t trust? Suppose, you want to start a business then a lot of funding is required
  • 55. Use case - Crowdfunding smart contract but who would lend money to someone they don’t trust? With Ethereum, you can build a smart contract that will hold a contributor’s funds unless a given date or goal is met Note: Based on the result, the funds will be released to the contract owners or will be sent back to the contributors Suppose, you want to start a business then a lot of funding is required
  • 56. Use case - Crowdfunding smart contract Centralized crowdfunding system has plenty of issues with management systems A DAO is utilized for crowdfunding Terms and conditions are set in the contract DAO Every individual participating in the crowdfunding is given a token Every contribution get’s recorded on the blockchain

Editor's Notes

  1. Remove title case
  2. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  3. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  4. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  5. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  6. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  7. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  8. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  9. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  10. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  11. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  12. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  13. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  14. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  15. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  16. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  17. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  18. ,. Unlike other regression algorithms where we have one or more than one dependent variables
  19. ,. Unlike other regression algorithms where we have one or more than one dependent variables