New answers tagged

1

Is Metamask a web3 provider? Yes. Web3 provider is a website running geth or parity node which talks to Ethereum network. In the answer you've pointed to, when he says "website", he really means "RPC endpoint" (you'll see his path contains the string "api"), where the endpoint will likely be on a back end server running an ...


0

I had the same problem. I solved it by creating a new Address with the same name as the one that was lost.


0

Can this address spend all my ETH without me approving it via my MetaMask? The approve() function is part of the ERC-20 standard. Approving someone else's address gives them permission to transfer your ERC-20 tokens. It does not grant permission over your ETH. Only the holder of the private key - which is hopefully only you - can move or spend your ETH. So: ...


0

No assets will be moved. The process is only about registering your wallet to a different place. From the blockchain's perspective, nothing changes, since you will still be using th same private key to create transactions, and the same private key holds the assets. So you don't need to explicitly move any assets (Ethers and tokens), they are wherever your ...


0

I've been hacked for 30k too. I had a virus in my computer that was here way before I started using Metamask. *which I've got while surfing the dark web. The lesson I've learned: DO NOT use Metamask if you don't have a reliable (paid) antivirus. It's the digital age, people. Don't be cheap like me and get the antivirus software.


0

You might be accessing the said value even when it is undefined . Note by default it is "undefined" and not "true" or "false" . So put a check that whether it is even defined or not , before assigning any value to it . if (typeof window.ethereum.autoRefreshOnNetworkChange !== "undefined") { window.ethereum....


0

For me the problem was that it was trying to get the web3 provider (and therefore the network) from Metamask instead of my local ganache which is what I always want for development. So I just modified the getWeb3.js code to comment out everything except the fallback to localhost so that it uses my local ganache by default... const provider = new Web3....


1

You can speed up the transaction and make it go through faster. On MetaMask, click on the transaction that is processing and there will be an option to "Speed up". Click this and it should go through much faster!


3

Metamask accounts are not compromised by giving permission to a website. The permission only allows the website to see your public address, not your private key or seed phrase. Typically, your account will be compromised if your seed phrase is stolen or lost. In that case, all the Metamask accounts that you generated with that seed phrase will be compromised....


0

The problem was the abi - it was incorrect, and web3 silently fails. I obtained my ABI by just doing a console.log(abi) - which is incorrect. If you are doing it this way, rather do console.log(JSON.stringify(abi)).


1

If the function name and parameters are known it should be possible to create a dummy contract and generate a minimal ABI with Remix. Then use Remix connected to Metamask or a wallet like MyEtherWallet and MyCrypto.


0

Found the error. It was a typo. Missed a bracket after v3 in the provider link https://rinkeby.infura.io/v36c... was changed to https://rinkeby.infura.io/v3/6c....


-1

If you want to view all internal transactions for a specific metamask address, I highly recommend you check out Alchemy Notify. After creating a free account, you can use their API key and Notify tools to set up webhook notifications for all transaction activity (including internal transactions) at a specific address. Here's a link to their docs: https://...


0

I don't think so. Metamask is a wallet meant to be used manually. If you want to create multiple addresses automatically, the only way I know is to code it using a web3 library such as web3js, or perhaps with a script with the geth javascript console.


1

Maybe you could try to reset your account. In this case: MetaMask settings -> Advanced -> Reset Account.


0

You can create a Web3.js connection directly from your Dapp. You do not need to use one provided by wallet. Simply point Web3.js to any of Ethereum node providers. The connection is HTTPS or Websocket WSS. You can also run your own node for your Dapp users. Note that in both cases you will bear the cost of paying for the node maintenance, because you are not ...


0

Yikes, that's a tough one... Unless you have very good relations with a big mining pool company that is willing to include transactions for you in a dark pool (as explained here), any transaction that you send from your account could be picked up by the hacker if he is actively monitoring. Depending on how good his bot is, the hacker could indeed transfer ...


2

Different private keys generated from a single mnemonic phrase are in no way linked to eachother, so it's not possible to guess other private keys or addresses. This would only be possible if you have an extended public or private key, but it's generally not advised to give those to anyone. If you're interested, I wrote an article about how the cryptography ...


0

If you restore your Metamask wallet, your imported accounts (such as hardware wallet) will not be restored. You will have to link them again on Metamask.


0

You should never enter your seed phrase on a website. Whoever has your seed phrase has full access to your accounts. Just use Metamask instead. Click on Import using account seed phrase. If you don't see your account after doing that, you have the wrong seed phrase and there is nothing you can do.


0

Well, as you said, it's in your test wallet. What else do you need, since you have the test Ethers there? If you mint it in a testnet and someone buys it, they buy it with testnet Ethers, which has no monetary value. So you have gained 1 of testnet Ethers. The transaction of 1 Eth only exists in the Rinkeby testnet (https://rinkeby.etherscan.io/tx/...


0

For 1) I suggest you do not use any wallet built-in browsers. Not only being hard to debug, these embedded WebViews have other bugs and issues making the normal web browser APIs to fail. Instead, use the stock Android Chrome that has remote debugging capabilities. Then use WalletConnect for any wallet actions in a mobile browser. For 2) looks like this is a ...


0

Geth currently only allows RPC requests from localhost. I made something like this, although it would require nginx. https://github.com/TennisBowling/geth-nginx Then you would be able to access it without setting a port.


1

from balancer contract require(poolAmountOut >= minPoolAmountOut, "ERR_LIMIT_OUT"); it seems like the quantity of assets going out is less than the minimum required quantity. you can see how it is calculated here: https://github.com/balancer-labs/balancer-core/blob/master/contracts/BPool.sol#L562


0

You can extract your keys by using Ian Coleman's Recovery Tool. It runs locally in your browser and is fully open source. There is no sensitive information sent across the internet. If you want to be extra secure, it is strongly recommended to save the HTML file and run it on an airgapped offline device. Open https://iancoleman.io/bip39/. It is strongly ...


3

You do not need to send 0 eth to yourself to replace your transaction. Any transaction that has the following characteristics would work: It comes from the same address; It has the same nonce; and It has a gas price at least 10% higher than the previous gas price.


0

I'm new to metamask and receive(d) failed transactions as well, and also default not 21000 gas limit but like 200-300k which makes the fee around 50-80$. What I found, and like to share, is: Go to settings, general, advance, and there you can click on 'reset' and all previous transactions and history is gone (NOT your money). This seems to be helping for ...


1

The issue turned out to be caused by the browser I was using: Brave. It has some default ad blockers called "shields". These somehow prevented me from connecting the Metamask extension to my local network. In Brave settings for shields, I set "Trackers & ads blocking" to "disabled", and the issue was resolved.


1

If you want Uniswap to use another address from Metamask, you have to connect it to Uniswap website. In Metamask, select the address you want to use (in that case, the hardware wallet that you linked with Metamask). Go to the Uniswap app website on your browser. In Metamask, just to the left of the name of you hardware address, you should see "Not ...


0

I have the same problem, also it can not be switched between different metamask accounts. Is there anyone who encountered the same problem and fixed it?


Top 50 recent answers are included