Digital Nations
  • DIGITAL NATIONS BOOK
    • Get Your Free Copy
  • Web3 Overview
    • What is Web3?
    • The Problem with Centralized Economies
    • The Benefits of Decentralized Economies
    • How do Decentralized Economies Work?
      • Decentralized Ledgers
        • Blockchains
        • Digital Key Cryptography
        • Consensus Mining
        • How to Read a Decentralized Ledger
      • Smart Contracts
      • NFTs
    • The Web3 Ecosystem
      • Cryptocurrencies
        • What is a Cryptocurrency?
        • What is Money?
        • The Problems with Centralized Money
        • The Benefits of Decentralized Money
        • How do Cryptocurrencies Work?
          • What are Databases?
          • How are Cryptocurrencies Distributed?
          • How are Cryptocurrencies Decentralized?
            • What are Blockchains?
            • What is Digital Key Cryptography?
            • What is Consensus Mining?
        • Key Players
          • Bitcoin
          • Ether
          • Stablecoins
          • Other
        • Problems with Cryptocurrencies
          • High Fees
          • Volatility
          • Environmental Concerns
          • Tax Cheats & Criminals
          • MEV
        • The Long-Term Potential of Cryptocurrencies
      • DeFi
        • What is DeFi?
        • The Problems with Centralized Finance
        • The Solution - Decentralized Finance
        • What's Different about DeFi?
          • Decentralized Cash (aka "Stablecoins")
          • Decentralized Exchanges
          • Decentralized Lending and Borrowing
          • Decentralized Insurance
          • Decentralized Derivatives
        • What's New in DeFi?
          • Yield Farming
          • Flash Loans
          • Money Legos
        • DeFi Infrastructure
          • Smart Contract Platforms
          • Oracles
          • Data Aggregators
          • Storage Protocols
          • Interoperability Protocols
        • The Dark Side of DeFi
          • High Fees
          • User Error
          • Usage by Criminals and Terrorists
          • Exploits, Hacks and Attacks
          • Regulation
        • Why DeFi Will Eat Wall Street
      • NFTs
        • What are NFTs?
        • Problems with Centralized Asset Ownership
        • Benefits of Decentralized Asset Ownership
        • History of NFTs
        • How do NFTs work?
          • What is a Token?
          • What makes a token “Non-Fungible”?
          • What are Smart Contract Platforms?
        • NFT Ecosystem
          • Digital Art
            • Avatars
            • Collectibles
            • Art
          • Virtual Worlds
          • Gaming
          • Social
          • Music
          • Intellectual Property
          • Other NFT Applications
        • NFT Infrastructure
          • Smart Contract Platforms
          • Rollups
          • Decentralized Storage
          • NFT Marketplaces
          • Wallets
        • NFT Financialization
          • Borrowing and Lending
          • Licensing
          • Fractionalization
        • Criticisms of NFTs
          • Weak Arguments Against NFTs
            • Easily Copied
            • Centralized
            • Tacky
          • Legitimate Criticisms of NFTs
            • High Fees
            • Fraud and Theft
            • Poor User Experience
        • Why NFTs Will Eat Hollywood (and maybe the World…)
      • DAOs
        • What is a DAO?
        • The Problem with Traditional Corporations
        • The Benefits of a DAO
        • How Does a DAO Work?
        • DAO Ecosystem
          • Protocol DAOs
          • Investment DAOs
          • Charity DAOs
          • Collector DAOs
          • Media DAOs
          • Service DAOs
          • Social DAOs
        • DAO Tooling
          • Communications
          • Fundraising
          • Governance
          • Treasury Management
          • Compensation
          • DAO Frameworks
        • Problems with DAOs
          • Lack of Legal and Regulatory Clarity
          • Operational Inefficiencies
          • Gas Prices
          • Usage by Criminals and Terrorists
          • Hacks and Scams
        • Why DAOs will Eat Corporations
      • Smart Contract Platforms
        • What are Smart Contract Platforms?
        • The History of Smart Contract Platforms
        • Why are Smart Contract Platforms Important?
        • How do Smart Contract Platforms Work?
          • Whare are Blockchains?
          • What are Smart Contracts?
          • What is Consensus Mining?
        • What are the Problems with Smart Contract Platforms?
        • How do we Solve these Problems?
          • On-Chain Solutions
          • Off-Chain Solutions
        • Who are the Key Players?
          • Ethereum
          • BSC (formerly Binance Smart Chain
          • Cardano
          • Solana
          • Avalanche
          • Polkadot
          • Polygon
          • Tron
          • NEAR
          • Cosmos
        • What’s Next? The Multi-Chain World
    • Web3 Infrastructure
      • Virtual Worlds
      • Wallets
      • Decentralized Domain Name Servers
      • Decentralized Internet Service Providers
      • Node Providers
      • Smart Contract Platforms (Layer 1s)
      • Rollups (Layer 2s)
      • Decentralized Data Storage
      • Querying Tools
      • Oracles
      • Bridges
      • Decentralized Computers
    • Challenges
      • High Fees
      • Limited Traction
      • Volatility
      • Environmental Concerns
      • Limited Interoperability
      • Miner-Extractable Value (MEV)
      • Poor User Experience
      • Usage by Criminals and Terrorists
      • Hacks and Scams
        • Malware
        • Code Exploits
        • Scams
      • Lack of Legal and Regulatory Clarity
    • Why Web3 Will Eat the World
  • Resources
    • Web3 University
      • White Belt (<1 Hour)
      • Blue Belt (1 Day)
      • Purple Belt (1 Week)
      • Brown Belt (1 Month)
      • Black Belt (1 Year)
      • Red Belt (Lifetime)
    • Books, Articles & Videos
      • Books
      • Articles and Videos
      • Canons
    • Twitter Accounts
      • Favorite Accounts
      • DeFI
      • NFTs
      • Metaverse
      • DAOs
      • Web3
      • Developers
      • Investors
      • News & Research
      • Consolidated
    • Podcasts
    • Reddit
    • News & Research Sources
    • Courses
    • Data Sources
      • Favorites
      • General Market Information
      • Industry Information
      • On-Chain Analytics
      • Block Explorers
      • Social
      • Technical
      • Tokenomics
      • Other
  • My Journey Down the Web3 Rabbithole...
Powered by GitBook
On this page
  1. Web3 Overview
  2. The Web3 Ecosystem
  3. Smart Contract Platforms
  4. How do Smart Contract Platforms Work?

What are Smart Contracts?

Note: Data in this section last updated August 26th, 2022

Smart contracts are nothing more than computer programs that automatically execute when agreed-upon conditions are met. For example, let’s say that Farmer John wants to use a smart contract through Block Insurance (a fictitious entity) to insure his crops against a drought:

  1. Farmer John and Block Insurance agree that if the temperature is above 90 degrees for 5 days in a row, his crops will die

  2. Farmer John sends Block Insurance 1 Ethereum (ETH) token to insure his crops

  3. The 1 ETH is deposited into a smart contract

  4. Block Insurance would deposit 10 ETH into the smart contract as collateral in case of a drought

  5. The smart contract monitors the temperature

  6. If the temperature remains under 90 degrees, nothing happens and Block Insurance keeps Farmer John’s 1 ETH

  7. If the temperature goes over 90 degrees for 5 days in a row, the smart contract pays Farmer John 10 ETH

  8. Farmer John can offset his crop loss with the profits from 10 ETH

Smart contracts can be used for virtually any type of transaction including financial deals, trade agreements, real estate transactions, entertainment royalties, etc… They also have many benefits over traditional contracts including the fact that they are:

  • Instant: Because smart contracts execute instantly, they can save hours of various business processes

  • Accurate: Using smart contracts reduces human error, such as mistakes that can be made when filling out multiple forms

  • Cheap: Smart contracts remove the needs for lawyers, bankers and brokers, making them much cheaper

  • Transparent: Terms and conditions are pre-agreed upon and fully visible to both parties. As such there, is no way to dispute a smart contract after it has been executed

  • Secure: Information is stored on a decentralized and distributed blockchain, meaning that there is no risk of data loss

PreviousWhare are Blockchains?NextWhat is Consensus Mining?

Last updated 2 years ago