project screenshot 1
project screenshot 2
project screenshot 3

SSV Insight

SSV Insight is a powerful dashboard that tracks key metrics of the SSV Network. It use SSV Network Dashboard with SSV Network, Sign Protocol, Nillion, Web3Auth

SSV Insight

Created At

ETHOnline 2024

Project Description

SSV Insight is a powerful, state-of-the-art dashboard that provides real-time and historical tracking of key metrics within the SSV (Secret Shared Validators) Network. This innovative platform offers deep insights into validators, operators, and clusters, enabling users to optimize their staking operations in a trust-minimized, decentralized environment.

Key Features

  1. Real-Time Metrics: Track live data on validators, operators, and clusters, including total counts, active status, and staking amounts.

  2. Historical Data Analysis: Visualize trends over time for validator uptime and cluster size distribution, allowing for informed decision-making.

  3. Secure Authentication: Integrated with Web3Auth, providing a seamless and secure login experience using social logins or passkeys.

  4. Verifiable Data Integrity: Utilizes Sign Protocol to create attestations for all metrics, ensuring data trustworthiness and transparency.

  5. Privacy-Preserving Comparisons: Leverages Nillion's blind computation for users to compare their validator performance against network averages without revealing sensitive data.

  6. Comprehensive Network Health Monitoring: Tracks overall network statistics, including total ETH staked, active nodes, and a decentralization index.

  7. User-Centric Design: Intuitive interface catering to both novice users and experienced stakers, with responsive design for various devices.

Benefits for Stakeholders

  • Validators: Gain insights into performance metrics, compare against network averages securely, and optimize staking strategies.
  • Operators: Monitor operator statistics, track fee structures, and analyze validator counts to stay competitive.
  • Developers: Access a rich set of data and tools to build and improve staking applications on the SSV Network.
  • Investors: Assess network health, track growth metrics, and make informed decisions based on comprehensive, real-time data.

How it's Made

SSV Insight: How It's Made

SSV Insight was built to provide a comprehensive, real-time view of the SSV (Secret Shared Validators) network's key metrics. The project combines backend data aggregation with a responsive frontend, enhanced by cutting-edge authentication, data integrity, and privacy-preserving technologies.

Technologies Used

  1. Backend: Python with Flask

    • Flask was chosen for its lightweight nature and ease of setup, perfect for rapidly developing a robust API.
    • The requests library is used to interact with the SSV Network's GraphQL API.
  2. Frontend: HTML, CSS, and Vanilla JavaScript

    • We opted for a vanilla JavaScript approach to minimize dependencies and ensure fast load times.
    • Chart.js is used for data visualization, providing interactive and responsive charts.
  3. Data Source: SSV Network GraphQL API

    • The project heavily relies on the SSV Network's GraphQL API to fetch real-time data about validators, operators, and clusters.
  4. Authentication: Web3Auth

    • Web3Auth's Plug and Play Modal SDK is integrated to provide seamless, non-custodial authentication.
  5. Data Integrity: Sign Protocol

    • Sign Protocol is used to create attestations for all key metrics, ensuring data trustworthiness.
  6. Privacy-Preserving Computations: Nillion

    • Nillion's blind computation capabilities are utilized for secure performance comparisons.

Architecture and Implementation

Backend (app.py)

The backend serves as the web server, data aggregator, and integration point for various technologies:

  1. API Endpoints:

    • /api/dashboard handles data fetching, processing, and attestation creation.
    • /api/compare-performance manages blind computations for performance comparisons.
  2. GraphQL Queries: Three main GraphQL queries fetch data about validators, operators, and clusters.

  3. Data Aggregation: Raw data is processed to calculate key metrics such as total and active counts, average stakes, and network health indicators.

  4. Attestation Creation: Sign Protocol is used to create verifiable attestations for each category of data.

  5. Blind Computation: Nillion is integrated to perform privacy-preserving comparisons of validator performance.

  6. Error Handling: Robust error handling ensures the frontend receives valid data even if some operations fail.

Frontend (index.html)

The frontend is a single-page application with enhanced security and user experience:

  1. Authentication: Web3Auth is integrated for user-friendly, secure login.

  2. Data Fetching: JavaScript's fetch API retrieves data from the backend endpoints.

  3. Dynamic Updates: The DOM is updated in real-time as new data is received.

  4. Data Visualization: Chart.js creates interactive charts for various metrics.

  5. Attestation Verification: Sign Protocol attestations are verified on the client-side.

  6. Secure Comparisons: The frontend interacts with Nillion through the backend for blind computations.

background image mobile

Join the mailing list

Get the latest news and updates