Skip to main content

Install Solib

Instal Solib using the following


npm install --save @walletconnect/solib


yarn add @walletconnect/solib

Note on QRCodes and Web3Modal's standalone modal

If you plan on setting qrcode: false and handling QRCode display yourself when using WalletConnectConnector, be sure to mark the web3modal dependencies as external in the rollup or webpack config. They are peer dependencies and are not downloaded automatically, and need to be marked as such to avoid import analysis tools false flagging them.

Example in vite

export default defineConfig({
rollupOptions: {
external: ["@web3modal/core", "@web3modal/ui"]
plugins: [react()],