Build Script Details
Published: June 2024 | Last updated: April 2025
The Github Repository for the Lynx ElectrumX build script is located here.
The build script relies on a few dependencies and ties them together in a single script that completes the tedious task of building the Electrum. The scripts include;
LynxCI - the script to create a Lynx node.
Electrum Installer - from our friends at Mad Cat Mining - who generously upgraded the upstream version to work with Debian 11 and the latest versions of Python for Debian 11.
Certbot - to complete the task of ensuring that all connections to the Electrum remain encrypted.
Shell scripting - the auto-configuration of Electrum configuration files, Lynx configurations files, and local firewall settings on the node.
Reference Configuration Files
The following files are automatically configured in the build script, but sometimes, a copy of a configuration file is helpful. Below is a template of your local /etc/electrumx.conf file.
# This script is for electrum.getlynx.io. Be sure to update your domain below.
# File location: /etc/electrumx.conf
DB_DIRECTORY=/db
DAEMON_URL=http://{localLynxRPCUsername}:{localLynxRPCPassword}@127.0.0.1:9332/
COIN=Lynx
DB_ENGINE=rocksdb
COST_SOFT_LIMIT=0
COST_HARD_LIMIT=0
SSL_CERTFILE=/etc/letsencrypt/live/electrum5.getlynx.io/fullchain.pem
SSL_KEYFILE=/etc/letsencrypt/live/electrum5.getlynx.io/privkey.pem
SERVICES=ssl://:50002,wss://:50004,rpc://
REPORT_SERVICES=wss://electrum5.getlynx.io:50004,ssl://electrum5.getlynx.io:50002The following Class should be used to correctly integrate your Electrum node with Lynx.
Last updated
