Try to replace eth.png with another logo of your choice âŚ
I am facing the next issue to integrate wallectConnectâs âconnectorâ object with Moralis authenticate function.
I understand that moralis authenticate function requires the certain format to be passed in and team has modified the walletConnectâs source code to make it suited. So, I replaced the default wallectconnect lib with the "./frontend/WalletConnect.
The I followed the sample code "./frontend/Components/CryptoAuth.js ( https://github.com/gen02-dev/ethereum-react-native-cli-boilerplate) passing the âconnectorâ object into authenticate(). But it turns out the error
Non ethereum enabled browser
It will be appreciated if you could give me a hint that where did I miss out.
You could also have a look at my repo branch#5 (5.Moralis_WalletConnect) if you have time. The authenticate() call is in ./screens/main.tsx
Many thanks!
Does anybody find the clue about this issue?
any updates? spent on this issue around 20 hours and I donât want to live anymore
i am leaved comments in enableViaWalletConnect function (which overrides Moralis.enable function. And every time when it is called - there empty object instead of connector.
Thanks for the support. I am looking forward to the solution. I have spent two days but still cannot get the clue.
@happyeric77 My bad, I forgot to fork your repo instead before I made some progress. Can you give me write permission to the repo? Iâll push a branch for the fixes. Thanks.
Thank you so much, I have invited you as the collaborator for the repo.
@happyeric77 Thanks! I created a brach named fix-walletconnect
. When you checkout this branch, make sure to delete node_modules
. Then run yarn install
again and run the app with yarn ios
. Below is the screenshot after I believe I fixed it:
@gen Thanks so much! I just have a try and it works! AMAZING AGAIN!
I also briefly checked the diff but I could not really see what was the cause of that issue. I realized:
- The App is wrapped one more layer by MoralisDappProvider
- Some npm packages have been changed.
It will be appreciated if you do not mind letting me know what is the key taking effect to fix it.
@happyeric77 What fixed it is downgrading moralis
from "moralis": "0.0.183"
to "moralis": "0.0.99"
. This of course is not ideal since we would like to use the latest moralis
version as much as possible. This fix should be temporary until we find the best solution. I also refactored your code to limit some errors you might encounter in the future so you can focus on creating your dapp.
Has anyone been able to get ENS reverse lookup working?
hello, i am having issue with the authentication, if i click on the login button it takes me to the walletconnect website
can i have the repo of this? because am unable to see this it rather took me to wallectconnect website
@Habeeb12 clicking on login will trigger walletconnect and if didnât find any installed wallet, it will redirect to walletconnect website. You should have your physical device connected to login since you cannot install wallets to android emulator directly.
How can I Connect my Physical device to it?