Skip to content

refactor(web): position DAO panel as ecosystem intelligence, not a voting app#70

Merged
marinom2 merged 1 commit into
mainfrom
refactor/dao-intelligence-not-voting-app
Jun 10, 2026
Merged

refactor(web): position DAO panel as ecosystem intelligence, not a voting app#70
marinom2 merged 1 commit into
mainfrom
refactor/dao-intelligence-not-voting-app

Conversation

@marinom2

Copy link
Copy Markdown
Owner

LightChain has its own DAO (dao.lightchain.ai) - lightnode is not trying to replace it. The panel should be an ecosystem intelligence layer that surfaces what the official tools don't, and send people to the official DAO to actually transact. People vote on LightChain's DAO page, not in lightnode.

Changes

  • Removed the in-app cast-vote and delegate-to-self writes (and the wallet-signing plumbing: useDaoWallet/getSigner, pinnedFees, readHasVoted). Voting/delegation are not lightnode's job.
  • Active proposals now show "Vote on this proposal at the LightChain DAO" → dao.lightchain.ai.
  • Voting-power card stays as read-only "your standing" and links to ballots.lightchain.ai to manage delegation when needed.
  • Prominent callout to the official DAO at the top of the panel.
  • Reframed the panel as "Governance intelligence": decoded proposal actions, quorum distance, treasury flow, lifecycle timing, and your on-chain standing - all read from the registries.

Kept

All the read/decoding intelligence (proposals, quorum, treasury, schedule, decoded calldata, your standing). The SDK snippet still shows the full surface including castVote/delegate - those are primitives for builders making their own tooling, which is the whole ecosystem-enhancement point.

Verification

tsc clean, next build clean (bundle dropped 748→716 kB with the write path removed), ESLint clean, 478/478 tests pass. Official URLs (dao.lightchain.ai, ballots.lightchain.ai) are the canonical ones already used elsewhere in the repo + our SDK config.

…ting app

LightChain has its own DAO - lightnode is not trying to replace it. The panel
should surface what the official tools don't and send people to the official
DAO to actually transact, rather than hosting votes itself.

- Remove the in-app cast-vote and delegate-to-self write controls (and the
  wallet-signing plumbing they needed). Voting/delegation are not lightnode's
  job.
- Active proposals now show "Vote on this proposal at the LightChain DAO" ->
  dao.lightchain.ai. The voting-power card stays as read-only "your standing"
  and links to ballots.lightchain.ai to manage delegation.
- Add a prominent callout linking to the official DAO (dao.lightchain.ai) and
  reframe the panel as "Governance intelligence": decoded actions, quorum
  distance, treasury flow, lifecycle timing, and your on-chain standing.
- Drop now-dead helpers (getSigner/useDaoWallet, pinnedFees, readHasVoted,
  GOVERNOR/DAO_CHAIN_ID maps). All the read/decoding intelligence stays.

The SDK snippet still shows the full surface (incl. castVote/delegate) - those
are primitives for builders making their own tooling, the ecosystem angle.
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightnode Ready Ready Preview, Comment Jun 10, 2026 12:36pm

Request Review

@marinom2 marinom2 merged commit 4009db0 into main Jun 10, 2026
5 checks passed
@marinom2 marinom2 deleted the refactor/dao-intelligence-not-voting-app branch June 10, 2026 12:39
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.

1 participant