Skip to content

Latest commit

 

History

History
88 lines (55 loc) · 2.62 KB

eth2-less-than-greater-than-nethermind.md

File metadata and controls

88 lines (55 loc) · 2.62 KB
description
How to run Nethermind as your ETH1 endpoint for ETH2 clients

ETH2 <-> Nethermind

Nethermind client as ETH1 endpoint

{% hint style="warning" %} You should always consider being able to switch to Infura or another provider as a backup for safety (or run two nodes yourself)👈 {% endhint %}

{% hint style="warning" %} For a more comprehensive step-by-step guide, you should look into one of these awesome guides -> https://someresat.medium.com/. Below you will find instructions on how to run Nethermind node -> Step 6 — Set up an Ethereum (Eth1) Node {% endhint %}

Get & Run Nethermind

  • Download the Nethermind client

You can get it either from Github Releases or our Downloads page:

{% page-ref page="../ethereum-client/download-sources/" %}

  • unzip the package
  • run the Nethermind node (use Nethermind.Launcher or change configs/mainnet.cfg and run Nethermind.Runner --config mainnet)

{% hint style="info" %} use the Linux screen utility to keep your node working in the background {% endhint %}

screen -S nethermind
./Nethermind.Launcher

{% hint style="danger" %} Enable JSON RPC service so that your ETH2 Beacon node will be able to communicate {% endhint %}

{% page-ref page="../first-steps-with-nethermind/firewall-configuration.md" %}

Configure EthStats for your node if needed:

You should see the node starting:

{% hint style="info" %} Tip: Ctrl + A + D to leave the screen {% endhint %}

Running Nethermind as a systemd service

{% page-ref page="../first-steps-with-nethermind/manage-nethermind-with-systemd.md" %}

Monitoring Nethermind Node Health

Follow this guide to setup Prometheus/Grafana based local setup and monitor your node's most important stats there

{% page-ref page="../ethereum-client/metrics/setting-up-local-metrics-infrastracture.md" %}

{% hint style="info" %} The Block Number will be 0 for the unsynced node {% endhint %}

To check if your node is synced you may execute eth_syncing call check its result

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' localhost:8545

If the result shows false it means that your node is synced

{"jsonrpc":"2.0","result":false,"id":1}

Check the following guide to get even better node health monitoring:

{% page-ref page="../ethereum-client/monitoring-node-health.md" %}