Skip to content

Our flagship .NET Core Ethereum client for Linux, Windows, MacOs - full and actively developed

License

Notifications You must be signed in to change notification settings

skynode/nethermind

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

.NET Core Ethereum client

Nethermind is a is a high-performance, highly configurable full Ethereum protocol client built on .NET Core that runs on Linux, Windows and MacOS, and supports Clique, AuRa, Ethash and Proof of Stake consensus algorithms. Nethermind offers very fast sync speeds and support for external plug-ins. Enjoy reliable access to rich on-chain data thanks to high performance JSON-RPC based on Kestrel web server. Healthy node monitoring is secured with a Grafana dashboard and Seq enterprise logging.

Documentation Releases Docker Pulls Codecov Website

πŸ—£οΈ Chats

Discord Gitter

πŸ“’ Social

Twitter Follow LinkedIn Follow Medium Follow

Download and run

Windows Linux MacOS

⛓️ Currently supported list of networks

Network name
Mainnet
Goerli
Rinkeby
Ropsten
Sepolia
xDai (Gnosis)
Poacore
Sokol
EnergyWeb
Volta
Kovan

Using PPA

(Tested on Ubuntu Series: Focal, Bionic, Xenial and Trusty)

  1. sudo add-apt-repository ppa:nethermindeth/nethermind
  2. sudo apt install nethermind
  3. To execute the launcher nethermind
  4. To execute the runner nethermind --config mainnet_pruned

Using Homebrew

  1. brew tap nethermindeth/nethermind
  2. brew install nethermind
  3. To execute the launcher nethermind-launcher
  4. To execute the runner nethermind --config mainnet_pruned

Build from Source

🚧 Prerequisites

.NET SDK

Windows

Linux

Ubuntu

sudo apt-get install libsnappy-dev libc6-dev libc6

# Link libraries (only for Ubuntu >= 21.04)
amd64 architecture: sudo ln -s /usr/lib/x86_64-linux-gnu/libdl.so.2 /usr/lib/x86_64-linux-gnu/libdl.so
arm64/aarch64 architecture: sudo ln -s /usr/lib/aarch64-linux-gnu/libdl.so.2 /usr/lib/aarch64-linux-gnu/libdl.so

# Extra dependency for arm64/aarch64
sudo apt-get install libgflags-dev

Tested on Ubuntu 21.04, 20.04 and 18.04 LTS and 21.10

Debian

sudo apt-get install libsnappy-dev libc6-dev libc6

Tested on Debian 10 (9 not working)

CentOS

sudo yum install -y glibc-devel bzip2-devel libzstd

# Link libraries
sudo ln -s `find /usr/lib64/ -type f -name "libbz2.so.1*"` /usr/lib64/libbz2.so.1.0 && \
sudo ln -s `find /usr/lib64/ -type f -name "libsnappy.so.1*"` /usr/lib64/libsnappy.so

Tested on CentOS 8

Fedora

sudo yum install -y glibc-devel snappy libzstd

# Link libraries
sudo ln -s `find /usr/lib64/ -type f -name "libbz2.so.1*"` /usr/lib64/libbz2.so.1.0 && \
sudo ln -s `find /usr/lib64/ -type f -name "libsnappy.so.1*"` /usr/lib64/libsnappy.so
# also required for Fedora 35
sudo ln -s `find /usr/lib64/ -type f -name "libdl.so.2*"` /usr/lib64/libdl.so

Tested on Fedora 32

MacOS

brew install rocksdb gmp snappy lz4 zstd
  • Apple Silicon (M1) users only: create symlink for homebrew dependencies
sudo ln -s `find /opt/homebrew/Cellar/snappy -name "libsnappy.dylib"` /usr/local/lib/libsnappy.dylib

πŸ—οΈ Build and Run

git clone https://github.com/NethermindEth/nethermind --recursive
cd nethermind/src/Nethermind
dotnet build Nethermind.sln -c Release
cd Nethermind.Runner
dotnet run -c Release --no-build --config mainnet

🐳 Docker Image

Official Nethermind docker images are available on Docker Hub.

Get digest of docker image

In case of any docker image need to be updated in the repository, you can update the digest of this images with the next commands

docker inspect --format='{{index .RepoDigests 0}}' <image_name>

The output must show the image digest, and then you can copy that output in the FROM tag inside the Dockerfile

πŸ§ͺ Test

If you want to run the Nethermind or Ethereum Foundation tests, then:

dotnet build Nethermind.sln -c Debug
dotnet test Nethermind.sln

dotnet build EthereumTests.sln -c Debug
dotnet test EthereumTests.sln

🧱 IDE

JetBrains Rider Visual Studio Code Visual Studio

πŸ‘£ Contributors welcome

GitHub Issues GitHub Contributors

License

GitHub

About

Our flagship .NET Core Ethereum client for Linux, Windows, MacOs - full and actively developed

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.4%
  • Shell 0.3%
  • C 0.2%
  • CMake 0.1%
  • Python 0.0%
  • Solidity 0.0%