Skip to content

Solidity

Swaxxx edited this page Nov 24, 2017 · 3 revisions

Definition

Solidity is a contract-oriented programming language for writing smart contracts. It is used for implementing smart contracts on various blockchain platforms. It's influenced by C++ and JavaScript.

More detailed description

Solidity is a statically-typed programming language designed for developing smart contracts that run on the EVM (Ethereum Virtual Machine). Solidity is compiled to bytecode that is executable on the EVM. With Solidity, developers are able to write applications that implement self-enforcing business logic embodied in smart contracts, leaving a non-repudiable and authoritative record of transactions. Writing smart contracts in smart contract specific languages such as Solidity is referred to as easy (ostensibly for those who already have programming skills).

Where we start

The first step to understand both how Smart Contract and Solidity is the study the Hello World contract of Solidity : here.

Compile Solidity code

To compile our Smart Contract, there's two way :

  • Use solc compiler. See here
  • Use Ethereum online compiler called Remix. See here

Our recommendation is to start with Remix, that is the more simple way.

Official links

Clone this wiki locally