Coder Social home page Coder Social logo

Comments (6)

DanielSinclair avatar DanielSinclair commented on May 28, 2024 1

@ZeroTimeDrift I was able to replicate the issue on your deployment. The URI appears correct, so this could be a bundler or Next.js config issue. I also suspect there could be a CORS issue that blocks WalletConnect calls. Can you share a code sample or CodeSandbox? Please also double check that you've verified and whitelisted the domain via WalletConnect Cloud.

from rainbowkit.

glitch-txs avatar glitch-txs commented on May 28, 2024 1

Are you using nextjs? Could you share your next.config.js if so?

from rainbowkit.

ZeroTimeDrift avatar ZeroTimeDrift commented on May 28, 2024 1

Resolved the issue, @DanielSinclair made a v. good point about the nextjs config, it's related to swcMinify

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
swcMinify: false,
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '',
port: '',
pathname: '
',
},
],
},
}

module.exports = nextConfig

When swcMinify was set to true WC2 was throwing up a tonne of errors. Fixed now, thank you.

from rainbowkit.

DanielSinclair avatar DanielSinclair commented on May 28, 2024

@ZeroTimeDrift Have you obtained a valid projectId? Also, are you using a VPN? WalletConnect is not supported and/or blocked via firewalls in some regions.

from rainbowkit.

ZeroTimeDrift avatar ZeroTimeDrift commented on May 28, 2024

Hey @DanielSinclair, I have a valid projectId, I can confirm I am also not using any VPNs. I've also tested this in multiple environments - you can check the staging URL at https://staging.moongate.one/

from rainbowkit.

ZeroTimeDrift avatar ZeroTimeDrift commented on May 28, 2024

@DanielSinclair You are totally right, wc2 works on npm run dev but fails to work on builds - any reason that might be from building?

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.