Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds WalletConnect support #1

Merged
merged 1 commit into from
Feb 22, 2022
Merged

Adds WalletConnect support #1

merged 1 commit into from
Feb 22, 2022

Conversation

jcurbelo
Copy link
Collaborator

Adds WalletConnect Provider into the web3modal's wallets list

Rollup Plugins

Needed a few tweaks to get the package working:

  rollupPlugins: {
    before: [
      replace({
        'process.env.NODE_DEBUG': null,
        'process.env.WALLETLINK_URL': null,
        'process.env.WALLETLINK_VERSION': null,
      }),
      rollupCommonjs({
        transformMixedEsModules: true,
        sourceMap: true,
      }),
    ],
    after: [
      // Plugins injected after commonjs()
      nodePolyfills(),
    ]

Had to replace the default configurations of rollupCommonjs that comes with stencil.js. had to use transformMixedEsModules: true

@jcurbelo jcurbelo added the enhancement New feature or request label Feb 22, 2022
@jcurbelo jcurbelo changed the title Added WalletConnect support Adds WalletConnect support Feb 22, 2022
@jcurbelo jcurbelo self-assigned this Feb 22, 2022
@jcurbelo jcurbelo merged commit 48e348b into main Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant