Run a Logos node with blockchain, storage, and delivery
Get started running a full Logos node with all three core modules on testnet v0.2.1.
This procedure covers installing and running a single Logos node with logoscore hosting the blockchain_module, storage_module, and delivery_module from one shared modules directory. It is intended for node operators who want to join the testnet and contribute to the Logos network. The steps assume a Linux host.
The default paths used throughout this procedure are:
/usr/local/bin/logoscore
/usr/local/bin/lgpd
/usr/local/bin/lgpm
/opt/logos-node/modules
/opt/logos-node/packages
/var/lib/logos-node
Before you start, make sure you have the following:
- Linux host with a public IPv4 address
- Ports
3000/udp,8090/udp,8091/tcp,9000/udp, and30303/tcpopen on the host firewall - Root or
sudoaccess to install tools and create system users
Make sure your hardware meets the following requirements for running a blockchain node:
- CPU: 2 Cores, 2Ghz. Modern multi-core processor.
- Memory (RAM): Minimal (1 Gb).
- Storage: SSD with 100+ GB free with ability to expand storage on demand.
- Network: Relatively reliable network connection. 1Mbps of free bandwidth.
If you wish to run a Blend node, make sure you have a stable connection (10 Mbps+ recommended) to handle multiple concurrent connections. A stable, low-latency connection is beneficial for effective message blending and timing obfuscation. Stable and accessible external IP is mandatory.
What to expect
- You can run a full Logos node with all three modules active and publicly reachable on the testnet.
- You can verify each module is healthy by querying the daemon and checking live port bindings.
- You can configure the node for unattended operation using the systemd service pattern described in here.
Step 1: Install runtime tools
Install the system dependencies and download the three Logos CLI tools.
You can also install these tools by running:
curl -fsSL https://raw.githubusercontent.com/logos-co/logos-docs/main/resources/scripts/install-node-tools.sh | sh
export PATH="$PWD/bin:$PATH"
-
Install
curl,jq,wget, and FUSE support for AppImage binaries:apt-get updateapt-get install -y curl jq wget fuse3 -
Download the Linux release assets for
logoscore,lgpd, andlgpm:Tool Repository logoscorehttps://github.com/logos-co/logos-logoscore-clilgpdhttps://github.com/logos-co/logos-package-downloaderlgpmhttps://github.com/logos-co/logos-package-managerFor x86_64 Linux, download the pinned testnet tool versions:
wget https://github.com/logos-co/logos-logoscore-cli/releases/download/0.2.2/logoscore-x86_64-linux.tar.gzwget https://github.com/logos-co/logos-package-downloader/releases/download/0.2.1/lgpd-x86_64-linux.tar.gzwget https://github.com/logos-co/logos-package-manager/releases/download/0.2.1/lgpm-x86_64-linux.tar.gz -
Verify the runtime-tool archives against the SHA-256 digests recorded for the pinned GitHub release assets:
sha256sum --check <<'EOF'6f216f4b807520194dd0e4d1a3d69bd2bc83f38781a5e7b2c1abf66e40143b33 logoscore-x86_64-linux.tar.gz2581f5bb6618623b9eb27b8bba37d39647b33c56d2f5bf15b41d0da286d45aee lgpd-x86_64-linux.tar.gz41c897a6da6db0ecabe03c0098b9bd0652ea8cd2eaf091e2d646a65b71260780 lgpm-x86_64-linux.tar.gzEOF -
Install the tools under
/usr/local/bin:tar -xzf logoscore-x86_64-linux.tar.gzinstall -m755 logoscore-x86_64.AppImage /usr/local/bin/logoscoretar -xzf lgpd-x86_64-linux.tar.gzinstall -m755 lgpd-x86_64.AppImage /usr/local/bin/lgpdtar -xzf lgpm-x86_64-linux.tar.gzinstall -m755 lgpm-x86_64.AppImage /usr/local/bin/lgpm -
Verify all three tools are accessible:
logoscore --versionlgpd --versionlgpm --version
Step 2: Prepare the host
Create the runtime user and the directory layout the node uses at runtime.
-
Create the
logossystem user and data directories:useradd --system --home /var/lib/logos-node --create-home --shell /usr/sbin/nologin logosmkdir -p /opt/logos-node/modules /opt/logos-node/packagesmkdir -p /var/lib/logos-node/blockchain-module-testnetmkdir -p /var/lib/logos-node/storage-modulemkdir -p /var/lib/logos-node/delivery-modulechown -R logos:logos /var/lib/logos-node -
Open these on the host firewall:
3000/udp8090/udp8091/tcp9000/udp30303/tcp
Step 3: Install modules
Download and install the three module packages from the configured module catalogue.
lgpd download fetches the version published in the catalogue. It does not automatically pull the newest commit from module repositories. Ensure the intended versions are published in the catalogue before running these commands.
-
Download the module packages. The root hash selects the exact published package identity for the pinned version:
lgpd download blockchain_module --version 0.2.1 --root-hash c33c59d690b206476214e5fcacaee08bd56911ad855ae9c08919005b5f3b3c43 --output /opt/logos-node/packageslgpd download storage_module --version 2.1.0 --root-hash c9ad6299dd62be478dc89a589cb88ab5876bee11812ed3bcaf97ecadcac0b34e --output /opt/logos-node/packageslgpd download delivery_module --version 0.2.0 --root-hash eb47c06575a6113f34a6d71e5e0b72d6d2db2ec7510b8be0ab9633b8385edd57 --output /opt/logos-node/packages -
Install all three packages into the shared modules directory:
lgpm --modules-dir /opt/logos-node/modules install --file /opt/logos-node/packages/blockchain_module-0.2.1.lgxlgpm --modules-dir /opt/logos-node/modules install --file /opt/logos-node/packages/storage_module-2.1.0.lgxlgpm --modules-dir /opt/logos-node/modules install --file /opt/logos-node/packages/delivery_module-0.2.0.lgx -
Verify the installed versions:
jq -r '.name + " " + .version' /opt/logos-node/modules/*/manifest.json- The output must include:
blockchain_module 0.2.1delivery_module 0.2.0storage_module 2.1.0
Step 4: Start Logos Core
Start the logoscore daemon with the shared modules directory before loading any modules.
-
As root, open a shell as the
logosruntime user:runuser -u logos -- env HOME=/var/lib/logos-node bash- Run the daemon, module configuration, module calls, and health checks from this shell. This keeps the daemon and CLI client on the same
/var/lib/logos-node/.logoscorestate and ensures generated files belong tologos.
- Run the daemon, module configuration, module calls, and health checks from this shell. This keeps the daemon and CLI client on the same
-
Start
logoscorein the foreground for a first manual run:cd /var/lib/logos-nodelogoscore -D -m /opt/logos-node/modules- Keep this terminal open. Use a second terminal for all module commands.
-
Verify the daemon is running:
logoscore status
Step 5: Configure and start the blockchain module
Load the blockchain module, generate the node config, and start the module.
user_config.yaml contains node-local wallet and key-management configuration. Keep it private, restrict file permissions, and do not publish it. Generate a fresh file for each node.
-
Create the peer bootstrap file:
cd /var/lib/logos-node/blockchain-module-testnetcat > peers.json <<EOF{"initial_peers": ["/ip4/65.109.51.37/udp/3000/quic-v1/p2p/12D3KooWFrouXfmrR4nsLMtE7wu15DoMJ6VtoUtHinREZCvbWHar","/ip4/65.109.51.37/udp/3001/quic-v1/p2p/12D3KooWJRGau8M1rjT7R5e4YYsgdFhsMX35nRDtMwCDjxQkXAHz","/ip4/65.109.51.37/udp/3002/quic-v1/p2p/12D3KooWQXJavMDTRscjauFSgVAB1VLB6Rzpy2uY5SU9Tk7927tb","/ip4/65.109.51.37/udp/50001/quic-v1/p2p/12D3KooWSQc7CcGtvWDPF1yCbBthFnQjprfCVHmfmNDUrSmqQsU1"]}EOF -
Load the module and generate
user_config.yaml:logoscore load-module blockchain_modulecd /var/lib/logos-node/blockchain-module-testnetlogoscore call blockchain_module generate_user_config "$(cat peers.json)"chmod 600 /var/lib/logos-node/user_config.yaml /var/lib/logos-node/keystore.yamlgenerate_user_configwritesuser_config.yamlto thelogoscoredaemon working directory (/var/lib/logos-node/user_config.yamlwith this guide's layout).- Important fields in
user_config.yamlinclude:
Field Purpose Guidance network.initial_peersBootstrap peers Use the current network document network.portPublic UDP P2P port Keep aligned with firewall/NAT, normally 3000api.listen_addressLocal API bind Keep private, normally 127.0.0.1:8080state.base_folderState directory Use a persistent local path logger filters Log verbosity Use INFOfor unattended operation -
Start the blockchain module:
logoscore call blockchain_module start /var/lib/logos-node/user_config.yaml ""- The second argument is intentionally an empty string; the blockchain module no longer requires a downloaded
deployment.yamlfile.
- The second argument is intentionally an empty string; the blockchain module no longer requires a downloaded
-
Verify the module is running:
logoscore call blockchain_module get_cryptarchia_info | jq -r .result.value | jq .- Your node will take about an hour to finish bootstrapping and be in the
Onlinestate.
- Your node will take about an hour to finish bootstrapping and be in the
-
To participate in consensus, you must request tokens from the public faucet site after your node reaches
Onlinemode. First, find the keys associated with your node:grep -A3 known_keys user_config.yaml -
Choose any key from
known_keys, enter it in Destination Public Key (Hex) on the faucet site, and press Request Funds. -
Wait 1 to 2 minutes, then check your balance. Replace
<your-chosen-key>with the key you used:curl -s http://localhost:8080/wallet/<your-chosen-key>/balance | jq .
Optional: Join the Blend Network
With a running Logos Blockchain node, it is possible - but not necessary - to participate in the Blend Network.
- Request funds to both the
BlendZkandSdpFundingkeys from yourkeystore.yamlfrom the testnet faucet
The public keys and note IDs below are examples. Use the corresponding values from your own keystore.yaml and wallet responses when running these commands.
# keystore.yaml
public_keys:
...
BlendZk: 13cccf99f90fd78c2134891ce3c1afce0605753a7694b9d56678d63a8d471820
...
SdpFunding: 91d381a87e05d46fc9bc95246273b6930290506f0589ad039444decd3c24940e
...
-
Wait until both keys have received funds. Check each balance with wallet_get_notes. You may need to repeat the faucet requests since only one drip is allowed per block:
logoscore call blockchain_module wallet_get_notes <ADDRESS> "" | jq -r .result.value | jq .notes -
Join the Blend Network by locking one of the notes held by your
BlendZkkey.
Make sure to open <YOUR_BLEND_PORT>/udp on the public host firewall before running the following command. <YOUR_BLEND_PORT> can be found in user_config.yaml under blend.core.backend.listening_address. Configure the firewall and NAT forwarding before joining and verify the local listener and public reachability after activation.
logoscore call blockchain_module blend_join_as_core_node \
"/ip4/<YOUR_IP>/udp/<YOUR_BLEND_PORT>/quic-v1" \
"<BLEND_ZK_NOTE_ID>"
<YOUR_IP>: Must be your external IP address<YOUR_BLEND_PORT>: Your configured Blend port from theuser_config.yamlfile (blend.core.backend.listening_address). Note that if you do port-mapping, the external mapped port must be used.<BLEND_ZK_NOTE_ID>: The note ID of one of the notes held by yourBlendZkkey, as queried above.- The Blend core listener starts only after the node's declaration becomes active.
-
Verify the declaration was accepted on chain by polling
/mantle/sdp/declarations, looking for your declarationcurl http://127.0.0.1:8080/mantle/sdp/declarations | jq .# > [# > {# > "service_type": "BN",# > "provider_id": "35d60d973560b8344f83dc266a3fe89e35a3dcf9959c492d0a7a0b7a85c5d2ce",# > "locked_note_id": "<BLEND_ZK_NOTE_ID>",# > "locators": [# > "/ip4/<YOUR_IP>/udp/<YOUR_BLEND_PORT>/quic-v1"# > ],# > "zk_id": "13cccf99f90fd78c2134891ce3c1afce0605753a7694b9d56678d63a8d471820",# > "created": 1,# > "active": 3,# > "withdraw_at": null,# > "nonce": 0# > }# > ]service_type: BNidentifies it as a Blend node declaration.zk_idis your BlendZk public keyprovider_idis your BlendSigning key.activeis 2 epochs in the future, when the declaration will become active.
Step 6: Configure and start the storage module
Create the storage config and start the module.
-
Create the storage config:
cd /var/lib/logos-node/storage-modulemkdir -p storage-datacat > config.json <<EOF{"data-dir": "./storage-data","log-level": "INFO","listen-ip": "0.0.0.0","listen-port": 8091,"disc-port": 8090,"network": "logos.test"}EOFconfig.jsonincludes the following fields:
Field Purpose data-dirStorage repository path log-levelLog verbosity listen-ipLocal TCP bind address listen-portPublic TCP libp2p port disc-portPublic UDP discovery port networkStorage network preset - Use fixed
listen-portanddisc-port; do not leave public nodes on random ports. - The
logos.testpreset provides the storage bootstrap settings.
infoTo run storage with mix support, generate the config from the published mix bootstrap data.
The script accepts an optional storage data directory as its first argument. Without one, it uses
logos-storage-dataunder the current directory.data_dir=${1:-"${PWD}/logos-storage-data"}udp_spr_json=$(curl -s https://logos-storage-network.fra1.digitaloceanspaces.com/v0.2/udp-sprs.json)tcp_spr_json=$(curl -s https://logos-storage-network.fra1.digitaloceanspaces.com/v0.2/tcp-sprs.json)mp_json=$(curl -s https://logos-storage-network.fra1.digitaloceanspaces.com/v0.2/mix-pool.json | jq -c 'tostring')cat <<JSON | jq .{"log-level": "INFO;trace:libp2p,mix","mix-enabled": true,"listen-port": 8091,"disc-port": 8090,"bootstrap-node": $udp_spr_json,"dht-mix-proxy": $tcp_spr_json,"data-dir": "${data_dir}","mix-pool-json": ${mp_json}}JSONEOFchmod 755 make-mix-storage-config.sh./make-mix-storage-config.sh > config.json -
Load and start the storage module:
cd /var/lib/logos-node/storage-modulelogoscore load-module storage_modulelogoscore call storage_module init @config.jsonlogoscore call storage_module start-
If using the mix config, also enable private queries and verify with a test download:
logoscore call storage_module togglePrivateQueries truelogoscore call storage_module downloadToUrl zDvZRwzkzrrYB6sS1rRpRLt4gBhc1pWoyTSjkfszfmj1seaYYLCZ ./farewell-to-westphalia.pdf false 65536
-
Step 7: Configure and start the delivery module
Create the kernel-only delivery config for a node operator and start the module. Replace <public-ip> with the node's public IPv4 address before running these commands.
-
Create the delivery config:
cd /var/lib/logos-node/delivery-modulecat > config.json <<EOF{"entryLayer": "kernel","kernelConf": {"preset": "logos.test","relay": true,"logLevel": "INFO","tcpPort": 30303,"discv5UdpPort": 9000,"discv5Discovery": true,"nat": "extip:<public-ip>"}}EOFconfig.jsonincludes the following fields:
Field Purpose entryLayerDelivery stack layer; use kernelfor a node-operator servicekernelConfKernel node configuration kernelConf.presetNetwork preset kernelConf.relayEnable the Relay protocol kernelConf.logLevelLog verbosity kernelConf.tcpPortPublic TCP P2P port kernelConf.discv5UdpPortPublic UDP discovery port kernelConf.discv5DiscoveryEnable discv5 discovery kernelConf.natPublic IP advertisement mode - The kernel-only entry layer intentionally omits the messaging client and reliable channel manager.
- Calls to
send,subscribe, andchannel*are unavailable, whilegetNodeInfo,storeQuery, and metrics remain available. - Use fixed
tcpPortanddiscv5UdpPort; do not leave public nodes on random ports. - The
logos.testpreset provides the delivery network bootstrap settings.
-
Load and start the delivery module:
cd /var/lib/logos-node/delivery-modulelogoscore load-module delivery_modulelogoscore call delivery_module createNode @config.jsonlogoscore call delivery_module start -
Verify the delivery module is running:
logoscore call delivery_module getAvailableNodeInfoIDslogoscore call delivery_module getNodeInfo Versionlogoscore call delivery_module getNodeInfo MyMultiaddresses
Step 8: Verify the full node is healthy
Run health checks against the daemon and all three modules to confirm the node is fully operational.
-
Check the daemon and all loaded modules:
logoscore status --jsonExpected modules in the output:
storage_module,blockchain_module,delivery_module,capability_module. -
Verify all ports are bound correctly:
ss -lntup | egrep '(:3000|:8090|:8091|:9000|:30303|:8080)'Expected bindings:
0.0.0.0:3000/udp0.0.0.0:8090/udp0.0.0.0:8091/tcp0.0.0.0:9000/udp0.0.0.0:30303/tcp127.0.0.1:8080/tcp -
Check the blockchain module sync state:
logoscore call blockchain_module get_cryptarchia_info | jq -r .result.value | jq . -
(Optional) Check the configured Blend UDP listener:
ss -lun- Confirm that the local UDP port from
blend.core.backend.listening_addressis present. If the public Blend port differs, also confirm that NAT forwards<YOUR_BLEND_PORT>/udpto this local port.
- Confirm that the local UDP port from
-
Check the delivery module bound ports:
logoscore call delivery_module getNodeInfo MyMultiaddresses
Optional: Run the node unattended with systemd
Use a dedicated service for logoscore and a separate bootstrap script for module startup. Do not start modules from ExecStartPost in the logoscore service — slow or failing module starts may cause systemd to kill the daemon.
Daemon service unit:
[Unit]
Description=Logos Node
After=network-online.target
Wants=network-online.target
[Service]
User=logos
Group=logos
WorkingDirectory=/var/lib/logos-node
Environment=HOME=/var/lib/logos-node
ExecStart=/usr/local/bin/logoscore -m /opt/logos-node/modules -D
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
The bootstrap script should wait for logoscore status, load and start the blockchain module, load and start the storage module, and load and start the delivery module. It should tolerate already-loaded modules and slow module starts.
Recommended journald retention to cap disk usage:
[Journal]
SystemMaxUse=200M
SystemKeepFree=1G
MaxRetentionSec=7day
MaxFileSec=1day
Use the INFO log level for unattended operation; use DEBUG only for short troubleshooting windows.