Sedge Documentation

website·Indexed 37 days ago

https://docs.sedge.nethermind.io/

Sedge is a one-click setup tool for deploying and running Ethereum validators. It simplifies the process of creating docker-compose and environment files for various node setups, including Full-Node, Consensus, Execution, Validator, MevBoost, and Aztec. The tool supports Ethereum Mainnet, Gnosis Chain, and various testnets like Hoodi and Chiado, providing utilities for key management, dependency installation via Docker, and integration with Lido and Obol DV.

Tokens
23.6K
Snippets
137
Records
196
Agent score
64%

What's inside Sedge

  1. Overview of the Lido Exporter

    The Lido Exporter is an independent utility container that tracks Lido Community Staking Module (CSM) smart contract events and converts them into Prometheus metrics. It is used to monitor critical node operations such as penalties, exit requests, and bond status. It provides a /metrics endpoint compatible with Prometheus for collection, querying, and alerting.
  2. Overview of Lido Community Staking Module (CSM)

    The Lido Community Staking Module (CSM) is a permissionless protocol that allows community and solo stakers to become Lido Node Operators by providing an ETH-based bond (accepted in ETH, stETH, or wstETH) as security collateral. Benefits include smoothed rewards received via stETH and a user-friendly onboarding experience. It is currently live on Mainnet and the Hoodi testnet.
  3. Overview of Sedge node setup tool

    Sedge is a one-click setup tool written in Go designed for PoS network/chain validators and nodes. It automates the on-premise full node setup by generating docker-compose scripts based on the user's desired configuration and chosen client. It is designed to lower the entry barrier for non-technical users while remaining flexible enough for developers to modify generated setup files and integrate them with other solutions.
  4. Hardware requirements for Sedge validator setup

    When using Sedge for validator setup, all necessary nodes (execution, consensus, and validator) are installed and executed on a single machine. This consolidated setup requires higher hardware resources than distributed setups. Running a validator on a device that does not meet the necessary hardware requirements may lead to total depletion of computer resources.
  5. Understand MEV Relays and their function

    MEV (Maximal Extractable Value) relays are services on Ethereum that help network participants capture value by optimizing the ordering and selection of transactions within a block. They aggregate transaction bundles from users and strategies (algorithms for arbitrage or liquidations) and propose these bundles to miners. This process helps reduce network congestion and gas price manipulation by providing a market-based solution for transaction prioritization, though it introduces some centralization in transaction ordering.
  6. Understand the role of Bootnodes in Ethereum

    Bootnodes are specialized nodes that act as entry points for new nodes joining the Ethereum network. They provide new nodes with a list of other peer nodes to connect to, enabling the new node to begin verifying transactions and executing smart contracts. Bootnodes help maintain network health and security by facilitating easy discovery and mitigating certain attacks, such as Sybil attacks.
  7. Inspect Sedge running containers with `sedge show`

    The sedge show command displays information about the containers created by Sedge for a specific sedge-data directory. It provides details such as the container name, the image version being used, and the internal IP address of each container (e.g., execution client, consensus client, and validator client).
    $ sedge show
  8. Manage the monitoring stack with sedge monitoring

    The sedge monitoring command is used to manage the monitoring stack for tracking node performance and health. It provides two primary actions: init to install and run the stack, and clean to stop and uninstall it.
    # Get general help
    sedge monitoring -h
    
    # Initialize the stack
    sedge monitoring init [subcommand]
    
    # Uninstall the stack
    sedge monitoring clean
  9. Understand Checkpoint Sync in Sedge

    Checkpoint sync (or checkpoint-based syncing) is a blockchain synchronization method that uses predefined, trustworthy block headers (checkpoints) to avoid downloading and verifying every block from the genesis block. By starting synchronization from the most recent checkpoint, nodes significantly reduce the amount of data processed, resulting in a faster and more efficient sync compared to a traditional full sync. This method involves a trade-off, as it relies on trust in the checkpoint data provided.
  10. Install Docker and Docker Compose manually

    For users on Windows, macOS, or Linux who prefer not to use the Sedge CLI installer, Docker Desktop is recommended as it provides both the Docker Engine and Docker Compose in a single GUI application. Alternatively, users can follow the official Docker Engine installation instructions.
  11. Generate a Sepolia full node without a validator

    To generate a setup for a full node (excluding a validator node) using random clients on the Sepolia network, use the sedge generate full-node command with the --no-validator flag.
    sedge generate full-node --no-validator --network=sepolia