Solidity, the Contract-Oriented Programming Language
Switch branches/tags
Clone or download
Latest commit 5f919d0 Sep 19, 2018
Permalink
Failed to load latest commit information.
.circleci Buglist check script supports json paths Sep 6, 2018
.github docs(bug_report.md): Small grammar fixes Aug 22, 2018
cmake Remove trailing whitespace for all files in the repository. Sep 4, 2018
docs Merge pull request #4907 from ethereum/chriseth-patch-4-1 Sep 19, 2018
libdevcore Remove trailing whitespace for all files in the repository. Sep 4, 2018
libevmasm CREATE2 opcode has been moved from 0xfb to 0xf5 Sep 18, 2018
libjulia Split simplification rules into two functions. Sep 18, 2018
liblll fix code format problems Sep 18, 2018
libsolc Mark libsolc external C functions as noexcept Aug 8, 2018
libsolidity fix code format problems Sep 18, 2018
lllc Add --disassemble to lllc help output Jul 28, 2018
scripts Include origin filename in the filenames generated by isolate_tests.py. Sep 6, 2018
snap Add libz3-dev to the snap build-packages Aug 24, 2017
solc fix code format problems Sep 18, 2018
test Merge pull request #4999 from liangdzou/fix_typo Sep 17, 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 deps install and cache dirs Sep 6, 2018
.travis.yml Remove trailing whitespace for all files in the repository. Sep 4, 2018
CMakeLists.txt Set version to 0.4.26 Sep 13, 2018
CODE_OF_CONDUCT.md Rename CONDUCT.md to CODE_OF_CONDUCT.md so that Github picks it up Aug 1, 2018
CODING_STYLE.md Remove trailing whitespace for all files in the repository. Sep 4, 2018
CONTRIBUTING.md Link from CONTRIBUTING to the docs Aug 29, 2016
Changelog.md CREATE2 opcode has been moved from 0xfb to 0xf5 Sep 18, 2018
LICENSE.txt Align license to those in file headers. Jun 8, 2016
README.md Remove trailing whitespace for all files in the repository. Sep 4, 2018
ReleaseChecklist.md Code, Changelog, ReleaseChecklist: Fix typos. Jul 10, 2018
appveyor.yml release only on vs2017 May 4, 2018
codecov.yml Add codecov config Aug 7, 2018

README.md

The Solidity Contract-Oriented Programming Language

Join the chat at https://gitter.im/ethereum/solidity Build Status Solidity is a statically typed, contract-oriented, high-level language for implementing smart contracts on the Ethereum platform.

Table of Contents

Background

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

Example

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

contract HelloWorld {
  function f() 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

Documentation

The Solidity documentation is hosted at Read the docs.

Development

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

Maintainers

@axic @chriseth

License

Solidity is licensed under GNU General Public License v3.0