Skip to content

Solidity, the Contract-Oriented Programming Language

License

Notifications You must be signed in to change notification settings

BlueHoopor/solidity

This branch is 8 commits ahead of VoyageIce/solidity:trondev_v0.4.24.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ceb1d78 · Nov 3, 2018
Oct 23, 2018
Oct 23, 2018
Apr 23, 2018
May 9, 2018
May 14, 2018
Aug 16, 2018
Feb 20, 2018
Nov 3, 2018
May 11, 2018
Nov 3, 2018
Aug 24, 2017
May 2, 2018
May 9, 2018
Oct 23, 2018
May 19, 2017
Feb 20, 2018
Nov 2, 2018
Apr 19, 2018
Oct 23, 2018
Apr 19, 2018
Aug 29, 2016
Oct 23, 2018
Jun 8, 2016
Oct 23, 2018
Apr 17, 2018
May 4, 2018
Oct 23, 2018
Aug 16, 2018

Repository files navigation

The Solidity Contract-Oriented Programming Language

Join the chat at https://gitter.im/ethereum/solidity Build Status

Useful links

To get started you can find an introduction to the language in the Solidity documentation. In the documentation, you can find code examples as well as a reference of the syntax and details on how to write smart contracts.

You can start using Solidity in your browser with no need to download or compile anything.

The changelog for this project can be found here.

Solidity is still under development. So please do not hesitate and open an issue in GitHub if you encounter anything strange.

Building

See the Solidity documentation for build instructions.

Build for javascript

cd solidity

# 1. Prepare to Build solcjson, assume your project dir is "/root/project/solidity"
# a. build from Ubuntu [Optional]
docker run -it -v $(pwd):/root/project -w /root/project trzeci/emscripten:sdk-tag-1.35.4-64bit
apt-get update
apt-get install wget gcc boost
# b. build from macOS [Optional]

# 2.a install essetial
apt-get install -y build-essential
# 2.b if "2.a install build-essential" failed, please install Emscripten from this url:
https://github.com/juj/emsdk/tree/llvm_root

# 3. check if boost is installed 
./scripts/travis-emscripten/install_deps.sh

# 4. begin to compile
./scripts/travis-emscripten/build_emscripten.sh

# 5. release soljson.js
bash tran.sh

Windows

https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source
# install vs2017
# install cmake
scripts\install_deps.bat
部分文件在中文windows下警告被看作错误,改一下文件编码,删除不用的测试就行了
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
cmake --build . --config RelWithDebInfo

About

Solidity, the Contract-Oriented Programming Language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.0%
  • Solidity 13.8%
  • Shell 1.9%
  • CMake 0.9%
  • Python 0.2%
  • Batchfile 0.2%