### Demo Plugin Command-Line Option Example Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Example of how a plugin's configuration option is presented in the help output. ```text --demo-enabled, --Demo.Enabled Whether to enable the Demo plugin. ``` -------------------------------- ### Configure KZG Setup Path Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Specify the path to the KZG trusted setup file. Defaults to null. ```bash --init-kzgsetuppath --Init.KzgSetupPath ``` ```bash NETHERMIND_INITCONFIG_KZGSETUPPATH= ``` ```json { "Init": { "KzgSetupPath": } } ``` -------------------------------- ### Nethermind Command Line Options Example Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.38.0/developers/plugins/plugins.md Example output showing available command-line options, including a specific option for enabling the Demo plugin. ```text Description: Usage: nethermind [options] Options: -?, -h, --help Show help and usage information --version Show version information --demo-enabled, --Demo.Enabled Whether to enable the Demo plugin. --era-exportdirectory, --Era.ExportDirectory Directory of archive export. --era-from, --Era.From Block number to import/export from. ``` -------------------------------- ### eth_getProof Request Example Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/eth.md Use this method to get a proof for a specific account's storage or code. It requires the account address, storage keys, and a block parameter. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "eth_getProof", \ "params": [accountAddress, storageKeys, blockParameter] \ }' ``` -------------------------------- ### Install Nethermind on Linux Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Installs Nethermind on Linux systems after adding the Nethermind PPA repository. ```bash sudo apt-get update sudo apt-get install nethermind ``` -------------------------------- ### Install dotnet-counters Locally Source: https://github.com/nethermindeth/docs/blob/main/docs/monitoring/metrics/dotnet-counters.md Installs the dotnet-counters tool globally on your machine. This allows you to run the tool directly from your command line. ```bash dotnet tool install -g dotnet-counters ``` -------------------------------- ### DemoStep with RunnerStepDependencies Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Example of an initialization step that declares a dependency on another step, 'InitializeBlockchain', to control startup order. ```csharp using Nethermind.Api.Steps; using Nethermind.Init.Steps; // This step runs after InitializeBlockchain [RunnerStepDependencies(typeof(InitializeBlockchain))] public class DemoStep(ILogManager logManager) : IStep { // ... } ``` -------------------------------- ### Install Nethermind on Windows Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Installs Nethermind on Windows using the Windows Package Manager. ```powershell winget install --id Nethermind.Nethermind ``` -------------------------------- ### Install Nethermind on macOS Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Installs Nethermind on macOS using Homebrew after tapping the repository. ```bash brew install nethermind ``` -------------------------------- ### Run Documentation Locally Source: https://github.com/nethermindeth/docs/blob/main/README.md Start the Docusaurus development server to view the documentation locally. Requires Node.js v18 or later. ```bash npm run start ``` -------------------------------- ### Run Lighthouse Consensus Client Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/running-node/consensus-clients.md Starts the Lighthouse consensus client on Mainnet. Use `--network` and `--checkpoint-sync-url` for other networks. ```bash lighthouse bn \ --network mainnet \ --execution-endpoint http://localhost:8551 \ --execution-jwt path/to/jwt.hex \ --checkpoint-sync-url https://mainnet.checkpoint.sigp.io \ --http ``` -------------------------------- ### Run Grandine Consensus Client Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/running-node/consensus-clients.md Starts the Grandine consensus client on the Mainnet. Configure network and checkpoint sync URL for other networks. ```bash grandine \ --network mainnet \ --eth1-rpc-urls http://localhost:8551 \ --jwt-secret path/to/jwt.hex \ --checkpoint-sync-url https://beaconstate.ethstaker.cc ``` -------------------------------- ### Manage Nethermind Linux Service Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Commands to install, start, and enable the Nethermind systemd service. These commands are used after creating the unit file and configuring the environment. ```bash # Move the unit file to the systemd directory sudo mv nethermind.service /etc/systemd/system # Reload the systemd daemon sudo systemctl daemon-reload # Start the service sudo systemctl start nethermind # Optionally, enable the service to start on boot sudo systemctl enable nethermind ``` -------------------------------- ### Get Parity Node Enode URI Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/parity.md Retrieves the node's enode URI, which is essential for peer discovery and connection. This is a request example using curl. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "parity_enode", \ "params": [] \ }' ``` -------------------------------- ### Show Help Information Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Use the -?, -h, or --help options to display all available command line options. ```bash -?, -h, --help ``` -------------------------------- ### Run Nethermind Docker Container Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Starts a Nethermind Docker container interactively using the latest chiseled image. This is a basic command to get the container running. ```bash docker run -it nethermind/nethermind:latest-chiseled ``` -------------------------------- ### Show Help and Plugin Options Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Display all available command-line options, including those for plugins. ```bash nethermind -h ``` -------------------------------- ### Get Block Data with Ethers.js (High-level) Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/interacting/json-rpc-server.md Use the high-level provider.getBlock method to call eth_getBlockByNumber. Note that not all JSON-RPC methods have a corresponding high-level API. Ensure Ethers.js v6 is installed. ```javascript import { JsonRpcProvider } from 'ethers'; // Assuming Nethermind is running locally using the default port of 8545 const provider = new JsonRpcProvider('http://localhost:8545'); // Use the high-level API to send the request. // Note that the return type may differ from the one of the low-level API. // Not all JSON-RPC methods have their respective high-level API. block = await provider.getBlock('latest', true); console.log('Block:', block); ``` -------------------------------- ### Get Account Balance with Viem (High-level) Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/interacting/json-rpc-server.md Use the high-level client.getBalance method to call eth_getBalance. Note that the return type may differ from the low-level API. Ensure Viem v2 is installed. ```javascript import { createPublicClient, http, formatEther, hexToNumber } from 'viem'; import { localhost } from 'viem/chains'; // Assuming Nethermind is running locally using the default port of 8545 const client = createPublicClient({ chain: localhost, transport: http('http://localhost:8545') }); // Use the high-level API to send the request. // Note that the return type may differ from the one of the low-level API. // Not all JSON-RPC methods have their respective high-level API. balance = await client.getBalance({ address: '0x00000000219ab540356cbb839cbe05303d7705fa', blockTag: 'latest' }); console.log('Balance:', formatEther(balance)); ``` -------------------------------- ### Get Account Balance with Ethers.js (High-level) Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/interacting/json-rpc-server.md Use the high-level provider.getBalance method to call eth_getBalance. Note that the return type may differ from the low-level API. Ensure Ethers.js v6 is installed. ```javascript import { JsonRpcProvider, formatEther } from 'ethers'; // Assuming Nethermind is running locally using the default port of 8545 const provider = new JsonRpcProvider('http://localhost:8545'); // Use the high-level API to send the request. // Note that the return type may differ from the one of the low-level API. balance = await provider.getBalance( '0x00000000219ab540356cbb839cbe05303d7705fa', 'latest' ); console.log('Balance:', formatEther(balance)); ``` -------------------------------- ### Enable Demo Plugin via Command Line Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Use this command to enable the Demo plugin by setting its configuration option. ```bash nethermind --demo-enabled ``` -------------------------------- ### Configure Plugin via CommandLineArgs Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/developers/plugins/plugins.md Enable a plugin by setting the '--demo-enabled' flag in the commandLineArgs within the launchSettings.json for a specific launch profile (e.g., 'Hoodi'). ```json "commandLineArgs": "-c hoodi --data-dir .data --demo-enabled" ``` -------------------------------- ### Install Dependencies Source: https://github.com/nethermindeth/docs/blob/main/README.md Install project dependencies using npm. Requires Node.js v18 or later. ```bash npm i ``` -------------------------------- ### KeyStore KDF Parameters Configuration Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.36.0/fundamentals/configuration.md Configure KeyStore KDF parameters like P, R, and SaltLen using CLI, environment variables, or a configuration file. ```json { "KeyStore": { "KdfparamsP": } } ``` ```bash --keystore-kdfparamsP --KeyStore.KdfparamsP ``` ```bash NETHERMIND_KEYSTORECONFIG_KDFPARAMS P= ``` ```json { "KeyStore": { "KdfparamsR": } } ``` ```bash --keystore-kdfparamsr --KeyStore.KdfparamsR ``` ```bash NETHERMIND_KEYSTORECONFIG_KDFPARAMSR= ``` ```json { "KeyStore": { "KdfparamsSaltLen": } } ``` ```bash --keystore-kdfparamssaltlen --KeyStore.KdfparamsSaltLen ``` ```bash NETHERMIND_KEYSTORECONFIG_KDFPARAMSSALTLEN= ``` -------------------------------- ### Configure KeyStore Password Files Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Provide paths to password files for unlocking accounts using CLI, environment variable, or configuration file. Defaults to an empty array. ```cli --keystore-passwordfiles --KeyStore.PasswordFiles ``` ```env NETHERMIND_KEYSTORECONFIG_PASSWORDFILES= ``` ```json { "KeyStore": { "PasswordFiles": } } ``` -------------------------------- ### Add Nethermind Tap and Install on macOS Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/get-started/installing-nethermind.md Add the Nethermind Homebrew tap and install Nethermind using brew. ```bash brew tap nethermindeth/nethermind ``` ```bash brew install nethermind ``` -------------------------------- ### Enable RPC Modules via Command Line Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/developers/plugins/samples/json-rpc-handler.md Command to start Nethermind with specific RPC modules enabled, including 'eth' and 'demo'. Module names are case-insensitive. ```bash nethermind \ -c holesky \ --jsonrpc-enabledmodules eth,demo ``` -------------------------------- ### DemoStep Implementation Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md An initialization step that logs a message during Nethermind's startup sequence. It automatically receives dependencies via its constructor. ```csharp using System.Threading; using System.Threading.Tasks; using Nethermind.Api.Steps; using Nethermind.Logging; namespace DemoPlugin; public class DemoStep(ILogManager logManager) : IStep { public Task Execute(CancellationToken cancellationToken) { var logger = logManager.GetClassLogger(); logger.Warn("Hello from DemoStep!"); return Task.CompletedTask; } } ``` -------------------------------- ### Create a new .NET class library project Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Use this command to create a new class library project for your Nethermind plugin. This sets up the basic project structure. ```bash dotnet new classlib -n DemoPlugin -o . ``` -------------------------------- ### Configure Starting Block for Total Difficulty Fix Source: https://github.com/nethermindeth/docs/blob/main/docs/fundamentals/configuration.md Sets the starting block number for which total difficulty will be recalculated. Defaults to null. ```json { "Sync": { "FixTotalDifficultyStartingBlock": } } ``` ```bash --sync-fixtotaldifficultystartingblock --Sync.FixTotalDifficultyStartingBlock ``` ```dotenv NETHERMIND_SYNCCONFIG_FIXTOTALDIFFICULTYSTARTINGBLOCK= ``` -------------------------------- ### Configure EraE Import/Export Start Block Source: https://github.com/nethermindeth/docs/blob/main/docs/fundamentals/configuration.md Set the starting block number for EraE import or export operations. Defaults to 0. ```cli --erae-from --EraE.From ``` ```env NETHERMIND_ERAECONFIG_FROM= ``` ```json { "EraE": { "From": } } ``` -------------------------------- ### Install Microsoft Visual C++ Redistributable on Windows Source: https://github.com/nethermindeth/docs/blob/main/docs/get-started/installing-nethermind.md Installs the necessary Microsoft Visual C++ Redistributable package on Windows using winget. ```powershell winget install --id Microsoft.VCRedist.2015+.x64 ``` -------------------------------- ### Sample Kurtosis Deployment Output Source: https://github.com/nethermindeth/docs/blob/main/docs/fundamentals/private-networks.md This is a sample output from the Kurtosis deployment command, showing the created enclave, files artifacts, and user services with their respective ports and statuses. ```text INFO[2023-09-01T16:10:45-04:00] ==================================================== INFO[2023-09-01T16:10:45-04:00] || Created enclave: timid-knoll || INFO[2023-09-01T16:10:45-04:00] ==================================================== Name: timid-knoll UUID: 939dfb5d59b0 Status: RUNNING Creation Time: Fri, 01 Sep 2023 16:08:57 EDT ========================================= Files Artifacts ========================================= UUID Name a876b06035b7 1-lighthouse-nethermind-0-63 87955ef69845 2-teku-nethermind-64-127 4f77377da494 3-lodestar-nethermind-128-191 9734313101e3 cl-genesis-data 4164ed5c594c el-genesis-data a49a3d2774b5 genesis-generation-config-cl 16fcc4f96236 genesis-generation-config-el 5fc72346f646 geth-prefunded-keys 96ae153a0b51 prysm-password ========================================== User Services ========================================== UUID Name Ports Status f369802ad2ae cl-1-lighthouse-nethermind http: 4000/tcp -> http://127.0.0.1:49894 RUNNING metrics: 5054/tcp -> http://127.0.0.1:49892 tcp-discovery: 9000/tcp -> 127.0.0.1:49893 udp-discovery: 9000/udp -> 127.0.0.1:64949 5e14eb26ef45 cl-1-lighthouse-nethermind-validator http: 5042/tcp -> 127.0.0.1:49895 RUNNING metrics: 5064/tcp -> http://127.0.0.1:49896 fed533d0e143 cl-2-teku-nethermind http: 4000/tcp -> 127.0.0.1:49899 RUNNING metrics: 8008/tcp -> 127.0.0.1:49897 tcp-discovery: 9000/tcp -> 127.0.0.1:49898 udp-discovery: 9000/udp -> 127.0.0.1:55521 69cd832de246 cl-3-lodestar-nethermind http: 4000/tcp -> 127.0.0.1:49903 RUNNING metrics: 8008/tcp -> 127.0.0.1:49901 tcp-discovery: 9000/tcp -> 127.0.0.1:49902 udp-discovery: 9000/udp -> 127.0.0.1:50507 75e3eec0c7d1 cl-3-lodestar-nethermind-validator metrics: 8008/tcp -> 127.0.0.1:49904 RUNNING e10c3f07e0e0 el-1-nethermind-lighthouse engine-rpc: 8551/tcp -> 127.0.0.1:49872 RUNNING rpc: 8545/tcp -> 127.0.0.1:49870 tcp-discovery: 30303/tcp -> 127.0.0.1:49869 udp-discovery: 30303/udp -> 127.0.0.1:64508 ws: 8546/tcp -> 127.0.0.1:49871 c6a28d3136fe el-2-nethermind-teku engine-rpc: 8551/tcp -> 127.0.0.1:49873 RUNNING rpc: 8545/tcp -> 127.0.0.1:49875 tcp-discovery: 30303/tcp -> 127.0.0.1:49874 udp-discovery: 30303/udp -> 127.0.0.1:52495 ws: 8546/tcp -> 127.0.0.1:49876 2fae3b3c41d3 el-3-nethermind-lodestar engine-rpc: 8551/tcp -> 127.0.0.1:49890 RUNNING rpc: 8545/tcp -> 127.0.0.1:49888 tcp-discovery: 30303/tcp -> 127.0.0.1:49891 udp-discovery: 30303/udp -> 127.0.0.1:62119 ws: 8546/tcp -> 127.0.0.1:49889 ``` -------------------------------- ### debug_simulateV1 Request Example Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/debug.md Example of how to call the debug_simulateV1 method using curl. Ensure you replace `payload`, `blockParameter`, and `options` with actual values. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "debug_simulateV1", \ "params": [payload, blockParameter, options] \ }' ``` -------------------------------- ### Run Nethermind with Metrics Enabled Source: https://github.com/nethermindeth/docs/blob/main/docs/monitoring/metrics/grafana-and-prometheus.md Start Nethermind with the Metrics.Enabled configuration option set to true and specify the Pushgateway URL. This enables metrics collection. ```bash nethermind \ -c mainnet \ --data-dir path/to/data/dir \ --metrics-enabled \ --metrics-pushgatewayurl http://localhost:9091 ``` -------------------------------- ### Build the plugin project Source: https://github.com/nethermindeth/docs/blob/main/docs/developers/plugins/plugins.md Compile your plugin project using the .NET CLI. This command generates the necessary DLL file for your plugin. ```bash dotnet build ``` -------------------------------- ### Set Opcode Tracing Start Block Source: https://github.com/nethermindeth/docs/blob/main/docs/fundamentals/configuration.md Specifies the inclusive start block number for tracing. Used with EndBlock to define an explicit range. Defaults to null. ```bash --opcodetracing-startblock --OpcodeTracing.StartBlock ``` ```dotenv NETHERMIND_OPCODETRACINGCONFIG_STARTBLOCK= ``` ```json { "OpcodeTracing": { "StartBlock": } } ``` -------------------------------- ### Configure Plugin via CommandLineArgs in launchSettings.json Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/developers/plugins/plugins.md Enable your plugin for a specific network (e.g., Holesky) by passing a command-line argument in the launchSettings.json file. ```json ... "Holesky": { "commandName": "Project", // highlight-start "commandLineArgs": "-c holesky --data-dir .data --demo-enabled", // highlight-end "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } }, ... ``` -------------------------------- ### Full Pruning Start Logs Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/fundamentals/state-pruning.md These log messages indicate that full pruning is ready to start and has begun. Ensure the node is not restarted until pruning is finished to avoid losing progress. ```log Full Pruning Ready to start: pruning garbage before state with root . WARN: Full Pruning Started on root hash : do not close the node until finished or progress will be lost. ``` -------------------------------- ### Full Pruning Started Log Message Source: https://github.com/nethermindeth/docs/blob/main/docs/fundamentals/state-pruning.md This warning log message signifies the start of the full pruning process, emphasizing the importance of not closing the node until completion to avoid losing progress. ```log WARN: Full Pruning Started on root hash : do not close the node until finished or progress will be lost. ``` -------------------------------- ### Run Ethereum Foundation Tests Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/developers/building-from-source.md Execute the Ethereum Foundation test suite. ```bash cd src/Nethermind # Run Ethereum Foundation tests dotnet test EthereumTests.slnx -c release ``` -------------------------------- ### Nethermind Help Output with Plugin Option Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.37.0/developers/plugins/plugins.md Shows the help output from the Nethermind CLI, highlighting the command-line argument for enabling the demo plugin. This helps in understanding available configuration options. ```text Description: Usage: nethermind [options] Options: -?, -h, --help Show help and usage information --version Show version information --demo-enabled, --Demo.Enabled Whether to enable the Demo plugin. --era-exportdirectory, --Era.ExportDirectory Directory of archive export. --era-from, --Era.From Block number to import/export from. ... ``` -------------------------------- ### Get Signers at Block Number Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/clique.md Use `clique_getSignersAtNumber` to get the list of authorized signers at a specific block number. The block number, provided as a hex integer string, is a required parameter. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "clique_getSignersAtNumber", \ "params": [number] \ }' ``` ```json { "jsonrpc": "2.0", "id": 0, "result": result } ``` -------------------------------- ### Get Transaction Count by Block Number via JSON-RPC Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.38.0/interacting/json-rpc-ns/eth.md Use eth_getBlockTransactionCountByNumber to get the transaction count for a block identified by its block parameter (number or hash). The count is provided as a hexadecimal integer. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "eth_getBlockTransactionCountByNumber", \ "params": [blockParameter] \ }' ``` ```json { "jsonrpc": "2.0", "id": 0, "result": result } ``` -------------------------------- ### Configure KeyStore Passwords Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Provide passwords for unlocking accounts using CLI, environment variable, or configuration file. Defaults to an empty array. ```cli --keystore-passwords --KeyStore.Passwords ``` ```env NETHERMIND_KEYSTORECONFIG_PASSWORDS= ``` ```json { "KeyStore": { "Passwords": } } ``` -------------------------------- ### Show Version Information Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Use the --version option to display the current Nethermind version. ```bash --version ``` -------------------------------- ### Get Account Balance with Cast (Ether Format) Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/interacting/json-rpc-server.md Use the `cast balance` command for a more direct way to get an account's balance in Ether. Note that the output format differs from `cast rpc`. ```bash # Alternatively, use the dedicated balance command. # Note that the output format differs from the one above. cast balance 0x00000000219ab540356cbb839cbe05303d7705fa --ether --rpc-url http://localhost:8545 ``` -------------------------------- ### debug_getRawTransaction Request Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/debug.md Gets the raw transaction format. Requires a transaction hash as a parameter. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "debug_getRawTransaction", \ "params": [transactionHash] \ }' ``` -------------------------------- ### Configure KeyStore Directory Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Specify the directory for KeyStore files using CLI, environment variable, or configuration file. Defaults to 'keystore'. ```cli --keystore-keystoredirectory --KeyStore.KeyStoreDirectory ``` ```env NETHERMIND_KEYSTORECONFIG_KEYSTOREDIRECTORY= ``` ```json { "KeyStore": { "KeyStoreDirectory": } } ``` -------------------------------- ### Configure KeyStore KDF Parameters (SaltLen) Source: https://github.com/nethermindeth/docs/blob/main/versioned_docs/version-1.34.0/fundamentals/configuration.md Set the SaltLen parameter for KeyStore Key Derivation Function parameters using CLI, environment variable, or configuration file. ```cli --keystore-kdfparamssaltlen --KeyStore.KdfparamsSaltLen ``` ```env NETHERMIND_KEYSTORECONFIG_KDFPARAMSSALTLEN= ``` ```json { "KeyStore": { "KdfparamsSaltLen": } } ``` -------------------------------- ### Get Clique Proposals Source: https://github.com/nethermindeth/docs/blob/main/docs/interacting/json-rpc-ns/clique.md Retrieves the current proposals the node is voting on. This method does not require any parameters. ```bash curl localhost:8545 \ -X POST \ -H "Content-Type: application/json" \ --data '{ \ "jsonrpc": "2.0", \ "id": 0, \ "method": "clique_proposals", \ "params": [] \ }' ```