Skip to content

Conversation

@effie-ms
Copy link
Contributor

@effie-ms effie-ms commented Dec 15, 2025

Which Jira task is linked to this PR?

https://lifi.atlassian.net/browse/LF-17090

Why was it implemented this way?

Now wallet connection SDKs become optional (users need to pass to Ethereum widget provider either true or custom config object).

Example of config:

import { EthereumProvider } from '@lifi/widget-provider-ethereum'

const config = {
  providers: [
    EthereumProvider({
      // Custom WalletConnect project
      walletConnect: {
        projectId: 'my-project-id',
      },
      // Custom branding for Coinbase
      coinbase: {
        appName: 'My DApp',
        appLogoUrl: 'https://mydapp.com/logo.png',
      },
      // Use defaults for MetaMask
      metaMask: true,
      // Disable Base Account
      baseAccount: false,
      // Disable Porto
      porto: false,
    }),
  ],
}

NB: dynamic labs, privy-io, reown, connectkit, rainbowkit do not support wagmi v3 yet.

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.

@effie-ms effie-ms self-assigned this Dec 15, 2025
@github-actions
Copy link

Hey! This is your new endpoint: https://2c9ec98d.widget-wagmiv3.pages.dev

@github-actions
Copy link

Hey! This is your new endpoint: https://ebf693a7.widget-wagmiv3.pages.dev

@github-actions
Copy link

Hey! This is your new endpoint: https://775c7f3b.widget-wagmiv3.pages.dev

@github-actions
Copy link

Hey! This is your new endpoint: https://dac5455f.widget-wagmiv3.pages.dev

@effie-ms effie-ms added the v4 label Dec 16, 2025
@github-actions
Copy link

Hey! This is your new endpoint: https://2362e734.widget-wagmiv3.pages.dev

"typescript": "^5.9.3"
},
"optionalDependencies": {
"@gemini-wallet/core": ">=0.3.0",
Copy link
Contributor Author

@effie-ms effie-ms Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wagmi/connectors@7.0.2 includes a Gemini wallet connector (gemini.js) that imports from @gemini-wallet/core, and Next.js's bundler requires the resolution of all the static imports (peerDependenciesMeta.optional does not skip the import). For vite, it works fine without because of the lazy loading.

package.json Outdated
"overrides": {
"@wagmi/connectors": ">=7.0.0",
"@react-native-async-storage/async-storage": ">=2.2.0",
"@reown/appkit": ">=1.8.14",
Copy link
Contributor Author

@effie-ms effie-ms Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@walletconnect/ethereum-provider forces @reown/appkit 1.8.1

@github-actions
Copy link

Hey! This is your new endpoint: https://31850346.widget-wagmiv3.pages.dev

@effie-ms effie-ms marked this pull request as ready for review December 16, 2025 18:06
@effie-ms effie-ms requested a review from chybisov December 16, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants