Lynx Blockchain
  • Welcome
  • Technical Evolution and Architecture Overview
  • History of Lynx
    • Evolution of a Blockchain
    • Hybrid Proof of Work (HPoW) Protocol
    • Pioneering Blockchain Data Storage
    • Evolution to Proof of Stake
    • Next Generation Data Storage Architecture
    • Preserving Knowledge
  • Lynx Core
    • Hardware and System Requirements
    • Lynx Dynamics
    • Open Source
    • Core Parameters and Strategy
    • Sustainability
    • Circulating Supply Analysis
    • Locked Addresses
    • Data Storage
      • auth
      • fetch
      • fetchall
      • store
      • status
      • list
    • Understanding the Encryption Option
    • Understanding Lynx Staking Wait Times
    • Understanding Asset Retrieval Times
    • Understanding Block Time Targeting in the Lynx Blockchain
    • Understanding the Lynx Blockchain Statistics Report
  • Lynx Administration
    • Public Peer Nodes
    • Understanding Blockchain Bootstrap Files
      • Bootstrap Extraction Script
      • Bootstrap Creation Script
    • How to Sweep a Lynx Wallet
    • Enable/Disable Staking
  • Clevver
    • Revolutionizing Digital Preservation
    • Permanent Storage for Digital Assets
    • Permanent Digital Archives for Journalism
    • How did Clevver originate?
    • Shortened URL Support
    • Assigning Tags to Assets
    • How to delete content
    • Clevver Terms of Service Agreement
  • Clevver API
    • Public Methods
      • Batches
      • Files
      • User
  • ElectrumX
    • Lynx ElectrumX nodes
    • Build Script Details
  • External Links
    • Lynx Explorer
    • Lynx Github
    • Lynx Uptime Report
    • Clevver Website
  • Lynx Bootstraps
  • Wallet Links
    • Komodo Wallet
    • Wally.id Wallet
    • Lynx Paper Wallet
  • Social Links
    • Lynx Discord
    • Lynx on Bluesky
    • Clevver on Bluesky
  • Exchange Links
    • FreiXLite (LYNX/LTC)
  • FreiExchange (LYNX/BTC)
  • Komodo Wallet (SWAP)
  • XredX (LYNX/LTC)
  • XredX (LYNX/DOGE)
  • XredX (LYNX/IL8P)
Powered by GitBook
On this page
  1. ElectrumX

Build Script Details

Published: June 2024 | Last updated: April 2025

PreviousLynx ElectrumX nodes

Last updated 24 days ago

The Github Repository for the Lynx ElectrumX build script is located .

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;

  • - the script to create a Lynx node.

  • - from our friends at - who generously upgraded the to work with Debian 11 and the latest versions of Python for Debian 11.

  • - 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.

The complete documentation for ElectrumX can be found . All Lynx ElectrumX servers enforce secure traffic via ports 50002 and 50004. Non-secure Electrum ports are blocked.

Reference Configuration Files

The following files are automatically configured in the 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:50002

The following Class should be used to correctly integrate your Electrum node with Lynx.

# For Debian 11
# File location: /usr/local/lib/python3.9/dist-packages/electrumx/lib/coins.py

# https://docs.getlynx.io/electrumx/
class Lynx(Coin):
	NAME = "Lynx"
	SHORTNAME = "LYNX"
	NET = "mainnet"
	P2PKH_VERBYTE = bytes.fromhex("2d")
	P2SH_VERBYTES = (bytes.fromhex("16"),)
	WIF_BYTE = bytes.fromhex("ad")
	GENESIS_HASH = ('984b30fc9bb5e5ff424ad7f4ec193053'
			'8a7b14a2d93e58ad7976c23154ea4a76')
	DESERIALIZER = lib_tx.DeserializerSegWit
	TX_COUNT = 1
	TX_COUNT_HEIGHT = 1
	TX_PER_BLOCK = 1
	RPC_PORT = 9332
	PEER_DEFAULT_PORTS = {'t': '50004', 's': '50002'}
	PEERS = [
		'electrum5.getlynx.io s t',
		'electrum6.getlynx.io s t',
		'electrum7.getlynx.io s t',
		'electrum8.getlynx.io s t',
		'electrum9.getlynx.io s t',
	]
	REORG_LIMIT = 5000
here
LynxCI
Electrum Installer
Mad Cat Mining
upstream version
Certbot
here
build script,
Page cover image