# How to Setup a Supernova Node

**URL:** https://forum.hypercore.one/t/how-to-setup-a-supernova-node/563
**Category:** How To
**Created:** [November 28, 2024, 5:33pm UTC](https://forum.hypercore.one/t/how-to-setup-a-supernova-node/563 "2024-11-28T17:33:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![coinselor](https://forum.hypercore.one/letter_avatar_proxy/v4/letter/c/41988e/32.png) [@coinselor](https://forum.hypercore.one/u/coinselor)
#### Post date: [November 28, 2024, 5:33pm UTC](https://forum.hypercore.one/t/how-to-setup-a-supernova-node/563/1 "2024-11-28T17:33:30Z")

</div>

This guide provides a comprehensive approach to deploying various node types for the Supernova extension-chain, a Zenon EVM-compatible blockchain built on Cosmos SDK technology.

## A Note on Node Types

- **Standard Node** : Maintains a full copy of the blockchain and helps propagate transactions and blocks. Ideal for general participation with moderate hardware requirements.
- **Pillar Node (Validator)**: Validates transactions and participates in consensus to secure the network. Requires higher resources and commitment.
- **Sentry Node** : Acts as a protective layer for validators by filtering network traffic and mitigating attacks. Used by validators to enhance security.
- **Archive Node** : Stores the entire blockchain history without pruning. Essential for full historical data access; demands significant storage and resources.
- **Seed Node** : Provides initial peer information to new nodes joining the network, facilitating their connection. Requires high uptime and reliable network availability.

### System Requirements

| Node Type | vCPUs | RAM | Storage | Swap Space |
| --- | --- | --- | --- | --- |
| Pillar (Validator) Node | 4+ | 8GB+ | 500GB+ | 16GB |
| Sentry (Standard) Node | 4 | 8GB | 300GB+ | 8GB |
| Archive Node | 4+ | 16GB+ | 1TB+ | 32GB |
| Seed Node | 2 | 4GB | 100GB+ | 4GB |

### Recommended Operating Systems

- Ubuntu 22.04 LTS
- Debian (Latest Stable)

### Dependencies:

- `curl`, `wget`, `jq`, `ufw`, `git`, `make`, `build-essential`

### Initial System Configuration

#### System Update and Dependency Installation

```bash
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential jq ufw git wget -y

```

#### Configure System Limits

Edit `/etc/security/limits.conf` to increase file descriptor limits:

```auto
* soft nofile 60000
* hard nofile 60000

```

Apply the new limits:

```bash
ulimit -n 60000

```

#### Firewall Configuration

```bash
sudo ufw enable
sudo ufw allow 22/tcp # SSH
sudo ufw allow 26656/tcp # Tendermint P2P
sudo ufw allow 26657/tcp # Tendermint RPC
sudo ufw allow 1317/tcp # Cosmos SDK REST API
sudo ufw allow 8545/tcp # EVM HTTP RPC
sudo ufw allow 8546/tcp # EVM WS RPC
sudo ufw reload

```

#### Swap Space Configuration

Swap space configuration varies by node type:

- Archive Node: 32GB
- xChain Pillar Node: 16GB
- Sentry Node: 8GB
- Seed Node: 4GB

Example Swap Setup:

```bash
# For an 8GB Sentry Node
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

```

## Node Types and Configuration

### 1. Sentry (Regular) Node Setup

#### Binary Installation

```bash
# Choose appropriate binary based on system architecture
# For Linux ARM64
wget https://github.com/AliensZone/supernova/releases/download/v0.0.8/supernova_Linux_arm64.tar.gz
tar -xvf supernova_Linux_arm64.tar.gz

# For Linux x86_64
wget https://github.com/AliensZone/supernova/releases/download/v0.0.8/supernova_Linux_x86_64.tar.gz
tar -xvf supernova_Linux_x86_64.tar.gz

```

#### Binary Path Configuration

```bash
sudo mv bin/supernovad /usr/local/bin/
sudo chmod +x /usr/local/bin/supernovad

```

Verify installation:

```bash
supernovad version

```

#### Node Initialization

```bash
# Initialize node with a moniker
supernovad init sentry_node --chain-id supernova_73405-1

```

#### Configuration Modifications

Edit configuration files in `~/.supernova/config/`:

`config.toml`:

```toml
# P2P Configuration
pex = true
persistent_peers = "" # Will be added when converting to Sentry
seeds = "ced855d1514b84adabe8590acd474487710ca259@167.235.79.123:26656,f5707786778283258b37b5154a520897ab4b75b5@116.203.187.234:26656"
addr_book_strict = false
db_backend = "rocksdb"

```

`app.toml`:

```toml
# Pruning Configuration
pruning = "default"

# Minimum Gas Prices
minimum-gas-prices = "0stake"

# EVM RPC Configuration
[json-rpc]
address = "0.0.0.0:8545"
ws-address = "0.0.0.0:8546"

```

#### Systemd Service Configuration

Create `/etc/systemd/system/supernova.service`:

```ini
[Unit]
Description=Supernova Node Service
After=network.target

[Service]
LimitNOFILE=32768
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/supernovad start
ExecStop=/bin/kill -s SIGTERM $MAINPID
Restart=on-failure
TimeoutStopSec=120s
TimeoutStartSec=30s

[Install]
WantedBy=multi-user.target

```

#### Service Management

```bash
systemctl daemon-reload
systemctl enable supernova.service
systemctl start supernova.service

```

### 2. Converting to Sentry Node

When converting to a Sentry node for a specific pillar/validator:

`config.toml` modifications:

```toml
pex = true
persistent_peers = "VALIDATOR_NODE_ID@VALIDATOR_IP:26656"
private_peer_ids = "VALIDATOR_NODE_ID"
unconditional_peer_ids = "VALIDATOR_NODE_ID@VALIDATOR_IP:26656"

```

### 3. Validator Node Configuration

Additional steps for validator nodes:

- Generate validator key  
TO BE CONTINUED…

### 4. Archival Node Configuration

Key differences for archival nodes:

- Increased storage requirements
- Different pruning configuration
- State sync enablement

`app.toml` modifications:

```toml
pruning = "nothing"
snapshot-interval = 15000
snapshot-keep-recent = 2

```

For additional endpoint configuration please read [How to Setup Caddy for RPC and state-sync on Supernova](https://forum.hypercore.one/t/how-to-setup-caddy-for-rpc-and-state-sync-on-supernova/556)

### 5. Seed Node Configuration

`config.toml` modifications:

```toml
laddr = "tcp://0.0.0.0:26656"
external_address = "YOUR_PUBLIC_IP:26656"
seed_mode = true

```

## Maintenance and Monitoring

1. Regular Updates:

Build from source

```bash
cd ~/supernova
git pull
make build
sudo cp build/supernovad /usr/local/bin/
systemctl restart supernova.service

```

Download latest binary

```bash
# Choose appropriate binary based on system architecture
# For Linux ARM64
wget https://github.com/AliensZone/supernova/releases/download/v0.0.8/supernova_Linux_arm64.tar.gz
tar -xvf supernova_Linux_arm64.tar.gz

# For Linux x86_64
wget https://github.com/AliensZone/supernova/releases/download/v0.0.8/supernova_Linux_x86_64.tar.gz
tar -xvf supernova_Linux_x86_64.tar.gz

```

Move binary to default location:

```bash
sudo mv bin/supernovad /usr/local/bin/

```

1. Log Monitoring

```bash
journalctl -u supernova.service -f

```

## Network Connectivity

### Seed Nodes

```auto
ced855d1514b84adabe8590acd474487710ca259@167.235.79.123:26656
f5707786778283258b37b5154a520897ab4b75b5@116.203.187.234:26656

```

---

<div class="post-metadata">

### Author: ![tapwoot](https://forum.hypercore.one/user_avatar/forum.hypercore.one/tapwoot/32/34_2.png) [@tapwoot](https://forum.hypercore.one/u/tapwoot)
#### Post date: [November 29, 2024, 7:15pm UTC](https://forum.hypercore.one/t/how-to-setup-a-supernova-node/563/2 "2024-11-29T19:15:10Z")

</div>

thx for this update, much needed

---

<div class="post-metadata">

### Author: ![sugoibtc](https://forum.hypercore.one/user_avatar/forum.hypercore.one/sugoibtc/32/698_2.png) [@sugoibtc](https://forum.hypercore.one/u/sugoibtc)
#### Post date: [May 19, 2025, 4:51pm UTC](https://forum.hypercore.one/t/how-to-setup-a-supernova-node/563/3 "2025-05-19T16:51:02Z")

</div>

@mehowz’s seed nodes

```auto
2a3cd2768826aed5792593a2d6c8f6b28435a2a7@64.31.28.37:26656
cb8807cec3af8db59e4a0380662abe3b5d43b01a@161.97.167.129:26656
ced855d1514b84adabe8590acd474487710ca259@167.235.79.123:26656
669d3f450f45906296e3c17c3f4fc52f4e07f8c3@49.12.72.145:26656
```
