Skip to content

Add Gnosis Chain support to Siren#468

Open
mjadach-iv wants to merge 3 commits into
sigp:stablefrom
mjadach-iv:gnosis-support
Open

Add Gnosis Chain support to Siren#468
mjadach-iv wants to merge 3 commits into
sigp:stablefrom
mjadach-iv:gnosis-support

Conversation

@mjadach-iv

@mjadach-iv mjadach-iv commented May 18, 2026

Copy link
Copy Markdown

Fixes Add GNO support: would be nice if Siren detected the validators network and adjust the token in the UI accodinly #465

Add Gnosis Chain support to Siren

  • derive every ETH-specific value from a new NetworkProfile resolved from the beacon spec's CONFIG_NAME, instead of hardcoded constants.
  • New NetworkProfile abstraction with helpers (getNetworkProfile, gweiToNative, useNetworkProfile, getCachedNetworkProfile) keeps data in one place
  • Backend now returns validator balances and rewards in native units, picks the Pectra fork from the profile, and applies strict disk thresholds on Gnosis as well as mainnet.
  • Frontend swaps every hardcoded ETH label to render from profile.nativeSymbol instead, switches the ETH logo a Gnosis logo, and queries GNO price instad of ETH if needed
  • Wallet write flows (create / consolidate / deposit / withdraw) now hide behind a new UnsupportedNetworkNotice on Gnosis instead of silently failing on the unregistered wagmi chain.
  • Earnings math updated: chart values use gweiToNative, hourly/daily/weekly/monthly estimates pull SLOTS_PER_EPOCH from the spec (was hardcoded 32 — caused 2× undercount on Gnosis), the APR baseline is rescaled to native units, and the chart no longer caps at 10 validators.

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GNO support: would be nice if Siren detected the validators network and adjust the token in the UI accodinly

1 participant