SlideShare a Scribd company logo
1 of 18
Smart Contracts
and
Smart Contract Oracles
Marcellus Ifeanyi
Twitter: @Mars_Energy
Linkedin: Marcellus Ifeanyi
07064643074
OUTLINES
• Smart Contracts
• Advantages of Smart Contracts over Traditional Contracts
• Factors to consider when designing or writing smart contracts
• Smart Contract Oracles
• Types of Smart contract oracles
• Summary
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

Modex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex
 
Ethereum smart contract development company
Ethereum smart contract development companyEthereum smart contract development company
Ethereum smart contract development companyDevelopcoins
 
Asset Tokenization as an Industry Game Changer
Asset Tokenization as an Industry Game ChangerAsset Tokenization as an Industry Game Changer
Asset Tokenization as an Industry Game ChangerJongseung Kim
 
Smart Contract Audit Services | Smart Contracts Development Company
Smart Contract Audit Services | Smart Contracts Development CompanySmart Contract Audit Services | Smart Contracts Development Company
Smart Contract Audit Services | Smart Contracts Development CompanyCodezeros
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezerosCodezeros
 
Smart contracts and its usecases
Smart contracts and its usecasesSmart contracts and its usecases
Smart contracts and its usecasesSamir Kumar Sah
 
Blockchain technology ppt
Blockchain technology pptBlockchain technology ppt
Blockchain technology pptasrithak
 
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...Erik Steiner
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in IndiaEquiCorp Associates
 
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 creationCodezeros
 
Creating Smart Contract
Creating Smart ContractCreating Smart Contract
Creating Smart ContractDeepak Aryal
 
Smart contract development company blockchain developments
Smart contract development company   blockchain developmentsSmart contract development company   blockchain developments
Smart contract development company blockchain developmentsBlockchain Developments
 

What's hot (19)

Modex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on Blockchain
 
Ethereum smart contract development company
Ethereum smart contract development companyEthereum smart contract development company
Ethereum smart contract development company
 
Asset Tokenization as an Industry Game Changer
Asset Tokenization as an Industry Game ChangerAsset Tokenization as an Industry Game Changer
Asset Tokenization as an Industry Game Changer
 
Smart Contract Audit Services | Smart Contracts Development Company
Smart Contract Audit Services | Smart Contracts Development CompanySmart Contract Audit Services | Smart Contracts Development Company
Smart Contract Audit Services | Smart Contracts Development Company
 
Smart contract
Smart contractSmart contract
Smart contract
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezeros
 
Smart contracts and its usecases
Smart contracts and its usecasesSmart contracts and its usecases
Smart contracts and its usecases
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain technology ppt
Blockchain technology pptBlockchain technology ppt
Blockchain technology ppt
 
Smart contract
Smart contractSmart contract
Smart contract
 
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
Bitcoin Crash => Wake up and Smell the tulips - When will the Bitcoin Bubble ...
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in India
 
Blockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptxBlockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptx
 
Blockchain
BlockchainBlockchain
Blockchain
 
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 blockchain technology
The blockchain technologyThe blockchain technology
The blockchain technology
 
Creating Smart Contract
Creating Smart ContractCreating Smart Contract
Creating Smart Contract
 
Clouds Roll In
Clouds Roll InClouds Roll In
Clouds Roll In
 
Smart contract development company blockchain developments
Smart contract development company   blockchain developmentsSmart contract development company   blockchain developments
Smart contract development company blockchain developments
 

Similar to Smart Contracts and Oracles 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
The Benefits Of Smart Contracts Development Explored And Explained Flexsin
 
Smart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized AutomationSmart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized AutomationAlessioSechi
 
Smart contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdfBlockchainX
 
How NFTs And Smart Contracts Interact With Each Other
How NFTs And Smart Contracts Interact With Each OtherHow NFTs And Smart Contracts Interact With Each Other
How NFTs And Smart Contracts Interact With Each OtherIonixx Technologies Inc.
 
The rise of cryptocurrency & smart contract in blockchain industry
The rise of cryptocurrency & smart contract in blockchain industryThe rise of cryptocurrency & smart contract in blockchain industry
The rise of cryptocurrency & smart contract in blockchain industryMoon Technolabs Pvt. Ltd.
 
Smart Contracts and Their Role in Blockchain Development.pdf
Smart Contracts and Their Role in Blockchain Development.pdfSmart Contracts and Their Role in Blockchain Development.pdf
Smart Contracts and Their Role in Blockchain Development.pdfniahiggins21
 
Hyperledger development & smart contract development
Hyperledger development & smart contract developmentHyperledger development & smart contract development
Hyperledger development & smart contract developmentgavraskaranand
 
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY csandit
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development companyBrugusoftwaresolutions
 
Smartcontracts..pptx
Smartcontracts..pptxSmartcontracts..pptx
Smartcontracts..pptxkajalbansal30
 
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 Blockchain Council
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerationsDevelopcoins
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánJuan Ignacio Pérez Sacristán
 
Quick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart ContractsQuick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart ContractsCygnet Infotech
 
OVERVIEW OF SMART CONTRACT & ADOPTION
OVERVIEW OF SMART CONTRACT  &  ADOPTIONOVERVIEW OF SMART CONTRACT  &  ADOPTION
OVERVIEW OF SMART CONTRACT & ADOPTIONLokesh Gupta
 
Defining Smart Contracts
Defining Smart ContractsDefining Smart Contracts
Defining Smart ContractsTim Swanson
 
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTSA SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTSAIRCC Publishing Corporation
 

Similar to Smart Contracts and Oracles Explained (20)

Smart contract and smart contract oracles
Smart contract and smart contract oraclesSmart contract and smart contract oracles
Smart contract and smart contract oracles
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
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
 
Smart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized AutomationSmart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized Automation
 
Smart contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdf
 
How NFTs And Smart Contracts Interact With Each Other
How NFTs And Smart Contracts Interact With Each OtherHow NFTs And Smart Contracts Interact With Each Other
How NFTs And Smart Contracts Interact With Each Other
 
The rise of cryptocurrency & smart contract in blockchain industry
The rise of cryptocurrency & smart contract in blockchain industryThe rise of cryptocurrency & smart contract in blockchain industry
The rise of cryptocurrency & smart contract in blockchain industry
 
Smart Contracts and Their Role in Blockchain Development.pdf
Smart Contracts and Their Role in Blockchain Development.pdfSmart Contracts and Their Role in Blockchain Development.pdf
Smart Contracts and Their Role in Blockchain Development.pdf
 
Hyperledger development & smart contract development
Hyperledger development & smart contract developmentHyperledger development & smart contract development
Hyperledger development & smart contract development
 
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development company
 
Smartcontracts..pptx
Smartcontracts..pptxSmartcontracts..pptx
Smartcontracts..pptx
 
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
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerations
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
 
Quick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart ContractsQuick Guide to Blockchain Smart Contracts
Quick Guide to Blockchain Smart Contracts
 
OVERVIEW OF SMART CONTRACT & ADOPTION
OVERVIEW OF SMART CONTRACT  &  ADOPTIONOVERVIEW OF SMART CONTRACT  &  ADOPTION
OVERVIEW OF SMART CONTRACT & ADOPTION
 
Defining Smart Contracts
Defining Smart ContractsDefining Smart Contracts
Defining Smart Contracts
 
Smart contracts an innovative tool
Smart contracts an innovative toolSmart contracts an innovative tool
Smart contracts an innovative tool
 
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTSA SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
A SYSTEMATIC MAPPING STUDY ON CURRENT RESEARCH TOPICS IN SMART CONTRACTS
 

Recently uploaded

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
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
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
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
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Recently uploaded (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
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
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
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!
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 

Smart Contracts and Oracles Explained

  • 1. Smart Contracts and Smart Contract Oracles Marcellus Ifeanyi Twitter: @Mars_Energy Linkedin: Marcellus Ifeanyi 07064643074
  • 2. OUTLINES • Smart Contracts • Advantages of Smart Contracts over Traditional Contracts • Factors to consider when designing or writing smart contracts • Smart Contract Oracles • Types of Smart contract oracles • Summary
  • 3. 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.
  • 4. 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.
  • 5. 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.
  • 6. 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.
  • 7. 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.
  • 8. • Transparency: Smart contracts operates on code law based on the consensus protocol built into it. The consensus protocol encrypted into them helps to increase.
  • 9.
  • 10.
  • 11. 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.
  • 12. 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.
  • 13. 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
  • 14. 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.
  • 15. 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.
  • 16. 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.
  • 17.
  • 18. 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.