Run A Libre Node

Anyone can run a node to validate Libre data and submit API transactions, it's as easy as 1,2,3...

Node Types in the Libre Ecosystem

The Libre network consists of three main types of nodes:

  1. API Nodes - Basic nodes that provide API access to the blockchain and relay transactions

  2. Validator Nodes - Produce and validate blocks on the Libre blockchain, requiring more resources and maintenance

  3. CrossLink Nodes - Specialized nodes that validate cross-chain transactions between Bitcoin and Libre, typically operated alongside validator nodes

This guide focuses primarily on setting up a basic API node. For more information about validator nodes and CrossLink nodes, please see Validators and the Libre CrossLink documentation.

Setting Up a Basic API Node

  1. Install Libre node software:

    bash -c "$(curl -sSfL https://gitlab.com/libre-chain/libre-chain-nodes/-/raw/main/install.sh)"
  2. Update your environment:

    source ~/.bashrc
  3. Check logs:

    tail -f /opt/libre-chain-nodes/libreNode/stderr.txt

For more advanced configuration and usage - including running a mainnet node - please refer to the full documentation.

Hint: Check mainnet dir for peers and node.env for snapshot link.

Libre Nodes Git Repo

Last updated

Was this helpful?