Smart Contracts
Self-executing contract concepts, languages, and patterns
Key Glossary Terms
Essential vocabulary for this topic
ABI
intermediateAn Application Binary Interface defines how external software encodes calls to and decodes results from a smart contract.
Access Control
intermediateRules determining which accounts or roles are authorized to call sensitive smart-contract functions.
Bytecode
intermediateLow-level machine-readable instructions produced by compiling smart-contract source code for execution by a virtual machine.
Calldata
advancedRead-only input data supplied to an EVM contract call, commonly containing function selectors and encoded parameters.
Compiler
intermediateA compiler is a specialized software program that translates human-readable source code, written in high-level programming languages such as Solidity or Vyper, into low-level machine code or bytecode that can be executed directly by a blockchain virtual machine. In the context of blockchain, the compiler acts as a critical intermediary, ensuring that developer intentions are accurately converted into verifiable instructions that the network's nodes can interpret, validate, and execute within the constraints of an immutable, decentralized environment.
Smart Contracts
Constructor
beginnerA special smart-contract function executed once during deployment to initialize contract state.
Books
Recommended reading
Research Papers
Academic and industry research
EIP-4337: Account Abstraction Using Alt Mempool
Vitalik Buterin, Yoav Weiss, Kristof Gazso, Namra Patel, Qi Zhou, Dror Tirosh
EIP-4337 introduces a new standard for account abstraction on Ethereum, enabling smart contract wallets to have programmable logic for transaction execution and security. It allows for user-friendly features such as social recovery, multi-signature wallets, and gas payments in any ERC-20 token, without requiring changes to the Ethereum protocol itself. The mechanism involves a new 'mempool' (transaction pool) for simulating smart contract wallet interactions before they are submitted to the main network. This is achieved through a 'bundler' role, which collects and validates these user operations, packages them into a single transaction, and submits it to the blockchain. This approach decouples the user's account logic from the core protocol, making account management more flexible and accessible. EIP-4337 aims to significantly enhance the user experience for non-technical users and developers by abstracting away the complexities of traditionalExternally Owned Accounts (EOAs).
Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform
Vitalik Buterin
Buterin's whitepaper proposes Ethereum as a generalized platform for decentralized applications by introducing an internal Turing-complete programming language. Moving beyond the static value transfer model of Bitcoin, Ethereum implements smart contracts—self-executing code stored on the blockchain that allows for the creation of complex automated agreements. The paper outlines the Ethereum Virtual Machine (EVM) architecture, which facilitates the execution of scripts across a distributed network of nodes. This transition from a single-purpose currency network to a multipurpose computing platform enabled the rise of decentralized finance, autonomous organizations, and programmable assets, marking a significant evolution in Web3 infrastructure.
Ethereum: A Secure Decentralised Generalised Transaction Ledger (Yellow Paper)
Gavin Wood
The Ethereum Yellow Paper, authored by Gavin Wood, serves as the formal technical specification for the Ethereum protocol. Unlike the original whitepaper, which focused on conceptual design, the Yellow Paper provides a rigorous mathematical definition of the state transition function, the account model, and the transaction processing rules. It details the precise implementation of the Ethereum Virtual Machine (EVM), including opcodes, stack operations, and storage layouts. This document is essential for developers building Ethereum-compatible clients and provides the canonical reference for the protocol's mechanics, ensuring consistency across the decentralized network. It remains the gold standard for understanding how Ethereum maintains its global state.

