diff --git a/README.md b/README.md index 30c4e5d..1f44bb0 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,49 @@ -# Republic Networks +# 🚀 RepublicAI Node Operations & Monitoring - goldify -This repository contains network configurations for RepublicAI Protocol chains. +Bu klasör, **RepublicAI** ağında node işleten kullanıcıların işini kolaylaştırmak için **goldify** tarafından hazırlanmış bir teknik araç ve rapor setidir. "Developer" rolü kapsamında topluluğa katkı sağlamak amacıyla oluşturulmuştur. -## Networks +--- -| Network | Chain ID | Status | Docs | -|---------|----------|--------|------| -| [Testnet](./testnet/) | `raitestnet_77701-1` | Live | [Validator Guide](./testnet/README.md)| -| [Mainnet](./mainnet/) | TBD | Coming Soon | - | +## 🛠 Neyi Geliştirdik? (Node Sağlık Kontrol Aracı) -## Quick Links +Sunucunuzun ve node'unuzun durumunu saniyeler içinde görmeniz için `check_health.sh` adında bir izleme aracı hazırladım. Bu araç şunları raporlar: -### Testnet +* **Sistem Kaynakları:** İşlemci (CPU) ne kadar yoruluyor? RAM doldu mu? Disk alanınız bitti mi? +* **Blockchain Senkronizasyonu:** Node'unuz ağdaki en son bloğa ulaştı mı (`catching_up` kontrolü)? +* **Blok Yüksekliği:** Şu an kaçıncı bloktasınız? -- **Cosmos RPC**: `https://rpc.republicai.io` -- **REST API**: `https://rest.republicai.io` -- **gRPC**: `grpc.republicai.io:443` -- **EVM JSON-RPC**: `https://evm-rpc.republicai.io` -- **Points Portal**: `https://points.republicai.io` -- **Testnet Faucet**: Available via the Points portal (account required) +--- +## 🚀 Nasıl Kullanılır? (Adım Adım Rehber) -## Resources +Hiç kod bilmeseniz bile sunucunuzda aşağıdaki 3 adımı sırayla uygulayarak bu aracı çalıştırabilirsiniz: + +### 1. Aracı Sunucunuza İndirin +Hazırladığım kodu kendi sunucunuza çekmek için bu komutu yapıştırın: +```bash +wget [https://raw.githubusercontent.com/RepublicAI/networks/main/testnet/goldify/check_health.sh](https://raw.githubusercontent.com/RepublicAI/networks/main/testnet/goldify/check_health.sh) + +2. Çalıştırma İzni Verin +Dosyayı bir program gibi çalışabilir hale getirmek için bu izni verin: + +chmod +x check_health.sh + +3. Aracı Başlatın +Tüm verileri görmek için bu komutu yazın: + +./check_health.sh + +📊 Doğrulayıcı (Validator) Bilgileri +Bu node ve araç seti aşağıdaki kimlik bilgileriyle yönetilmektedir: + +Moniker (Takma Ad): goldify + +Cüzdan Adresi: rai1kyvgpy7yt6350xkh3h4s5cdm8uhuj3sqhjds9t + +Node Tipi: Validator Candidate (Testnet) + +📝 Teknik Rapor (report.md) +Sunucunun donanım özellikleri, çalışma stabilitesi ve ağ performansı hakkındaki detaylı teknik verilere bu klasördeki report.md dosyasından ulaşabilirsiniz. + +Developed as a contribution to the RepublicAI Developer Community by goldify. -- [Website](https://republicai.io) - Official website -- [Discord](https://discord.com/invite/republicai) - Community chat diff --git a/testnet/goldify/README.md b/testnet/goldify/README.md new file mode 100644 index 0000000..dca6b70 --- /dev/null +++ b/testnet/goldify/README.md @@ -0,0 +1,54 @@ +# 🚀 RepublicAI Node Operations & Monitoring - goldify + +Bu klasör, **RepublicAI** ağında node işleten kullanıcıların işini kolaylaştırmak için **goldify** tarafından hazırlanmış bir teknik araç ve rapor setidir. "Developer" rolü kapsamında topluluğa katkı sağlamak amacıyla oluşturulmuştur. + +--- + +## 🛠 Neyi Geliştirdik? (Node Sağlık Kontrol Aracı) + +Sunucunuzun ve node'unuzun durumunu saniyeler içinde görmeniz için `check_health.sh` adında bir izleme aracı hazırladım. Bu araç şunları raporlar: + +* **Sistem Kaynakları:** İşlemci (CPU) ne kadar yoruluyor? RAM doldu mu? Disk alanınız bitti mi? +* **Blockchain Senkronizasyonu:** Node'unuz ağdaki en son bloğa ulaştı mı (`catching_up` kontrolü)? +* **Blok Yüksekliği:** Şu an kaçıncı bloktasınız? + +--- + +## 🚀 Nasıl Kullanılır? (Adım Adım Rehber) + +Hiç kod bilmeseniz bile sunucunuzda aşağıdaki 3 adımı sırayla uygulayarak bu aracı çalıştırabilirsiniz: + +### 1. Aracı Sunucunuza İndirin +Hazırladığım kodu kendi sunucunuza çekmek için bu komutu yapıştırın: +```bash +wget [https://raw.githubusercontent.com/RepublicAI/networks/main/testnet/goldify/check_health.sh](https://raw.githubusercontent.com/RepublicAI/networks/main/testnet/goldify/check_health.sh) + +2. Çalıştırma İzni Verin +Dosyayı bir program gibi çalışabilir hale getirmek için bu izni verin: + +chmod +x check_health.sh + +3. Aracı Başlatın +Tüm verileri görmek için bu komutu yazın: + + +./check_health.sh + + +📊 Doğrulayıcı (Validator) Bilgileri +Bu node ve araç seti aşağıdaki kimlik bilgileriyle yönetilmektedir: + +Moniker (Takma Ad): goldify + +Cüzdan Adresi: rai1kyvgpy7yt6350xkh3h4s5cdm8uhuj3sqhjds9t + +Node Tipi: Validator Candidate (Testnet) + + + +📝 Teknik Rapor (report.md) +Sunucunun donanım özellikleri, çalışma stabilitesi ve ağ performansı hakkındaki detaylı teknik verilere bu klasördeki report.md dosyasından ulaşabilirsiniz. + +Developed as a contribution to the RepublicAI Developer Community by goldify. + + diff --git a/testnet/goldify/check_health.s b/testnet/goldify/check_health.s new file mode 100644 index 0000000..ebfcab7 --- /dev/null +++ b/testnet/goldify/check_health.s @@ -0,0 +1,11 @@ +#!/bin/bash +# ========================================== +# REPUBLIC AI - NODE HEALTH CHECK TOOL +# Developed by: goldify +# ========================================== +echo "Checking System Resources for goldify..." +echo "CPU Load: $(top -bn1 | grep 'Cpu(s)' | awk '{print $2 + $4}')%" +echo "Memory: $(free -m | awk 'NR==2{printf "%.2f%%", $3*100/$2 }')" +echo "Disk Space: $(df -h / | awk 'NR==2{print $5}')" +echo -e "\nNode Sync Status:" +curl -s http://localhost:26657/status | jq -r '.result.sync_info | "Block: \(.latest_block_height)\nSyncing: \(.catching_up)"' diff --git a/testnet/goldify/check_health.sh b/testnet/goldify/check_health.sh new file mode 100644 index 0000000..6b79fe2 --- /dev/null +++ b/testnet/goldify/check_health.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# ========================================== +# REPUBLIC AI - NODE HEALTH CHECK TOOL +# Developed by: goldify +# Wallet: rai1kyvgpy7yt6350xkh3h4s5cdm8uhuj3sqhjds9t +# ========================================== + +echo "Checking System Resources..." +echo "---------------------------" +echo "CPU Load: $(top -bn1 | grep 'Cpu(s)' | awk '{print $2 + $4}')%" +echo "Memory: $(free -m | awk 'NR==2{printf "%.2f%%", $3*100/$2 }')" +echo "Disk: $(df -h / | awk 'NR==2{print $5}')" + +echo -e "\nChecking RepublicAI Node Status..." +echo "---------------------------" +# RPC üzerinden durum kontrolü +STATUS=$(curl -s http://localhost:26657/status || echo "error") + +if [ "$STATUS" == "error" ]; then + echo "Status: Node is NOT running or RPC is closed." +else + BLOCK=$(echo $STATUS | jq -r '.result.sync_info.latest_block_height') + SYNCING=$(echo $STATUS | jq -r '.result.sync_info.catching_up') + echo "Current Block: $BLOCK" + echo "Is Catching Up (Syncing): $SYNCING" +fi +echo "==========================================" diff --git a/testnet/goldify/report.md b/testnet/goldify/report.md new file mode 100644 index 0000000..31b7868 --- /dev/null +++ b/testnet/goldify/report.md @@ -0,0 +1,20 @@ +# RepublicAI Node Report - goldify + +### Node Information +- **Moniker:** goldify +- **Wallet Address:** `rai1kyvgpy7yt6350xkh3h4s5cdm8uhuj3sqhjds9t` +- **Network:** raitestnet_77701-1 + +### System Specs +- **CPU:** 4 Cores +- **RAM:** 8GB +- **Storage:** 160GB SSD +- **OS:** Ubuntu 22.04 + +### Node Status +- **Sync Status:** Fully Synced +- **Installation Date:** March 2026 +- **Node Type:** Validator Candidate + +--- +*This report is maintained by goldify for RepublicAI Developer Program.* diff --git a/testnet/republic-node-reporter-goldify.sh b/testnet/republic-node-reporter-goldify.sh new file mode 100644 index 0000000..fbd45cc --- /dev/null +++ b/testnet/republic-node-reporter-goldify.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# RepublicAI Node Reporter by goldify +# Wallet: rai1kyvgpy7yt6350xkh3h4s5cdm8uhuj3sqhjds9t + +NODE_NAME="goldify" +RPC_URL="http://localhost:26657" + +echo "Checking RepublicAI Node Status for $NODE_NAME..." + +STATUS=$(curl -s $RPC_URL/status) + +if [ -z "$STATUS" ]; then + echo "Error: Node is not responding at $RPC_URL" + exit 1 +else + BLOCK_HEIGHT=$(echo $STATUS | jq -r '.result.sync_info.latest_block_height') + CATCHING_UP=$(echo $STATUS | jq -r '.result.sync_info.catching_up') + + echo "Current Block Height: $BLOCK_HEIGHT" + echo "Syncing: $CATCHING_UP" + + if [ "$CATCHING_UP" = "false" ]; then + echo "Status: Node is fully synced and healthy!" + else + echo "Status: Node is still syncing..." + fi +fi