SlideShare a Scribd company logo
1 of 14
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

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
 
Blockchain Finance
Blockchain FinanceBlockchain Finance
Blockchain Financermsams
 
Modex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex
 
Smart contracts and its usecases
Smart contracts and its usecasesSmart contracts and its usecases
Smart contracts and its usecasesSamir Kumar Sah
 
Creating Smart Contract
Creating Smart ContractCreating Smart Contract
Creating Smart ContractDeepak Aryal
 
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
 
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
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezerosCodezeros
 
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
 
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
 
Blockchain technology ppt
Blockchain technology pptBlockchain technology ppt
Blockchain technology pptasrithak
 
State Smart Contract Technologies
State Smart Contract TechnologiesState Smart Contract Technologies
State Smart Contract TechnologiesFederico Tenga
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in IndiaEquiCorp Associates
 
Smart Contract Audit Services By Top Smart Contract Development Company
Smart Contract Audit Services By Top Smart Contract Development CompanySmart Contract Audit Services By Top Smart Contract Development Company
Smart Contract Audit Services By Top Smart Contract Development CompanyDevelopcoins
 

What's hot (19)

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
 
Blockchain Finance
Blockchain FinanceBlockchain Finance
Blockchain Finance
 
Smart contract
Smart contractSmart contract
Smart contract
 
Modex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on BlockchainModex Talks - Asset Management on Blockchain
Modex Talks - Asset Management on Blockchain
 
Smart contracts and its usecases
Smart contracts and its usecasesSmart contracts and its usecases
Smart contracts and its usecases
 
Creating Smart Contract
Creating Smart ContractCreating Smart Contract
Creating Smart Contract
 
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
 
Blockchain for Gambling
Blockchain for Gambling Blockchain for Gambling
Blockchain for Gambling
 
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
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezeros
 
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 ...
 
Blockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptxBlockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptx
 
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
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain technology ppt
Blockchain technology pptBlockchain technology ppt
Blockchain technology ppt
 
State Smart Contract Technologies
State Smart Contract TechnologiesState Smart Contract Technologies
State Smart Contract Technologies
 
E commerce
E commerceE commerce
E commerce
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in India
 
Smart Contract Audit Services By Top Smart Contract Development Company
Smart Contract Audit Services By Top Smart Contract Development CompanySmart Contract Audit Services By Top Smart Contract Development Company
Smart Contract Audit Services By Top Smart Contract Development Company
 

Similar to What's Smart Contract

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 contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdfBlockchainX
 
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
 
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
 
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.
 
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
 
Blockchain intro - the basics
Blockchain intro - the basicsBlockchain intro - the basics
Blockchain intro - the basicsZakir Hoosen
 
Blockchain-intro (2)
Blockchain-intro (2)Blockchain-intro (2)
Blockchain-intro (2)Zakir Hoosen
 
Hyperledger development & smart contract development
Hyperledger development & smart contract developmentHyperledger development & smart contract development
Hyperledger development & smart contract developmentgavraskaranand
 
Smartcontracts..pptx
Smartcontracts..pptxSmartcontracts..pptx
Smartcontracts..pptxkajalbansal30
 
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
 
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
 
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 CONTRACTSijcsit
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development companyBrugusoftwaresolutions
 
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
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerationsDevelopcoins
 
_Smart Contract Work with Blockchainx_.pptx
_Smart Contract Work with Blockchainx_.pptx_Smart Contract Work with Blockchainx_.pptx
_Smart Contract Work with Blockchainx_.pptxBlockchainX
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart ContractsFinancial Poise
 

Similar to What's Smart Contract (20)

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 contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdf
 
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
 
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
 
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
 
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
 
Blockchain intro - the basics
Blockchain intro - the basicsBlockchain intro - the basics
Blockchain intro - the basics
 
Blockchain-intro (2)
Blockchain-intro (2)Blockchain-intro (2)
Blockchain-intro (2)
 
Hyperledger development & smart contract development
Hyperledger development & smart contract developmentHyperledger development & smart contract development
Hyperledger development & smart contract development
 
Smartcontracts..pptx
Smartcontracts..pptxSmartcontracts..pptx
Smartcontracts..pptx
 
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
 
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
 
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
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development company
 
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
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerations
 
_Smart Contract Work with Blockchainx_.pptx
_Smart Contract Work with Blockchainx_.pptx_Smart Contract Work with Blockchainx_.pptx
_Smart Contract Work with Blockchainx_.pptx
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart Contracts
 

Recently uploaded

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
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
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
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"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
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Recently uploaded (20)

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
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
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
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
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?
 
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!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"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...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

What's Smart Contract

  • 1.
  • 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.