← All Languages
Solidity

Solidity

Smart Contracts on EVM

First appeared: 2014Designed by: Gavin Wood

A contract-oriented, statically typed language for writing smart contracts on Ethereum and EVM-compatible blockchains.

Links

Paradigm

OOPProcedural

Hello, World

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Hello {
  function hello() public pure returns (string memory) {
    return "Hello, World!";
  }
}

About

Created by Gavin Wood in 2014 for the Ethereum project. Solidity 0.8 (2020) introduced checked arithmetic by default.

Type system: Static

Ecosystem

Package Managers
npm (Hardhat, Foundry, etc.)
Frameworks
HardhatFoundryOpenZeppelin

Learning Resources

Solidity DocsCryptoZombies