Aleth – Ethereum C++ client, tools and libraries
The collection of C++ libraries and tools for Ethereum, formerly known as cpp-ethereum project. This includes the full Ethereum client aleth.
The Ethereum Documentation site hosts the aleth homepage, which has a Quick Start section.
| Operating system | Status |
|---|---|
| Ubuntu and macOS | |
| Windows |
https://github.com/ethereum/aleth/releases
Aleth:
docker run ethereum/aleth --helpTesteth:
docker run ethereum/testeth --helpGit and GitHub are used to maintain the source code. Clone the repository by:
git clone --recursive https://github.com/ethereum/aleth.git
cd alethThe --recursive option is important. It orders git to clone additional
submodules to build the project.
If you missed --recursive option, you are able to correct your mistake with command
git submodule update --init.
CMake is used to control the build configuration of the project. Latest version of CMake is required (at the time of writing 3.9.3 is the minimum). We strongly recommend you to install CMake by downloading and unpacking the binary distribution of the latest version available on the CMake download page.
The CMake package available in your operating system can also be installed and used if it meets the minimum version requirement.
Alternative method
The repository contains the scripts/install_cmake.sh script that downloads a fixed version of CMake and unpacks it to the given directory prefix. Example usage:
scripts/install_cmake.sh --prefix /usr/local.
Configure the project build with the following command to create the
build directory with the configuration.
mkdir build; cd build # Create a build directory.
cmake .. # Configure the project.
cmake --build . # Build all default targets.On Windows we support Visual Studio 2017, and 2019. You should generate a Visual Studio solution file (.sln) for the 64-bit architecture via the following command:
cmake .. -G "Visual Studio 15 2017 Win64"cmake .. -G "Visual Studio 16 2019" -A x64After the necessary dependencies have been downloaded and built and the solution has been generated, aleth.sln can be found in the
build directory.
Rc.exe is the Microsoft Resource Compiler. It's distributed with the Windows SDK and is required for generating the Visual Studio solution file. It can be found in the following directory: %ProgramFiles(x86)%\Windows Kits\<OS major version>\bin\<OS full version>\<arch>\
If you hit this error, adding the directory to your path (and launching a new command prompt) should fix the issue.
The current codebase is the work of many, many hands, with over 100 individual contributors over the course of its development.
Our day-to-day development chat happens on the aleth Gitter channel.
All contributions are welcome! We try to keep a list of tasks that are suitable for newcomers under the tag help wanted. If you have any questions, please do not hesitate to ask us about more information.
Please read CONTRIBUTING and CODING_STYLE thoroughly before making alterations to the code base.
All development goes in develop branch.
Note: The following is the output of ./aleth -h [--help] on Linux
…The Aleth project includes the following tools in addition to the Aleth client:
This project is not suitable for Ethereum mining because the support for GPU mining has been dropped some time ago including the ethminer tool. Use the ethminer tool from https://github.com/ethereum-mining/ethminer.
Details on how to run and debug the tests can be found here
All contributions are made under the GNU General Public License v3. See LICENSE.
No open issues yet, or sync has not completed.