Giter VIP home page Giter VIP logo

Comments (6)

0xRowdy avatar 0xRowdy commented on August 16, 2024 4

Try adding the following to your next.config

webpack: (config) => {
    config.resolve.fallback = { fs: false, net: false, tls: false };

    return config;
  },

Your full next config would be

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  webpack: (config) => {
    config.resolve.fallback = { fs: false, net: false, tls: false };

    return config;
  },
};

from rainbowkit.

ArshanKhanifar avatar ArshanKhanifar commented on August 16, 2024

YAY! this solution works! Should there be a PR to fix this? or is this needed for old walletconnect support?

from rainbowkit.

0xRowdy avatar 0xRowdy commented on August 16, 2024

YAY! this solution works! Should there be a PR to fix this? or is this needed for old walletconnect support?

TBH, I'm not sure if this is related to Wallet Connect. I do know there are some issues popping up with Wallet Connect V1 depreciation that happened on 28th of June.

from rainbowkit.

ArshanKhanifar avatar ArshanKhanifar commented on August 16, 2024

well the stack trace is showing this path rainbow -> wagmi -> wagmi core -> wagmi connectors -> wallet connect legacy lol

from rainbowkit.

0xRowdy avatar 0xRowdy commented on August 16, 2024

well the stack trace is showing this path rainbow -> wagmi -> wagmi core -> wagmi connectors -> wallet connect legacy lol

It looks like they addressed this issue in their migration docs.
https://www.rainbowkit.com/docs/migration-guide

Sounds like Rainbow Kit or at least the version you are using is using an older version of Wagmi. I'm not affiliated with either Rainbow or Wagmi but I would think they would have addressed this. Have you checked for updated packages for Rainbow Kit and Wagmi?

Here is the info about wallet connect.
https://docs.walletconnect.com/2.0/advanced/migration-from-v1.x/overview

Just noticed this on the Rainbow Kit website. However, you are on a version higher than what is specified in the docs. I think this is a bug and should have an issue created.
https://www.rainbowkit.com/guides/walletconnect-v2

from rainbowkit.

DanielSinclair avatar DanielSinclair commented on August 16, 2024

This issue appeared with Wagmi v1, and is caused by WalletConnect v1 dependencies that were previously bundled with ethers. We will shake those dependencies out after this transition is finalized, but continue to include them with your projects for the time being.

from rainbowkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.