Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

aleth

> 开发工具
Open source

Aleth – Ethereum C++ client, tools and libraries

4.0K stars0 likes2 views
WebsiteGitHub

About

Aleth – Ethereum C++ client, tools and libraries

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.

⚠️ This project has been discontinued and is no longer maintained.

Contact

  • Chat in aleth channel on Gitter.
  • Report bugs, issues or feature requests using GitHub issues.

Usage

The Ethereum Documentation site hosts the aleth homepage, which has a Quick Start section.

Operating system Status
Ubuntu and macOS
Windows

Install

Download release binaries

https://github.com/ethereum/aleth/releases

Using docker images

Aleth:

bash
docker run ethereum/aleth --help

Testeth:

bash
docker run ethereum/testeth --help

Building from source

Get the source code

Git and GitHub are used to maintain the source code. Clone the repository by:

bash
git clone --recursive https://github.com/ethereum/aleth.git
cd aleth

The --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.

Install CMake

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.

Build

Configure the project build with the following command to create the build directory with the configuration.

bash
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:

  • Visual Studio 2017: cmake .. -G "Visual Studio 15 2017 Win64"
  • Visual Studio 2019: cmake .. -G "Visual Studio 16 2019" -A x64

After the necessary dependencies have been downloaded and built and the solution has been generated, aleth.sln can be found in the build directory.

Common Issues Building on Windows

LINK : fatal error LNK1158: cannot run 'rc.exe'

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.

Contribute

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.

Usage

Note: The following is the output of ./aleth -h [--help] on Linux

…

Tools

The Aleth project includes the following tools in addition to the Aleth client:

  • aleth-bootnode: A C++ Ethereum discovery bootnode implementation
  • aleth-key: A rudimentary wallet
  • aleth-vm: An EVM bytecode runner tool
  • rlp: A RLP encoder/decoder tool
  • testeth: A consensus test generator/runner tool

Mining

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.

Testing

Details on how to run and debug the tests can be found here

Documentation

  • Internal documentation for developers.
  • Outdated documentation for end users.

License

All contributions are made under the GNU General Public License v3. See LICENSE.

Issues· 340 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++cppethereumethereum-clientevm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具