feat: migrate clover to the hub #1305
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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: