← Back to GlossaryTechnical

    What is Smart Contract?

    A smart contract is self-executing code stored on a blockchain that automatically enforces the terms of an agreement when conditions are met — no intermediary needed.

    Full Explanation

    A smart contract is a program stored on a blockchain that automatically executes predefined actions when specific conditions are met. Created on platforms like Ethereum (using Solidity), they enable trustless, transparent agreements. Examples: a DeFi protocol's smart contract automatically lends your crypto and pays interest; an NFT smart contract handles ownership transfers. Smart contracts are immutable once deployed (can't be changed), which makes auditing critical. Bugs in smart contracts have led to billions in losses (The DAO hack, Wormhole bridge exploit).

    Example

    When you swap tokens on Uniswap, a smart contract automatically handles the trade, calculates the price, and transfers tokens — no human intervention needed.
    Learn more in the Academy →

    Last updated: 2026-03-21

    © 2026 Fedha Academy. All rights reserved.

    Trading involves risk. Learn responsibly.

    Original text
    Rate this translation
    Your feedback will be used to help improve Google Translate