Solidity v0.5.0, the Contract-Oriented Programming Language
Clone or download
Pull request Compare This branch is 1 commit ahead, 633 commits behind ethereum:develop.
Latest commit a3031d0 Dec 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Disable covereage cmake option Nov 3, 2018
.github move CHECKLIST to the end Oct 28, 2018
cmake Fix cmake Z3 import issue for Fedora Nov 8, 2018
docs Merge pull request ethereum#5413 from ethereum/updateChangelogForRelease Nov 13, 2018
libdevcore Merge pull request ethereum#5265 from ethereum/cleanupsha3 Nov 9, 2018
libevmasm add api, order(bytes32 orderID, bytes32 buyerAddress, bytes32 sellerA… Dec 26, 2018
liblll Add LLL error when assembly instruction causes stack underflow Nov 13, 2018
libsolc Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCal… Nov 13, 2018
libsolidity add api, order(bytes32 orderID, bytes32 buyerAddress, bytes32 sellerA… Dec 26, 2018
libyul Merge pull request ethereum#5333 from ethereum/joinPerformance Nov 13, 2018
lllc Add --disassemble to lllc help output Jul 28, 2018
scripts Fix bytecode tests for solc-js Nov 13, 2018
snap Add libz3-dev to the snap build-packages Aug 24, 2017
solc Remove mostly unused writeFile implementation. Oct 18, 2018
test Use latest solcjs and replace compileStandard by compile. Nov 13, 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
CODE_OF_CONDUCT.md Rename CONDUCT.md to CODE_OF_CONDUCT.md so that Github picks it up Aug 1, 2018
CODING_STYLE.md add missing "p" Oct 28, 2018
CONTRIBUTING.md Link from CONTRIBUTING to the docs Aug 29, 2016
Changelog.md Add release date to changelog. Nov 13, 2018
LICENSE.txt Align license to those in file headers. Jun 8, 2016
README.md Fix the HelloWorld example in the readme Sep 25, 2018
ReleaseChecklist.md 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

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:

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