yedad_eye 0.1.0

YEDAD EYE Matrix Engine - Real-time Network Explorer and Synchronizer
Documentation
use std::sync::Arc;
use yedad_eye::{aggregator::EyeAggregator, providers::NetworkEyeProvider};

#[tokio::main]
async fn main() {
    // اتصال به نود محلی یا سرور یداد روی پورت ۸۰۸۰
    let provider = Arc::new(NetworkEyeProvider::new("http://127.0.0.1:8080"));
    let aggregator = EyeAggregator::new(provider);

    println!("👁️ [YEDAD EYE] Connecting to network timeline and matrix layer...");

    match aggregator.reconstruct_matrix().await {
        Ok(matrix) => {
            println!(
                "
            ✅ Successfully compiled matrix. Total Nodes Spotted: {}",
                matrix.len()
            );
            for row in matrix {
                println!("--------------------------------------------------");
                println!("📌 Node Addr: {}", row.address);
                println!(
                    "💰 Live Balance: {} | Remaining Steps: {}",
                    row.balance, row.step_number
                );
                println!("📊 Total Notepad 2 Entries: {}", row.history.len());
                // نمایش پالس‌های فیکس شده در شارد افقی
                for (pulse, cell) in row.history.iter().take(3) {
                    println!("   |- Pulse [{}]: State CRC -> {:X}", pulse, cell.state_crc);
                }
            }
        }
        Err(e) => println!("❌ Matrix compilation halted: {}", e),
    }
}