Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 3.11 KB

README.md

File metadata and controls

85 lines (56 loc) · 3.11 KB

Fuse Network - Nethermind Node Bootstrap Script

This custom script is designed to help you easily bootstrap your own node for either the Fuse mainnet or the Spark testnet.

Before proceeding, please ensure you have checked the minimum system requirements for Nethermind here and the required disk speed here.

Additionally, it is crucial to review the Security Considerations for Nethermind nodes, if you plan to run a validator using the Nethermind client.

Description

Note: Currently, the script supports the following roles: node, bootnode, explorer and validator.

./quickstart.sh

The Fuse Client - Bootstrap Your Own Node

Description:
  This script allows you to run your own Fuse node locally based on a specified role.

Note:
  quickstart.sh supports the following Linux/Unix-based distributions: Ubuntu, Debian, Fedora, CentOS, RHEL.

Usage:
  ./quickstart.sh [-r|-n|-k||-v|-h|-u|-m]

Options:
  -r  Specify the node role. Available roles: 'node', 'bootnode', 'explorer', 'validator'
  -n  Network (mainnet or testnet). Available values: 'fuse' and 'spark'
  -k  Node key name for https://health.fuse.io. Example: 'my-own-fuse-node'
  -v  Script version
  -u  Unjail a node (Validator only)
  -m  Flag a node for maintenance (Validator only)
  -h  Help page

How to run

wget -O quickstart.sh https://raw.githubusercontent.com/fuseio/fuse-network/master/nethermind/quickstart.sh
chmod 755 quickstart.sh
./quickstart.sh -r [node_role] -n [network_name] -k [node_key]

Note: If the node is already configured, repeating this step with the same arguments will update the client if a new version is available.

Examples:

# Run node for Fuse (Mainnet)
./quickstart.sh -r node -n fuse -k fusenet-node

# Run bootnode for Spark (Testnet)
./quickstart.sh -r bootnode -n spark -k fusenet-spark-bootnode

# Unjail a node
./quickstart.sh -u

# Flag a node for maintenance
./quickstart.sh -m

Health Dashboard

The node should appear on the health dashboard and can be monitored there.

For testnet: Spark health dashboard

Additionally, configure Nethermind monitoring by following the instructions here.

Nethermind DB Snapshot

To speed up node sync there are the snapshot download links.

Endpoint Network Type Direct link (latest)
https://snapshot.fusespark.io Spark FastSync https://snapshot.fusespark.io/nethermind/database.zip
https://snapshot.fuse.io Fuse FastSync https://snapshot.fuse.io/nethermind/database.zip

The archive file contains database folder, blockchain ledger, with n blocks depending on the snapshot date.