Solidity, the Contract-Oriented Programming Language
Switch branches/tags
Clone or download
Latest commit 3a329b8 Oct 16, 2018
Failed to load latest commit information.
.circleci Add clang7 build step Oct 16, 2018
.github Put instructions in comments. Sep 27, 2018
cmake Remove trailing whitespace for all files in the repository. Sep 4, 2018
docs minor spelling correction Oct 16, 2018
libdevcore Yul: Introduces a block flattening pass + tests Oct 15, 2018
libevmasm Change library placeholder to `__$<hash>$__`. Oct 12, 2018
liblll fix code format problems Sep 18, 2018
libsolc Mark libsolc external C functions as noexcept Aug 8, 2018
libsolidity Merge pull request #5209 from ethereum/smt_ssa_refactor Oct 15, 2018
libyul New simplifier via broken expressions. Oct 16, 2018
lllc Add --disassemble to lllc help output Jul 28, 2018
scripts Remove another mention Oct 14, 2018
snap Add libz3-dev to the snap build-packages Aug 24, 2017
solc fix issue##5007 Oct 15, 2018
test Add a "full simplify" test that applies multiple elementary transforms. Oct 16, 2018
.dockerignore adds .dockerignore file Jun 26, 2018
.editorconfig Set tab size specified in .editorconfig to 4 Jul 27, 2018
.gitattributes Create .gitattributes Feb 20, 2018
.gitignore ignore Visual Studio Code stuff Oct 11, 2018
.travis.yml Remove trailing whitespace for all files in the repository. Sep 4, 2018
CMakeLists.txt Set version to 0.5.0-develop Sep 25, 2018 Rename to so that Github picks it up Aug 1, 2018 Remove trailing whitespace for all files in the repository. Sep 4, 2018 Link from CONTRIBUTING to the docs Aug 29, 2016 fix issue##5007 Oct 15, 2018
LICENSE.txt Align license to those in file headers. Jun 8, 2016 Fix the HelloWorld example in the readme Sep 25, 2018 Code, Changelog, ReleaseChecklist: Fix typos. Jul 10, 2018
appveyor.yml Removing mention of submodules from docs/build Oct 14, 2018
codecov.yml Add codecov config Aug 7, 2018

The Solidity Contract-Oriented Programming Language

Join the chat at Build Status Solidity is a statically typed, contract-oriented, high-level language for implementing smart contracts on the Ethereum platform.

Table of Contents


Solidity is a statically-typed curly-braces programming language designed for developing smart contracts that run on the Ethereum Virtual Machine. Smart contracts are programs that are executed inside a peer-to-peer network where nobody has special authority over the execution and thus they allow to implement tokens of value, ownership, voting and other kinds of logics.

Build and Install

Instructions about how to build and install the Solidity compiler can be found in the Solidity documentation


A "Hello World" program in Solidity is of even less use than in other languages, but still:

pragma solidity ^0.4.16;

contract HelloWorld {
  function helloWorld() external pure returns (string memory) {
    return "Hello, World!";

To get started with Solidity, you can use Remix, which is an browser-based IDE. Here are some example contracts:

  1. Voting
  2. Blind Auction
  3. Safe remote purchase
  4. Micropayment Channel


The Solidity documentation is hosted at Read the docs.


Solidity is still under development. Contributions are always welcome! Please follow the Developers Guide if you want to help.


@axic @chriseth


Solidity is licensed under GNU General Public License v3.0