Skip to content

Category: Tech

Getting Started with Nethermind on Windows

Nethermind is an Ethereum Client built on .NET Core. It is extremely fast and efficient.

Website
Github
Read The Docs

  1. Download Nethermind from the official page
    • For this tutorial I’m going to use D:\Nethermind\
    • I’m going to extract the latest version (1.3.2 as of writing) to D:\Nethermind\1.3.2\ in order to have a ‘fresh’ copy.
    • I’m then going to copy the contents to D:\Nethermind\Current\ as this will be my ‘working directory’.NethermindPath
  2. Create a folder for your custom config files
    • I’m going to use D:\Nethermind\MyConfig\
  3.  Create folders for your data (Database, Log, Keystore)
    • I’m going to use D:\Nethermind\MyData\MyDataPath
      NethermindFolders
  4. Populate your Config Folder with optional Static-Nodes
    • If you have other nodes on your network or wish to statically assign peers you can create or copy “static-nodes.json” from the D:\Nethermind\Current\Data folder. Then simply add your enodes.
  5. Generate your configuration file
    • The default config file is “mainnet.cfg” located in D:\Nethermind\Current\configs\ copy this file to your MyConfig folder
    • You will want to modify a few options at the very least, below is my config.

SSH Tunneling host to host

First I will bring up a couple simple ubuntu docker containers. I have already setup vlans 10 and 20 in my network within docker using macvlan, so here i’m just assigning them specific IP addresses to use. You’ll also have to use privileged mode on these or else you won’t be able to bring up the tunnels. You will not need to worry about this unless you are using docker containers like I am.