VS Code
To build Nethermind 1.9.* releases you will need .NET SDK 3.1. You can download it here (make sure you select correct platform and distribution):
For Nethermind 1.10.* releases you are going to need .NET SDK 5.0 that can be downloaded from the url above.
sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6
sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6 && \sudo add-apt-repository ppa:ubuntu-toolchain-r/test && \sudo apt-get update && \sudo apt-get install gcc-6 g++-6 && \sudo apt install libzstd1
sudo yum install -y glibc-devel && \sudo yum install -y bzip2-devel && \sudo yum install -y libzstd && \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
sudo yum install -y glibc-devel && \sudo yum install -y snappy && \sudo yum install -y libzstd && \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
brew install gmp snappy lz4 zstd
You may need to install https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
If dotnet command is not found then probably you forgot to install SDK (see instructions above)
On Linux distributions we suggest that at this stage you start screen
so you can go back to session with screen -rd
command later on
Clone the Nethermind repository and its submodules, then build Nethermind in Release
or Debug
mode.
git clone https://github.com/NethermindEth/nethermind.git --recursivecd nethermind/src/Netherminddotnet build Nethermind.sln -c Release
Launch goerli testnet for quick sync and testing
cd Nethermind.Runnerdotnet run --no-build -c Release -- --config goerli
You can confirm the latest block of the Goerli tetsnet here:
or to run Ethereum Mainnet:
cd Nethermind.Runnerdotnet run --no-build -c Release -- --config mainnet
If you have some previous pre-release versions of .NET Core installed they may cause conflicts. Your case might be quite unique so best to search for help online.