Solidity, the Smart Contract Programming Language
Go to file
chriseth d66e956ac2
Merge pull request #4940 from elopio/patch-6
Clarify a little the function hoister optimization
2018-09-11 03:01:15 +02:00
.circleci Buglist check script supports json paths 2018-09-06 18:42:21 +02:00
.github docs(bug_report.md): Small grammar fixes 2018-08-22 12:35:03 -04:00
cmake Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
docs Update bug description, add regex and tests. 2018-09-10 12:58:40 +02:00
libdevcore Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
libevmasm Calculate the dataGas correctly in the constant optimiser 2018-08-14 17:45:43 +02:00
libjulia Clarify a little the function hoister optimization 2018-09-10 13:06:09 -06:00
liblll
libsolc
libsolidity Always perform cleanup for EXP. 2018-09-10 12:47:46 +02:00
lllc
scripts Merge pull request #4897 from ethereum/trailingWhitespaceDetection 2018-09-04 18:20:57 +02:00
snap
solc
test Update bug description, add regex and tests. 2018-09-10 12:58:40 +02:00
.dockerignore
.editorconfig
.gitattributes
.gitignore ignore deps install and cache dirs 2018-09-06 16:32:53 +03:00
.travis.yml Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
appveyor.yml
Changelog.md Changelog entry and bug list. 2018-09-10 12:47:46 +02:00
CMakeLists.txt
CODE_OF_CONDUCT.md
codecov.yml
CODING_STYLE.md Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
CONTRIBUTING.md
LICENSE.txt
README.md Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
ReleaseChecklist.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