Difference between revisions of "Solidity"

From DefiLlama
Jump to navigation Jump to search
(First edit)
 
Line 1: Line 1:
Solidity is an object-oriented, high-level language for implementing smart contracts. [[Smart contract|Smart contracts]] are programs which govern the behaviour of accounts within the [[Ethereum]] state.
Solidity is an object-oriented, high-level language for implementing smart contracts. [[Smart contract|Smart contracts]] are programs which govern the behaviour of accounts within the [[Ethereum]] state. It is influenced by C++, Python and JavaScript
 
Solidity is  designed to target the Ethereum Virtual Machine (EVM). It is influenced by C++, Python and JavaScript


Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
Line 7: Line 5:
With Solidity you can create contracts for uses such as voting, crowdfunding, blind auctions, and multi-signature wallets.<ref>[https://docs.soliditylang.org/en/v0.8.13/] Solidity official documentation</ref>
With Solidity you can create contracts for uses such as voting, crowdfunding, blind auctions, and multi-signature wallets.<ref>[https://docs.soliditylang.org/en/v0.8.13/] Solidity official documentation</ref>


== 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 ==
[[File:Solidity sc.png|thumb|A small smart contract written in solidity]]
[[Category:Glossary]]
[[Category:Glossary]]

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
  1. [1] Solidity official documentation