Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/update_data_daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Data Daily

on:
schedule:
- cron: '30 */12 * * *'
workflow_dispatch:

jobs:
update_data:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests

- name: Fetch latest changes
run: |
git fetch origin main
git reset --hard origin/main

- name: Run Python script
run: python _scripts/collect_data.py
env:
RATED_API_KEY: ${{ secrets.RATED_TOKEN }}
MIGALABS_API_KEY: ${{ secrets.MIGALABS_TOKEN }}
ERROR_REPORT_ENDPOINT: ${{ secrets.GOOGLE_FORM_ERROR_REPORT_URL }}

- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add *
git diff --quiet && git diff --staged --quiet || (git commit -m "Update client distribution data" && git push https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git HEAD:${{ github.ref }})
8 changes: 8 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
title: 404
permalink: /404
---


{%- include partials/404.html -%}
7 changes: 7 additions & 0 deletions FUNDING.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"drips": {
"ethereum": {
"ownedBy": "0x286905d38C1b7f0ceb452Cddda83aA4Cbe776fd1"
}
}
}
18 changes: 10 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ redirect_from: # jekyll-redirect-from
json: false

# Global variables
analytics_tag: |
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J7TXHGJDNQ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-J7TXHGJDNQ');
</script>

# Toast
enable_toast: false
toast_msg_id: 1 # must increment when creating a new message
toast_title: Ether Alpha's Gitcoin grant is live!
toast_msg: This round runs through August 29th. If you enjoy this or <a href='https://etheralpha.org/' target='_blank'>other tools</a> created, please support to help maintain existing projects and fund new ones." # Best when under 100 characters
toast_link: https://stateofeth.com # Optional, leave blank to omit
toast_link_text: Donate
# August 29, 23:59:59 GMT+0
toast_expiration: 30000000000 # epoch time in seconds
4 changes: 4 additions & 0 deletions _data/dashboards/content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id: dashboardOverview
toc:
- Health

201 changes: 201 additions & 0 deletions _data/dashboards/health.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
## - id: = metric id (page path as camelcase); must remain unchanged, don't change if url updated
## title: = metric name
## link: = link to page; if omitted the button will be disabled
## data: = data file path; if omitted the progress bar will be greyed (marked as data pending)
## health: = health value; if omitted the progress bar will be greyed (marked as data pending)
## icon: = icon name from _data/icons, should match the icon of the parent category in sidebar nav
## disabled: = (optional) true/false; if true the progress bar will be greyed and button disabled

# Template to copy for new entries
# - id:
# title:
# link:
# data:
# health:
# icon:


# Entries are shown in the order listed
- id: consensusClientDiversityNodes
title: Node Consensus Client Diversity
# link: /metrics/consensus-client-diversity-nodes
data:
health: 55
icon: window_sidebar
- id: consensus-client-diversity-validators
title: Validator Consensus Client Diversity
link: /metrics/consensus-client-diversity-validators
data:
health: 57
icon: window_sidebar
- id: consensusClientCount
title: Consensus Client Count
# link: /metrics/consensus-client-count
data:
health: 100
icon: window_sidebar
- id: consensusClientLanguages
title: Consensus Client Languages
# link: /metrics/consensus-client-languages
data:
health: 100
icon: window_sidebar
- id: executionClientDiversityNodes
title: Node Execution Client Diversity
# link: /metrics/execution-client-diversity-nodes
data:
health: 14
icon: window_split
- id: executionClientDiversityValidators
title: Validator Execution Client Diversity
# link: /metrics/execution-client-diversity-validators
data:
health: 18
icon: window_split
- id: executionClientCount
title: Execution Client Count
# link: /metrics/execution-client-count
data:
# health: 100
icon: window_split
- id: executionClientLanguages
title: Execution Client Languages
# link: /metrics/execution-client-languages
data:
# health: 100
icon: window_split
- id: entityStakingDiversity
title: Entity Staking Diversity
# link: /metrics/entity-staking-diversity
data:
# health: 51
icon: people
- id: lstStakingDiversity
title: LST Staking Diversity
# link: /metrics/lst-staking-diversity
data:
# health: 32
icon: people
- id: lstStakingMarketshare
title: LST Staking Marketshare
# link: /metrics/lst-staking-marketshare
data:
# health: 32
icon: people
- id: decentralizedLstMarketshare
title: Decentralized LST Marketshare
# link: /metrics/decentralized-lst-marketshare
data:
# health: 32
icon: people
- id: homeStakerMarketshare
title: Home Staker Marketshare
# link: /metrics/home-staker-marketshare
data:
# health: 32
icon: people
- id: soloStakerMarketshare
title: Solo Staker Marketshare
# link: /metrics/solo-staker-marketshare
data:
# health: 32
icon: people
- id: nodeCount
title: Node Count
# link: /metrics/node-count
data:
# health: 80
icon: nuc
- id: metaClientCount
title: Meta Client Count
# link: /metrics/meta-client-count
data:
# health: 80
icon: window
- id: geographicDiversityNodes
title: Node Geographic Diversity
# link: /metrics/geographic-diversity-nodes
data:
# health: 61
icon: globe
- id: geographicDiversityValidators
title: Validator Geographic Diversity
# link: /metrics/geographic-diversity-validators
data:
# health: 52
icon: globe

- id: stablecoinDiversity
title: Stablecoin Diversity
# link: /metrics/stablecoin-diversity
data:
icon: coin
- id: decentralizedStablecoinMarketshare
title: Decentralized Stablecoin Marketshare
# link: /metrics/decentralized-stablecoin-marketshare
data:
icon: coin
- id: oracleDiversity
title: Oracle Diversity
# link: /metrics/oracle-diversity
data:
icon: megaphone
- id: decentralizedOracleMarketshare
title: Decentralized Oracle Marketshare
# link: /metrics/decentralized-oracle-marketshare
data:
icon: megaphone
- id: l2NetworkDiversity
title: L2 Network Diversity
# link: /metrics/l2-network-diversity
data:
icon: stack
- id: l2NativeAssetMarketshare
title: L2 Native Asset Marketshare
# link: /metrics/l2-native-asset-marketshare
data:
icon: stack
- id: relayDiversity
title: Relay Diversity
# link: /metrics/relay-diversity
data:
icon: block_grid
- id: relayCensoringMarketshare
title: Relay Censoring Marketshare
# link: /metrics/relay-censoring-marketshare
data:
icon: block_grid
- id: energyUsage
title: Energy Usage
# link: /metrics/energy-usage
data:
icon: plugin
- id: validatorAffordability
title: Validator Affordability
# link: /metrics/validator-affordability
data:
icon: wallet

# this should be a category with each layer
# - id: l2ClientDiversity
# title: L2 Client Diversity
# # link: /metrics/l2-client-diversity
# data:
# icon: stack
# not sure if keep this
# - id: securityRating
# title: Security Rating
# # link: /metrics/security-rating
# data:
# icon: shield


# search for more icons
# "lay"
# "app"
# "diamond"
# "re"




Loading