Skip to content
Solidity, the Contract-Oriented Programming Language
C++ Solidity Shell CMake C Python Other
Branch: develop
Clone or download

Latest commit

chriseth Merge pull request #8652 from esaulpaugh/develop
clarify description of padding for int<M> types
Latest commit d3aa69e Apr 14, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci [docs] Renaming CI job for documentation pragma version check Apr 1, 2020
.github/ISSUE_TEMPLATE Remove PR template and empty general template. Mar 10, 2020
cmake [build-system] Add -Wpessimizing-move & -Wredundant-move warnings. Apr 2, 2020
docs clarify description of padding for int<M> types Apr 10, 2020
libevmasm Debug information for immutable references. Apr 6, 2020
liblangutil Immutable is not reserved anymore. Mar 2, 2020
libsolc Library libdevcore renamed to libsolutil. Jan 7, 2020
libsolidity [Sol2Yul] Implements codegen part for try/catch statements. Apr 14, 2020
libsolutil Fix 32 bit build failure. Apr 9, 2020
libyul Merge pull request #8626 from ethereum/immutable-functioncallgraph Apr 9, 2020
scripts Make CircleCI post diff review for style violation Apr 9, 2020
snap Add wget to the build packages of the snap Aug 26, 2019
solc CommandLineInterface: add storage-layout option to --combined-json Mar 26, 2020
test [Sol2Yul] Implements codegen part for try/catch statements. Apr 14, 2020
tools Merge pull request #8570 from aarlt/clang-tidy-apply-modernize-use-em… Apr 7, 2020
.clang-format Improved `.clang_format` file. Mar 22, 2020
.dockerignore adds .dockerignore file Jun 26, 2018
.editorconfig Emacs and CMakeLists.txt administrivia Apr 11, 2019
.gitattributes Create .gitattributes Feb 20, 2018
.gitignore Assembly: Added missing source field to legacy assembly json output t… Feb 18, 2020
.travis.yml Update emscripten to 1.39.3 Nov 29, 2019
CMakeLists.txt Set version to 0.6.7. Apr 9, 2020
CODE_OF_CONDUCT.md Rename CONDUCT.md to CODE_OF_CONDUCT.md so that Github picks it up Aug 1, 2018
CODING_STYLE.md Improved `.clang_format` file. Mar 22, 2020
CONTRIBUTING.md Link from CONTRIBUTING to the docs Aug 29, 2016
Changelog.md Set version to 0.6.7. Apr 9, 2020
LICENSE.txt Align license to those in file headers. Jun 8, 2016
README.md Add a security policy and link it in README. Mar 26, 2020
ReleaseChecklist.md Add pushing git tags to the release checklist Jul 4, 2019
SECURITY.md Add a security policy and link it in README. Mar 26, 2020
appveyor.yml Add hour and minute to bytecode repo directory names Feb 15, 2020
codecov.yml Fix patch coverage settings Feb 20, 2019

README.md

The Solidity Contract-Oriented Programming Language

You can talk to us on solidity at https://gitter.im/ethereum/solidity. Questions, feedback and suggestions are welcome!

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.

When deploying contracts, you should use the latest released version of Solidity. This is because breaking changes as well as new features and bug fixes are introduced regularly. We currently use a 0.x version number to indicate this fast pace of change.

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.6.0;

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.

You can find our current feature and bug priorities for forthcoming releases in the projects section.

Maintainers

License

Solidity is licensed under GNU General Public License v3.0.

Some third-party code has its own licensing terms.

Security

The security policy may be found here.

You can’t perform that action at this time.