This document provides an overview of Logos Blockchain usage via the Logos Core command line application.

Prerequisites

The Logos package manager and the Logos Core CLI application must be installed on your system. Please follow the instructions in their documentation to install them.

See Downloading pre-built logoscore binaries for downloading pre-built binaries

Run Logos Blockchain Module using Logos Core

Download Logos Blockchain module using lgpd:

lgpd download blockchain_module --output ./modules

Install module using lgpm:

lgpm --modules-dir ./modules install --file blockchain_module-0.2.0.lgx

Launch logoscore in daemon mode with the same modules directory used by lgpm:

logoscore -m ./modules -D &

Load the blockchain module:

logoscore load-module blockchain_module

Generate a new user configuration file:

logoscore call blockchain_module generate_user_config '{
  "initial_peers": [
    "/ip4/65.108.203.235/udp/3000/quic-v1/p2p/12D3KooWNbZTQ86TZ9MrZ2wm6iUFFj25AFTzFLUD7i6XkZHoUzU8",
    "/ip4/65.108.203.235/udp/3001/quic-v1/p2p/12D3KooWNhXaH4XTX6Pp66NDQZxZpXYQzeruwwraMvTxojz1QXPJ",
    "/ip4/65.108.203.235/udp/3002/quic-v1/p2p/12D3KooWNTLPg5uYPKgZCDvzyaWNwZNcwVKmfS2bNv52E9L9P7Hf",
    "/ip4/65.108.203.235/udp/50001/quic-v1/p2p/12D3KooWMULUG8RXC2esnfLcVzGHohf6KNPSswkCKa1mdpXz4tHH"
  ]
}'

Start the blockchain module with your user_config.yaml:

logoscore call blockchain_module start user_config.yaml ""

Check if the chain is still bootstrapping or already online: