-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
108 additions
and
183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
106 changes: 0 additions & 106 deletions
106
docs/fundamentals/01-running-nethermind/running-the-client.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
title: Running Nethermind | ||
sidebar_position: 0 | ||
--- | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
|
||
:::info | ||
To get the latest Nethermind version, see [Installing Nethermind](../get-started/installing-nethermind.md). | ||
::: | ||
|
||
## Running directly | ||
|
||
For advanced users, running the Nethermind client directly is the best option as it gives complete control over the | ||
configuration parameters. Nethermind is mainly controlled by command line options (or arguments, flags). | ||
|
||
The full list of options can be displayed by running: | ||
|
||
<Tabs groupId="os"> | ||
<TabItem value="linux" label="Linux"> | ||
|
||
```bash | ||
./nethermind -h | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="windows" label="Windows"> | ||
|
||
```powershell | ||
./nethermind.exe -h | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="macos" label="macOS"> | ||
|
||
```bash | ||
./nethermind -h | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
For instance, to launch the client with the default configuration for the Mainnet and custom data directory, run: | ||
|
||
<Tabs groupId="os"> | ||
<TabItem value="linux" label="Linux"> | ||
|
||
```bash | ||
./nethermind -c mainnet -dd path/to/data/dir | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="windows" label="Windows"> | ||
|
||
```powershell | ||
./nethermind.exe -c mainnet -dd path/to/data/dir | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="macos" label="macOS"> | ||
|
||
```bash | ||
./nethermind -c mainnet -dd path/to/data/dir | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
For detailed info about the available configuration options, see [Configuration](./04-configuration/README.md). | ||
|
||
## Running with the launcher | ||
|
||
For rookies, the launcher is the easiest way to begin by just following a few simple steps. | ||
|
||
Run the launcher as follows: | ||
|
||
<Tabs groupId="os"> | ||
<TabItem value="linux" label="Linux"> | ||
|
||
```bash | ||
./nethermind-launcher | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="windows" label="Windows"> | ||
|
||
```powershell | ||
./nethermind-launcher.exe | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="macos" label="macOS"> | ||
|
||
```bash | ||
./nethermind-launcher | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
1. To run a node, select `Ethereum Node` | ||
2. Then, select the desired [network](../get-started/networks.md) (Mainnet, Sepolia, Goerli) | ||
3. Then, select the [sync mode](./03-sync-modes.md) and you're ready to go | ||
|
||
If you need just the Nethermind command line interface (CLI), select `CLI` in the first step. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters