Difference between revisions of "Solidity"

From DefiLlama
Jump to navigation Jump to search
 
Line 11: Line 11:
[[File:Solidity sc.png|thumb|A small smart contract written in solidity]]
[[File:Solidity sc.png|thumb|A small smart contract written in solidity]]
[[Category:Glossary]]
[[Category:Glossary]]
== Sources ==
<references />

Latest revision as of 21:48, 28 April 2022

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