Solidity

From DefiLlama
Jump to navigation Jump to search

Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state. It is influenced by C++, Python and JavaScript

Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.

With Solidity you can create contracts for uses such as voting, crowdfunding, blind auctions, and multi-signature wallets.[1]

Compiler

Solidity code is compiled into EVM bytecode to later be run by the EVM. The latest version of the compiler is currently 0.8.13

Examples

A small smart contract written in solidity

Sources

  1. [1] Solidity official documentation