0G Galileo - Auto Install Script
π 0G Galileo - Auto Install Script
This is an automated setup script for the 0G Galileo Validator Node, allowing you to run your node using any custom ports you want. No manual configuration needed β the script does it all for you. π οΈ
βοΈ Version
v1.1.1 β Last updated: May 2025 Maintained by: coinsspor
π§© One-Line Installation Copy and paste this single line to begin installation:
bash <(wget -qO- https://raw.githubusercontent.com/coinsspor/0G-Galileo/main/autoinstal.sh)
π§ The script handles everything β from installing dependencies to configuring ports and services.
π¦ What This Script Does
Installs system dependencies (Go, git, curl, etc.)
Clones the official 0G Galileo repository
Initializes your node with a custom moniker
Sets up custom P2P and RPC ports
Configures the systemd service
Starts the validator node and displays logs
Node Status
curl -s localhost:<RPCPORT>/status | jq .result.sync_info
Checks Logs
journalctl -u 0gchaind -u geth -f
Check Bloks
#!/bin/bash
# 0gchaind iΓ§in config dosyasΔ±ndan RPC portunu Γ§ek
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.0gchaind/0g-home/0gchaind-home/config/config.toml" | cut -d ':' -f 3)
while true; do
local_height=$(curl -s http://localhost:$rpc_port/status | jq -r '.result.sync_info.latest_block_height')
network_height=$(curl -s https://0g-rpc-galileo.coinsspor.com/status | jq -r '.result.sync_info.latest_block_height')
if ! [[ "$local_height" =~ ^[0-9]+$ ]] || ! [[ "$network_height" =~ ^[0-9]+$ ]]; then
echo -e "\033[1;31mError: Invalid block height data. Retrying...\033[0m"
sleep 5
continue
fi
blocks_left=$((network_height - local_height))
echo -e "\033[1;33mNode Height:\033[1;34m $local_height\033[0m \033[1;33m| Network Height:\033[1;36m $network_height\033[0m \033[1;33m| Blocks Left:\033[1;31m $blocks_left\033[0m"
sleep 5
done
π°οΈ 0G Galileo Public Node Infrastructure by Coinsspor π
We are excited to share our full suite of RPC services for the 0G Galileo Network! All endpoints are now live and publicly available:
π RPC: https://0g-rpc-galileo.coinsspor.com βοΈ EVM RPC: https://0g-evmrpc-galileo.coinsspor.com π‘ API: https://0g-api-galileo.coinsspor.com
π§ High-availability, validator-grade infrastructure π‘οΈ Monitored, secured, and optimized π΅οΈββοΈ By Coinsspor Node Center
Feel free to plug in and build on top of 0G π Letβs scale the next-gen decentralized future together π§π
#0GGalileo #RPC #EVM #API #Coinsspor #Validator
Last updated