New answers tagged

0

I may probably be late to this thread but I think this may be useful for others. I also encountered a similar issue that lead me to this thread in search of answers. In my case, I was attempting to get the account balance of an ethereum account like so: provider.request({ method: "eth_getBalance", params: [wallet.address], "...


0

You can refer the below for signing data from metamask, https://docs.metamask.io/guide/signing-data.html#signing-data-with-metamask https://github.com/danfinlay/js-eth-personal-sign-examples


0

All compromised accounts are checked by bots and as soon as funds gets deposited the transaction to steal funds transfers them out immediately to thief's address. your metamask wallet has been hacked


0

I have transferred 10ETH for your address, of course it is under Rinkeby network, wish you all the best! 😀😀😀


0

Send some TestNet Eth to yourself but change the nonce of the transaction to the nonce of this pending transaction. For more detail, check this:https://help.tokensets.com/en/articles/4089766-how-to-push-through-a-stuck-transaction


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.


0

Did you specify --network development? Because the standard network for deploying with the "migrate" command is called "develop" (you can see it in your truffle-config.js, so you need to explicitly specify the network "development" NOTE: you may also use the "truffle develop" command to get a truffle console and launch ...


1

A nonce is just a number of previous transactions you made with your account. Every new transaction requires nonce to prevent double-spending attacks. You can read more about it here. There is a function in web3 API for retrieving nonce.


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.


0

I was confused with it too earlier, but this video helped me. So you can truffle unbox react in some test folder and get an idea of how it is done. At least it helped me!


2

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


0

You are using the wrong account to access "this item". this has nothing to do with Metamask or any code error. you simply don't have the rights for a specific item on the smart contract you are calling and the contract is reverting the transaction with the error you are seeing. It looks like a code error because web3 or the lib you are using, ...


0

As said above - you can buy real ETH with fiat. Metamask has an on-ramp for Fiat to Crypto. Just click the buy button. Can also buy from various wallets such as MyCrypto (no-bias lol) and Coinbase.


0

In my case I used web3. It works fine for me. Try for ethers... if (typeof window !== 'undefined' && typeof window.web3 !== 'undefined') { // We are in the browser and metamask is running. web3 = new Web3(window.web3.currentProvider); } else { // We are on the server OR the user is not running metamask const provider = new Web3.providers....


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).


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.


0

No harm. You can start the RPC by executing admin.startRPC("127.0.0.1",8545) again if you need it.


1

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


0

After some research found that the DAG tokens on ERC20 network are worthless. They were converted to Constellation networkearlier this year, but unfortunately you can still get the old ERC20 tokens which is useless. I guess crypto is unregulated and need to do your own research :/ I learnt it the hard way.


0

Some service do use BIP39 mnemonic passphrase BUT sometimes they are tweaking factors, for example PBKDF2 iteration, or key range. For example, with Electrum (a bitcoin wallet) they are adding a seed version to your seed https://electrum.readthedocs.io/en/latest/seedphrase.html.


0

I login to metamask from a different PC with the seed phrase only and verified that the private key are the same, thus metamask back the private key on remote server (probably encrypted by the seed phrase) BUT reddit users complains that sometime the import process fails therefore it is important to backup the private key as well!


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

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

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.


0

According to this Official source, it actually seems possible to see NFT on mobile app only. "Please note that while you can add NFT's as custom tokens in the extension, you will not be able to see them natively in the UI." Also, Metamask warns : "Please remember that some NFT's will not show up on the mobile app under Collectibles, or may not ...


Top 50 recent answers are included