2

For Moralis to work properly, you have to host your pages through a server. When you open the HTML file directly, you will face this issue. This has been mentioned in the moralis docs for your reference over here - Uncaught Reference error- Non Ethereum Browser Hope this helps.


2

Have a look at the developer doc getting started https://docs.metamask.io/guide/getting-started.html


2

I had the same issue - I had sufficient balance in the token that I was sending but not enough ETH for the gas fee.


1

I end up solving this error by changing the version of web3, I was in version 0.20.x, and I changed it to the latest version, which was 1.4.0.


1

To obtain real Ether, you need to buy it. You buy it from a cryptocurrency exchange with fiat money (US Dollar, Euros, whatever is your national currency).


1

No harm, you can always add it back. This is just the standard local development url.


1

Your private key is stored in your browser. Metamask ask you for a password to encrypt the private key. No it's stored locally. Always back up your private key. It's better to store your "mnemonic phrase" as they are human readable. A naked private key is hard to copy, and any error (a character change) can be lethal for your back up because you ...


1

Users typically expect to click a button before logging on to any website. There are few websites that show a login dialog immediately as the first thing a user sees.


1

You can do this by decoding the input data with sites like this. But you would need to find the ABI of the contract you are calling. IF the contract is an ERC20 token or any other standard token, a standard abi is sufficient. You can find most ABIs via Etherscan when searching for the address of the contract you are calling.


1

There is an awesome tutorial available for this. Check out CryptoZombies it teaches the basics of ERC721 step by step.


Only top voted, non community-wiki answers of a minimum length are eligible