Skip to content

Promote Credit Wallet in WalletConnect for all Creditcoin chains#3166

Merged
tom2drum merged 1 commit intomainfrom
tom2drum/issue-3162
Dec 8, 2025
Merged

Promote Credit Wallet in WalletConnect for all Creditcoin chains#3166
tom2drum merged 1 commit intomainfrom
tom2drum/issue-3162

Conversation

@tom2drum
Copy link
Copy Markdown
Collaborator

@tom2drum tom2drum commented Dec 8, 2025

Description and Related Issue(s)

Resolves #3162

This PR adds support for featured wallet IDs in the WalletConnect (Reown AppKit) modal, allowing specific wallets to be promoted as recommended options. This enables Credit Wallet to appear as a recommended wallet for all Creditcoin chains.

Proposed Changes

  • Added NEXT_PUBLIC_WALLET_CONNECT_FEATURED_WALLET_IDS environment variable to configure featured wallet IDs
  • Updated blockchainInteraction.ts to parse and pass featured wallet IDs to the wallet connection configuration
  • Modified Web3ModalProvider.tsx to use the featured wallet IDs from the feature configuration instead of an empty array
  • Updated environment variable validator schema to include the new variable
  • Updated documentation to reflect the migration from WalletConnect to Reown AppKit branding

Environment Variables

Added NEXT_PUBLIC_WALLET_CONNECT_FEATURED_WALLET_IDS to configure a list of featured wallet IDs that appear as recommended wallets in the "Connect your wallet" modal. This allows Credit Wallet to be promoted for Creditcoin chains by setting the appropriate wallet ID(s) in the environment configuration.

Breaking or Incompatible Changes

None. The new environment variable is optional and defaults to an empty array if not provided.

Additional Information

This change enables the promotion of Credit Wallet (or any other wallet) as a featured/recommended option in the wallet connection modal for Creditcoin chains. The wallet IDs can be obtained from WalletGuild.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum added enhancement New feature or request ENVs labels Dec 8, 2025
@tom2drum tom2drum merged commit 944a60b into main Dec 8, 2025
11 checks passed
@tom2drum tom2drum deleted the tom2drum/issue-3162 branch December 8, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ENVs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promote Credit Wallet in WalletConnect for all Creditcoin chains

1 participant