Skip to content

Conversation

@arlert-armin
Copy link
Contributor

@arlert-armin arlert-armin commented Nov 21, 2025

Summary

This PR migrates Clover to the Hub and adds the required adjustments to support its unique connection behavior.
Clover’s implementation differs from standard Solana providers, so a custom connection action was added to properly handle its flow.

Currently, Clover has known issues with signing on both EVM and Solana—it cannot sign transactions on either network. These issues originate from Clover itself and are not caused by the Hub integration. All connection-related logic functions correctly.

Additional adjustments:

  • Implemented a custom connect action to support Clover’s non-standard Solana connection flow.
  • Updated account switching behavior to rely on EVM provider events, fetching accounts on each event to stay in sync.

Fixes # (issue)


How did you test this change?

I tested Clover’s behavior under the Hub integration to validate connection and account management:

  • Verified that the custom connection action correctly initializes the Clover provider.

  • Confirmed EVM instance events trigger account changes and that accounts are refreshed on each event.

  • Tested connection for both EVM and Solana flows.

  • Attempted signatures on both EVM and Solana (expectedly failed due to existing Clover limitation).

  • Test A

  • Test B


Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.

@arlert-armin arlert-armin changed the title Feat/migrate clover to the hub feat: migrate clover to the hub Nov 21, 2025
@arlert-armin arlert-armin changed the base branch from next to feat/rf-2763-make-subscriber-builder-accept-fallback November 21, 2025 16:37
@arlert-armin arlert-armin force-pushed the feat/rf-2763-make-subscriber-builder-accept-fallback branch from 2c50d03 to a75e0e7 Compare November 22, 2025 09:14
Base automatically changed from feat/rf-2763-make-subscriber-builder-accept-fallback to next November 22, 2025 09:29
@yeager-eren yeager-eren force-pushed the next branch 2 times, most recently from 9431967 to 6507542 Compare November 22, 2025 14:17
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.

2 participants