Solidity, the Smart Contract Programming Language
Go to file
2018-12-18 12:39:24 +01:00
.circleci Do not use nvm. 2018-12-14 23:47:47 +01:00
.github
cmake
docs Clean input and output function types 2018-12-17 17:31:12 +01:00
libdevcore Add headers to targets in CMakeLists.txt. 2018-12-17 15:01:02 +01:00
libevmasm Make swappable instructions static. 2018-12-18 12:39:24 +01:00
liblangutil Add headers to targets in CMakeLists.txt. 2018-12-17 15:01:02 +01:00
liblll Add headers to targets in CMakeLists.txt. 2018-12-17 15:01:02 +01:00
libsolc Add headers to targets in CMakeLists.txt. 2018-12-17 15:01:02 +01:00
libsolidity Merge pull request #5625 from ethereum/single-check 2018-12-18 11:36:58 +01:00
libyul Merge pull request #5665 from ethereum/cmakeHeaders 2018-12-17 17:47:38 +01:00
lllc
scripts Remove support for Visual Studio 2015. 2018-12-17 18:56:23 +01:00
snap
solc
test Only generate sort/search code when interface functions exist 2018-12-17 21:24:37 +01:00
.dockerignore
.editorconfig
.gitattributes
.gitignore
.travis.yml
appveyor.yml Remove support for Visual Studio 2015. 2018-12-17 18:56:23 +01:00
Changelog.md Merge pull request #5625 from ethereum/single-check 2018-12-18 11:36:58 +01:00
CMakeLists.txt
CODE_OF_CONDUCT.md
codecov.yml
CODING_STYLE.md
CONTRIBUTING.md
LICENSE.txt
README.md
ReleaseChecklist.md Clarify the need to wait for the static PPA build to finish in the release checklist. 2018-12-12 18:52:24 +01:00

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:

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

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

Some third-party code has its own licensing terms.