Window.phantom undefined when using in Nextjs #238
Unanswered
ntchungse
asked this question in
Help & Support
Replies: 1 comment 2 replies
-
Hello @ntchungse, Would you mind sharing your code for detecting the provider and establishing a connection? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I am developing a dapp that using phantom to connect. Following docs, I use window.phantom but It's undefined. I also try wallet-adapter library but error WalletNotReady. I already installed phantom wallet and try run another projects Reactjs and it return window.phantom value. Is this a problem with phantom and Nextjs?
Update:
It seems like phantom not working in localhost.
Example
No response
Steps to Reproduce
Phantom Version
No response
Is there an existing discussion for this?
Beta Was this translation helpful? Give feedback.
All reactions