[Questions] Metamask for Developers

(upload://vk5Dia9NulI3ijZPsovB0g9VrNI.png)

You need to authenticate (Authenticate button in top right), it looks like you havenā€™t done that.

you are awesome thank you for your help last question i know i actually connected my wallet to moralis polygon however it says not connected but shows it is in sync with the visual studios code information i connected it to but no web3 connection for some reason

shows it is in sync with the visual studios code information

Iā€™m not sure what you mean by this. Are you saying the boilerplate app isnā€™t updating the connected state? Do you get the signing message from MetaMask after clicking ā€œAuthenticateā€?

yes that worked perfectly
i just mean the meta mask itself isnā€™t connected to a web3 website from what i could tell i did it the first time but my computer shut off not sure if thatā€™s why but now i click connect to metamask and nothing connects

It is ok, if the app state has changed then you have connected your wallet to it. Unless you manually remove the connected site from MetaMask e.g. localhost:3000, it wonā€™t ask you to connect the site anymore.

ok cause i just saw not connected and when i clicked or hovered over it it said it doesnā€™t detect a web3 website

I have such a error when I type yarn run start:

yarn run v1.22.19
$ set "GENERATE_SOURCEMAP=false" && react-app-rewired start
'react-app-rewired' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```

and now after installing react by:
npm install -react,
i have such a problem:


Compiled with warnings.

Module not found: Error: Can't resolve '@web3auth/web3auth' in 'C:\Programowanie\Moralis\MetaMask\node_modules\moralis\lib\browser\Web3Connector'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in ./node_modules/moralis/lib/browser/Web3Connector/Web3AuthConnector.js 210:40-69
Module not found: Error: Can't resolve '@web3auth/web3auth' in 'C:\Programowanie\Moralis\MetaMask\node_modules\moralis\lib\browser\Web3Connector'

webpack compiled with 1 warning

You can ignore this warning, your app should still work. You can install the @web3auth/web3auth package to get rid of it but it may lead to other errors.

1 Like


that is what i see on my page

Check your browser console for any errors. Have you added your Moralis server details into your .env file?