1

If your MetaMask is open, it means you don't need to get permission anymore. however new MetaMask can be found in window.ethereum not in window.web3. only legacy (outdated) MetaMask users still have window.web3. Try this Code import Web3 from 'web3'; let w3 if(typeof window !== 'undefined' && typeof window.ethereum !== 'undefined'){ //getting ...


1

EOAs and Contract accounts are indistinguishable by looking at their addresses. Contract accounts are the only type of account with associated bytecode. Private keys are generated only for EOAs while CAs are controlled by the contract.


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