Skip to content

Prepare GoodWallet for Superfluid Campaign widget integration #58

Description

@L03TJ3

Summary

Add @goodwidget/superfluid-campaign-widget to GoodWallet so authenticated users can open the Superfluid Ecosystem Rewards campaign from the home dashboard / More drawer. Host it through the GoodWidget integration boundary introduced in #54: typed registry, authenticated bottom-sheet route, web-component host, and restricted EIP-1193 provider.

The Superfluid widget should remain widget-owned for campaign content, reward pools, leaderboard data, action cards, claim flow, FAQ, loading states, success states, and errors. GoodWallet supplies the host surface: package availability, registry entry, route/dashboard wiring, provider policy, and tests.

The integration covers the gw-superfluid-campaign Custom Element, Celo GoodDollar activity, Base SUP claiming, and the widget's shared GoodWidget/Citizen Claim runtime dependencies. It does not include AI Credits or any other widget.

Context

  • Wallet runtime foundation: Add secure GoodWidget integration boundary #54
  • Package: @goodwidget/superfluid-campaign-widget in GoodDollar/GoodWidget (packages/superfluid-campaign-widget)
  • Custom Element tag: gw-superfluid-campaign
  • Exports: ., ./element, ./register
  • Route: superfluid-campaign
  • Registry ID: goodwidget.superfluid-campaign
  • Package version: use the exact approved package version, currently 0.1.0
  • Required provider chains: Base and Celo
  • Required provider capabilities: account access, chain detection/switching, read calls/balance, signing, and approved transactions
  • Parent foundation request: Feature Request: Prepare GoodWallet for GoodWidget Integration #52

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions