Comments (6)
@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.
Are you using nextjs? Could you share your next.config.js if so?
from rainbowkit.
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.
@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.
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.
@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)
- [bug] Can not install using npm install HOT 7
- [bug] Connect Modal does not close after connecting to Sepolia network HOT 1
- [bug] Custom injected wallet EIP1193 HOT 2
- [bug] Cannot destructure property 'status' of '(0 , i.useSession)(...)' as it is undefined. on deploy HOT 3
- [bug] WalletConnect QR code not appearing HOT 4
- [bug] <title>Critical dependency: require function is used in a way in which dependencies cannot be statically extracted HOT 1
- [bug] Localization is always included without tree-shaking and is bloating the bundle size HOT 1
- [bug] Error: To use QR modal, please install @walletconnect/modal package HOT 7
- [bug] Fix for signMessage via DeepLink to MetaMask mobile app HOT 3
- [bug] Issues connecting on certain iOS / Android devices HOT 9
- [bug] "ChainId not found" when connecting to Ledger wallet via Ledger Live HOT 2
- [bug] RainbowKit Connect modal does not function properly within a Radix Dialog HOT 1
- [bug] `RainbowKitSiweNextAuthProvider` not working with NextAuth.js v5 HOT 4
- [bug] siwe signature verify prompt on disconnect HOT 4
- [bug] Missing icon for Crypto.com Wallet Extension (wagmi v2.0 branch) HOT 4
- [bug] Migration doc for wagmi v2 HOT 4
- [bug] rename BSC chain name on switch networks modal error HOT 1
- [bug] <Bifrost Wallet website doc omits wallet connect projectId > HOT 1
- [bug] Custom wallet group not functioning in the new beta release HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rainbowkit.