This repository contains a complete installer for running a Cygnus blockchain node on Windows.
It builds the Cygnus Geth binary, sets up your datadir, static peers, mining options, and ensures your node ID (enode) does not change across restarts.
GitHub URL: https://github.com/cygnus-chain/node
- Builds and installs Cygnus core v1.11.33.2 with dapp/defi support activation at block 100,000.
- Automatically initializes the chain using
genesis.json. - Static peer configuration for consistent P2P connectivity.
- Optional CPU mining setup.
- Auto-start node with
.batscript or Task Scheduler. - Persistent
nodekey→ enode ID stays fixed across restarts. - Safe upgrade path — preserves existing blockchain data.
-
Windows 10 / 11 (64-bit).
-
At least 2 GB RAM recommended.
-
Installed:
- Clone the repository:
git clone https://github.com/cygnus-chain/node.git
cd node- Run the installer script:
.\installer.ps1- Installer steps:
- Installs build dependencies if missing.
- Builds the Cygnus Geth binary.
- Copies
genesis.jsonto your data directory (C:\cygnus_data). - Initializes the chain if fresh install.
- Configures static peers and optional mining settings.
- Generates a persistent nodekey if missing:
openssl rand -hex 32 | Out-File -Encoding ascii C:\cygnus_data\geth\nodekey-staticStart the node manually:
.\cygnusd.batOr configure Task Scheduler for automatic startup at boot.
Check logs (inside C:\cygnus_data\logs).
During installation, you can choose:
-
CPU mining
- Enter your Cygnus wallet address for rewards.
- Choose number of CPU threads to mine with.
-
No mining
- Node will just sync and validate the chain.
- Backup your existing datadir:
Copy-Item -Recurse C:\cygnus_data C:\cygnus_data-backup-
Stop the node (
Ctrl+Cor stop Task Scheduler job). -
Run
installer.ps1— it will detect existing chain and preserve blocks. -
Restart node:
.\cygnusd.bat- Main node enode:
enode://404245728d5d24c06b58c5e809809a30302c8560aff1f9adfacedb3c50dafae1f417b459e190110ca797eda564a3f9dee1a79385bb467d5a481d685ff70aaa3f@88.99.217.236:30303
- Can be added manually in
C:\cygnus_data\static-nodes.json:
[
"enode://404245728d5d24c06b58c5e809809a30302c8560aff1f9adfacedb3c50dafae1f417b459e190110ca797eda564a3f9dee1a79385bb467d5a481d685ff70aaa3f@88.99.217.236:30303"
]Open Geth console:
geth attach \\.\pipe\geth.ipcExamples:
> eth.blockNumber
> admin.peers
> eth.getBalance(eth.coinbase)- Your enode ID is stable thanks to
nodekey-static. - The installer can be safely run multiple times — it will detect existing chains and preserve data.
- Windows logs are stored in
C:\cygnus_data\logs.