SlideShare a Scribd company logo
Smart contract and smart contract oracles
WHAT’S SMART CONTRACT
“Trust is the fundamental currency of Commerce”, hence the need for Smart Contracts
in Digital Economy, welcome to Smart Contracts!!!
Why is Trust the fundamental currency of Commerce?
For you to understand Smart Contract, you need to first of all Understand Traditional
Contracts.
Traditional Contract is a legally binding agreement between two parties, with a third party/
agent or middle man acting as an witness, guarantor or an escrow.
What the Buzz is Smart Contract?
Smart Contracts are the Building Blocks for Decentralized and Digital Free Markets
and Economy.
Smart Contracts are coded transaction protocols that executes the terms of an agreement
(contract), when the terms of the contract called Consensus are met. They run on the
blockchain, they are stored on Public database/s (Public Blockchain) and cannot be changed
when deployed (Highly Immutable). They are self-enforceable, self-executing, legally
binding (Code Law) digital representation of a traditional contract, designed to facilitate,
transactions between parties.
The transactions that happen in a smart contract are processed by the blockchain, which
means they can be sent Automatically without a third party but the transactions can only
happen when the conditions in the agreement (Consensus) are met, hence issues with trust
are eliminated since there is no third party or agent.
Rather than relying on a middleman (a lawyer, agent, or broker) to facilitate the
performance of a contract, two parties can create a self-executing digital agreement
(contract) that’s stored on a shared network (Blockchain), which is Highly Immutable.
In traditional contract, a seller’s asset is held by an agent (the lawyer, broker, escrow agent, etc.)
until the seller is paid by the buyer and the agent can verify the transaction. Only then is the
asset released and most times the verification process can take days, weeks and in some cases
months, but with smart contracts, verification happens in real time (in seconds), when the
terms of the contract, called Consensus are met, the contract automatically transfers assets
between parties, whether money, stocks, or anything else of value as specified by the terms
of the contract.
Smart Contract is the heart of on-chain (Internal) activities, without it the DeFi, NFT’s, DAO,
Metaverse and the rest wouldn’t be possible on the blockchain.
Advantages of smart contracts over Traditional Contracts
So what’s the Uniqueness of Smart Contract?
• Efficiency: Transactions take place as soon as the terms of the contract are fulfilled.
it can’t take days, weeks or months for assets to be moved after a contract is signed.
There’s no lengthy verification process. At a minimum, this means larger and more complex
agreements will take less time to execute, allowing companies to move more quickly.
• Trustworthiness: Smart contracts are encrypted, by Cryptography and stored on a Shared
(Decentralized) blockchain that’s controlled by the parties themselves. There’s no need to
trust a third party to hold assets or ensure the terms of the agreement are executed.
It’s practically impossible for information to be lost, since the ledger is replicated in full
time across many different nodes on the blockchain.
• Transparency: Smart contracts operates on code law based on the consensus protocol
built into it. The consensus protocol encrypted into them helps to increase.
Factors to consider when designing/writing smart contracts
The goal of smart contract is to enforce trust, security and reduce cost, thus in designing or
writing your smart contracts you should make sure that they are:
• Secured: Security is of paramount in Smart Contract. If your smart contract is secured
then it can be trusted.
• Cost Efficient: Smart Contract runs on the blockchain and requires gas. Design your smart
contracts to use less gas, and thus lower transaction costs.
• Trust: A well designed smart contract satisfy the common contractual conditions, boost
• confidentiality and lowers fraud loss.
SMART CONTRACT ORACLES
What are Smart Contract Oracles?
One of the limitation with smart contracts is that they cannot access external data which
might be required to control the execution of the transaction protocol or business logic,
hence the need for Oracles.
Oracles are the interface, suites or gateways used to get (Request or Receive) External Data
(off-chain data) by the smart contracts. Oracles are important component of the
smart contract ecosystem.
Oracles operate on behalf of smart contracts predominately by:
1. Retrieving and delivering off-chain (external) data to smart contracts used in
Decentralized Applications (DApps), Decentralized Finance (DeFi) applications etc.
2. Writing data from smart contracts to external systems
3. Executing off-chain computations
How Does Smart Contract Oracles Work
When a smart contract requires off-chain (external) data, it submits a request in a transaction
to the oracle’s contract.
The oracle is an off-chain application that monitors the transactions sent to its contract, hence
when it detects a new request, it is responsible for executing all necessary steps to come up
with an answer. This can include fetching external world data, doing computations and more.
The oracle then submits its response to the smart contract, again in the form of a transaction.
Types of Smart Contract Oracles
Based on architecture, design and use, there are two main types of blockchain Smart contract
oracles, depending on the way that they allow blockchains to interact with the real world:
Based on Input and Output Interface or Gateways
Based on the input and the output interface or Gateways to and from the blockchain we have:
• Inbound oracles: They provide data from the external world to blockchain and smart
contracts ie they enhance Inputs to the blockchain networks
• Outbound oracles: They provide smart contracts with the ability to send data to the
outside world ie they enhanced Outputs from the blockchain networks.
Based on Data source
Then Depending on the data sources, we can distinguish oracles into:
• Software Oracles: They handle information data coming from the internet
(e.g. asset prices from websites).
• Hardware Oracles: They are used when smart contracts need information directly
from the physical world (e.g. IoT sensors and devices).
• Consensus-Based Oracles: They get their data from human consensus. For example,
to avoid market manipulation, prediction markets implement a rating system where
different users vote on the outcome in question and their weighted-by-rating average is
transmitted to the enquiring smart contract.
In summary:
Trust is the fundamental currency of Commerce, hence the need for Smart Contracts in Digital
Economy.
Smart Contracts are self-enforceable, self-executing, legally binding (Code Law) digital
representation of a traditional contract, designed to facilitate, transactions between parties,
when the Consensus protocols are met.
The goal of smart contract is to enforce trust, security and reduce cost, thus in designing or
writing your smart contracts you should make sure they are secured and cost efficient
Oracles are the interface, suites or gateways used to get (Request or Receive) External Data
(off-chain data) by the smart contracts. Oracles are important component of the smart contract
ecosystem.

More Related Content

What's hot (19)

PPTX
Smart Contract Audit Services | Smart Contracts Development Company
Codezeros
 
PDF
Blockchain Finance
rmsams
 
PPTX
Smart contract
Akhmad Daniel Sembiring
 
PPTX
Modex Talks - Asset Management on Blockchain
Modex
 
PPTX
Smart contracts and its usecases
Samir Kumar Sah
 
PPTX
Creating Smart Contract
Deepak Aryal
 
PDF
Asset Tokenization as an Industry Game Changer
Jongseung Kim
 
PDF
Blockchain for Gambling
Shermin Voshmgir
 
PPTX
Can smart Contracts Exist without The Blockchain
Blockchain Council
 
PPTX
Blockcchain development services | codezeros
Codezeros
 
PDF
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Erik Steiner
 
PPTX
Blockchain by Aman Thakur.pptx
The NorthCap University
 
PPTX
Blockchain smart contracts ethereum smart contract creation
Codezeros
 
PPTX
Blockchain
Ãlîshã Upãdhãyãy
 
PPTX
Blockchain technology ppt
asrithak
 
PDF
State Smart Contract Technologies
Federico Tenga
 
PPTX
E commerce
lubnashirin
 
PDF
Doing Business of Blockchain in India
EquiCorp Associates
 
PPTX
Smart Contract Audit Services By Top Smart Contract Development Company
Developcoins
 
Smart Contract Audit Services | Smart Contracts Development Company
Codezeros
 
Blockchain Finance
rmsams
 
Smart contract
Akhmad Daniel Sembiring
 
Modex Talks - Asset Management on Blockchain
Modex
 
Smart contracts and its usecases
Samir Kumar Sah
 
Creating Smart Contract
Deepak Aryal
 
Asset Tokenization as an Industry Game Changer
Jongseung Kim
 
Blockchain for Gambling
Shermin Voshmgir
 
Can smart Contracts Exist without The Blockchain
Blockchain Council
 
Blockcchain development services | codezeros
Codezeros
 
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Erik Steiner
 
Blockchain by Aman Thakur.pptx
The NorthCap University
 
Blockchain smart contracts ethereum smart contract creation
Codezeros
 
Blockchain technology ppt
asrithak
 
State Smart Contract Technologies
Federico Tenga
 
E commerce
lubnashirin
 
Doing Business of Blockchain in India
EquiCorp Associates
 
Smart Contract Audit Services By Top Smart Contract Development Company
Developcoins
 

Similar to Smart contract and smart contract oracles (20)

DOCX
UNIT V.docx cloud service management document anna university regulation 2021
amrashbhanuabdul
 
PPTX
Blockchain 2.0
Jérôme Kehrli
 
PDF
The Benefits Of Smart Contracts Development Explored And Explained
Flexsin
 
PDF
smart contract and its uses with an example
PushpalathaB10
 
PDF
Smart contract development (1).pdf
BlockchainX
 
PDF
Smart Contracts Exploring the Future of Decentralized Automation
AlessioSechi
 
PDF
The rise of cryptocurrency & smart contract in blockchain industry
Moon Technolabs Pvt. Ltd.
 
PDF
Smart Contracts and Their Role in Blockchain Development.pdf
niahiggins21
 
PPTX
How NFTs And Smart Contracts Interact With Each Other
Ionixx Technologies Inc.
 
PDF
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
csandit
 
PDF
Blockchain intro - the basics
Zakir Hoosen
 
PDF
Blockchain-intro (2)
Zakir Hoosen
 
PDF
Hyperledger development & smart contract development
gavraskaranand
 
PPTX
Smartcontracts..pptx
kajalbansal30
 
PDF
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
AIRCC Publishing Corporation
 
PDF
A Systematic Mapping Study on Current Research Topics in Smart Contracts
AIRCC Publishing Corporation
 
PDF
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
ijcsit
 
PDF
Defi smart contract development company
Brugusoftwaresolutions
 
PPTX
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Juan Ignacio Pérez Sacristán
 
PDF
Smart contract development top considerations
Developcoins
 
UNIT V.docx cloud service management document anna university regulation 2021
amrashbhanuabdul
 
Blockchain 2.0
Jérôme Kehrli
 
The Benefits Of Smart Contracts Development Explored And Explained
Flexsin
 
smart contract and its uses with an example
PushpalathaB10
 
Smart contract development (1).pdf
BlockchainX
 
Smart Contracts Exploring the Future of Decentralized Automation
AlessioSechi
 
The rise of cryptocurrency & smart contract in blockchain industry
Moon Technolabs Pvt. Ltd.
 
Smart Contracts and Their Role in Blockchain Development.pdf
niahiggins21
 
How NFTs And Smart Contracts Interact With Each Other
Ionixx Technologies Inc.
 
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
csandit
 
Blockchain intro - the basics
Zakir Hoosen
 
Blockchain-intro (2)
Zakir Hoosen
 
Hyperledger development & smart contract development
gavraskaranand
 
Smartcontracts..pptx
kajalbansal30
 
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
AIRCC Publishing Corporation
 
A Systematic Mapping Study on Current Research Topics in Smart Contracts
AIRCC Publishing Corporation
 
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
ijcsit
 
Defi smart contract development company
Brugusoftwaresolutions
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Juan Ignacio Pérez Sacristán
 
Smart contract development top considerations
Developcoins
 
Ad

Recently uploaded (20)

PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Ad

Smart contract and smart contract oracles

  • 2. WHAT’S SMART CONTRACT “Trust is the fundamental currency of Commerce”, hence the need for Smart Contracts in Digital Economy, welcome to Smart Contracts!!! Why is Trust the fundamental currency of Commerce? For you to understand Smart Contract, you need to first of all Understand Traditional Contracts. Traditional Contract is a legally binding agreement between two parties, with a third party/ agent or middle man acting as an witness, guarantor or an escrow.
  • 3. What the Buzz is Smart Contract? Smart Contracts are the Building Blocks for Decentralized and Digital Free Markets and Economy. Smart Contracts are coded transaction protocols that executes the terms of an agreement (contract), when the terms of the contract called Consensus are met. They run on the blockchain, they are stored on Public database/s (Public Blockchain) and cannot be changed when deployed (Highly Immutable). They are self-enforceable, self-executing, legally binding (Code Law) digital representation of a traditional contract, designed to facilitate, transactions between parties.
  • 4. The transactions that happen in a smart contract are processed by the blockchain, which means they can be sent Automatically without a third party but the transactions can only happen when the conditions in the agreement (Consensus) are met, hence issues with trust are eliminated since there is no third party or agent. Rather than relying on a middleman (a lawyer, agent, or broker) to facilitate the performance of a contract, two parties can create a self-executing digital agreement (contract) that’s stored on a shared network (Blockchain), which is Highly Immutable.
  • 5. In traditional contract, a seller’s asset is held by an agent (the lawyer, broker, escrow agent, etc.) until the seller is paid by the buyer and the agent can verify the transaction. Only then is the asset released and most times the verification process can take days, weeks and in some cases months, but with smart contracts, verification happens in real time (in seconds), when the terms of the contract, called Consensus are met, the contract automatically transfers assets between parties, whether money, stocks, or anything else of value as specified by the terms of the contract. Smart Contract is the heart of on-chain (Internal) activities, without it the DeFi, NFT’s, DAO, Metaverse and the rest wouldn’t be possible on the blockchain.
  • 6. Advantages of smart contracts over Traditional Contracts So what’s the Uniqueness of Smart Contract? • Efficiency: Transactions take place as soon as the terms of the contract are fulfilled. it can’t take days, weeks or months for assets to be moved after a contract is signed. There’s no lengthy verification process. At a minimum, this means larger and more complex agreements will take less time to execute, allowing companies to move more quickly. • Trustworthiness: Smart contracts are encrypted, by Cryptography and stored on a Shared (Decentralized) blockchain that’s controlled by the parties themselves. There’s no need to trust a third party to hold assets or ensure the terms of the agreement are executed. It’s practically impossible for information to be lost, since the ledger is replicated in full time across many different nodes on the blockchain.
  • 7. • Transparency: Smart contracts operates on code law based on the consensus protocol built into it. The consensus protocol encrypted into them helps to increase.
  • 8. Factors to consider when designing/writing smart contracts The goal of smart contract is to enforce trust, security and reduce cost, thus in designing or writing your smart contracts you should make sure that they are: • Secured: Security is of paramount in Smart Contract. If your smart contract is secured then it can be trusted. • Cost Efficient: Smart Contract runs on the blockchain and requires gas. Design your smart contracts to use less gas, and thus lower transaction costs. • Trust: A well designed smart contract satisfy the common contractual conditions, boost • confidentiality and lowers fraud loss.
  • 9. SMART CONTRACT ORACLES What are Smart Contract Oracles? One of the limitation with smart contracts is that they cannot access external data which might be required to control the execution of the transaction protocol or business logic, hence the need for Oracles. Oracles are the interface, suites or gateways used to get (Request or Receive) External Data (off-chain data) by the smart contracts. Oracles are important component of the smart contract ecosystem.
  • 10. Oracles operate on behalf of smart contracts predominately by: 1. Retrieving and delivering off-chain (external) data to smart contracts used in Decentralized Applications (DApps), Decentralized Finance (DeFi) applications etc. 2. Writing data from smart contracts to external systems 3. Executing off-chain computations
  • 11. How Does Smart Contract Oracles Work When a smart contract requires off-chain (external) data, it submits a request in a transaction to the oracle’s contract. The oracle is an off-chain application that monitors the transactions sent to its contract, hence when it detects a new request, it is responsible for executing all necessary steps to come up with an answer. This can include fetching external world data, doing computations and more. The oracle then submits its response to the smart contract, again in the form of a transaction.
  • 12. Types of Smart Contract Oracles Based on architecture, design and use, there are two main types of blockchain Smart contract oracles, depending on the way that they allow blockchains to interact with the real world: Based on Input and Output Interface or Gateways Based on the input and the output interface or Gateways to and from the blockchain we have: • Inbound oracles: They provide data from the external world to blockchain and smart contracts ie they enhance Inputs to the blockchain networks • Outbound oracles: They provide smart contracts with the ability to send data to the outside world ie they enhanced Outputs from the blockchain networks.
  • 13. Based on Data source Then Depending on the data sources, we can distinguish oracles into: • Software Oracles: They handle information data coming from the internet (e.g. asset prices from websites). • Hardware Oracles: They are used when smart contracts need information directly from the physical world (e.g. IoT sensors and devices). • Consensus-Based Oracles: They get their data from human consensus. For example, to avoid market manipulation, prediction markets implement a rating system where different users vote on the outcome in question and their weighted-by-rating average is transmitted to the enquiring smart contract.
  • 14. In summary: Trust is the fundamental currency of Commerce, hence the need for Smart Contracts in Digital Economy. Smart Contracts are self-enforceable, self-executing, legally binding (Code Law) digital representation of a traditional contract, designed to facilitate, transactions between parties, when the Consensus protocols are met. The goal of smart contract is to enforce trust, security and reduce cost, thus in designing or writing your smart contracts you should make sure they are secured and cost efficient Oracles are the interface, suites or gateways used to get (Request or Receive) External Data (off-chain data) by the smart contracts. Oracles are important component of the smart contract ecosystem.