Skip to content

Validator-POSTHUMAN/celestia-oneliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Celestia Node Manager by PostHuman Validator

One-line automated installation and management tool for Celestia nodes (Mainnet & Testnet).

πŸš€ One-Liner Install & Run

curl -sL https://raw.githubusercontent.com/Validator-POSTHUMAN/celestia-oneliner/main/celestia-manager.sh > celestia-manager.sh && chmod +x celestia-manager.sh && ./celestia-manager.sh

Current Versions:

  • 🌐 Mainnet: v6.2.5 (chain-id: celestia)
  • πŸ§ͺ Testnet: v6.2.5-mocha (chain-id: mocha-4)
  • πŸ”§ Go: 1.24.1

πŸ“‹ Features

1️⃣ Install Node

Consensus Nodes:

  • Pruned Node (Indexer On/Off)
  • Archive Node (Indexer On/Off)

Installation includes:

  • Automatic dependency installation
  • Network selection (Mainnet/Testnet)
  • Custom directory support
  • Snapshot integration
  • Systemd service setup

2️⃣ Update Node

One-click update with version selection and verification.

3️⃣ Node Operations

  • Node info & configuration
  • Snapshot installation
  • Firewall configuration
  • RPC/gRPC/API toggle
  • Delete node

4️⃣ Validator Operations

  • Create wallet & validator
  • Check balance & validator info
  • Delegate/Unbond tokens
  • Unjail validator
  • Set withdrawal address

5️⃣ Data Availability Nodes

Install & Manage:

  • πŸŒ‰ Bridge Node - DA layer bridge (requires Core RPC + TIA)
  • πŸ’Ύ Full Storage Node - Complete data storage (requires Core RPC)
  • πŸ’‘ Light Node - Lightweight verification (no RPC needed)

Operations:

  • Check status & balance
  • Get Node ID & wallet
  • Update, reset, delete
  • View logs

6️⃣ Service Operations

Start/Stop/Restart/Enable/Disable services and view logs.

7️⃣ Status & Logs

Real-time sync status, logs, and system checks.


πŸ’Ύ Snapshots

PostHuman Snapshots:

Manual snapshot restore:

export CELESTIA_HOME="$HOME/.celestia-app"
sudo systemctl stop celestia-appd
cp "${CELESTIA_HOME}/data/priv_validator_state.json" "${CELESTIA_HOME}/priv_validator_state.json.backup"
rm -rf "${CELESTIA_HOME}/data"
curl -L https://snapshots.posthuman.digital/celestia-mainnet/snapshot-latest.tar.zst | tar -I zstd -xf - -C "${CELESTIA_HOME}"
mv "${CELESTIA_HOME}/priv_validator_state.json.backup" "${CELESTIA_HOME}/data/priv_validator_state.json"
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f

πŸ“Š System Requirements

Node Type CPU RAM Disk Network
Validator 16 cores 32 GB 2 TB NVMe 1 Gbps
Archive 8+ cores 24 GB 3+ TB NVMe 1 Gbps
Bridge 4+ cores 8 GB 500+ GB SSD 100 Mbps
Full Storage 4+ cores 8 GB 500+ GB SSD 100 Mbps
Light 2+ cores 2 GB 50+ GB SSD 25 Mbps

πŸ”— PostHuman Services

Mainnet (celestia)

Testnet (mocha-4)


πŸ›‘οΈ Official Celestia Resources


πŸ› Troubleshooting

Node not syncing?

sudo journalctl -u celestia-appd -f -n 100
celestia-appd status 2>&1 | jq .SyncInfo

Service won't start?

sudo systemctl status celestia-appd
sudo journalctl -u celestia-appd -n 50 --no-pager

Check sync status:

./celestia-manager.sh
# Select: 7 (Status & Logs) β†’ 2 (Check Sync Status)

πŸ†• Features

Network Selection

Supports both Mainnet and Testnet:

export NETWORK_TYPE=testnet  # or mainnet (default)
./celestia-manager.sh

Custom Installation Directory

Install to custom location:

export CELESTIA_HOME=/mnt/data/.celestia-app
./celestia-manager.sh

DA Nodes Management

Complete suite for Data Availability nodes:

  • Main Menu β†’ Option 5 β†’ Option 1 (Install DA Node)
  • Support for Bridge, Full Storage, and Light nodes
  • Unified management interface

πŸ”„ Quick Update

./celestia-manager.sh
# Select: 2 (Update Node) β†’ Press Enter for latest version

πŸ›‘οΈ Security Best Practices

  • πŸ” Backup ~/.celestia-app/config/priv_validator_key.json
  • πŸ”₯ Use script's firewall configuration (Option 3 β†’ 5)
  • πŸ”‘ Enable SSH key-based authentication
  • πŸ‘οΈ Setup monitoring and alerts
  • πŸ’° Never share private keys or seed phrases

πŸ“ License

MIT License - PostHuman Validator

Support:


Version: 1.1.0 | Last Updated: 2025-01-11

πŸš€ Happy Node Running!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages