Skip to main content
10 votes
Accepted

I got scammed or suspect scam on Ethereum or Uniswap. What to do?

What to do in the case of you got scammed On public Internet forums, like this and Reddit, no one is able to help you. Watch out for parties who offer help to get your money back for more money, as ...
Mikko Ohtamaa's user avatar
3 votes

Recover all the account under Mnemonic using ethers.js

If you're struggling to recover all accounts created by Metamask, here is the solution (ethers.js v6): const ethers = require("ethers"); const phrase = "YOUR_PHRASE"; const ...
Boy's user avatar
  • 131
2 votes
Accepted

How does MetaMask know the name of the contract function you're calling?

Short and simple: you need to register it. From MetaMask docs: https://docs.metamask.io/wallet/how-to/display/method-names MetaMask uses the Ethereum Signature Database to display method names on the ...
Ricardo Pedroni's user avatar
2 votes

New Account with no transaction

nice to meet you. In Ethereum, creating a new account is not a transaction and doesn't consume gas because it happens off-chain on your device. Your new account shows up on Etherscan because it's a ...
Ari Setiawan's user avatar
2 votes

Seeking testnet and wallet for students to learn how to use ethereum?

Every MetaMask instance comes with a default node to a few testnets, so all you need to do is install MetaMask and switch in there to a testnet (eg Ethereum Sepolia or Ethereum Holesky that's ...
Ake's user avatar
  • 1,149
2 votes
Accepted

Where does Metamask store the private key (when the account is only locked with a machine-specific password)?

OK, I figured it out. Thanks @rdymak for (https://ethereum.stackexchange.com/a/64038/120999) Physically the encrypted secret passphrase is stored at this location in a .log file: "C:\Users\...
Mila A's user avatar
  • 1,254
2 votes
Accepted

simulate a transaction considering another pending transaction

Ethers6 staticCall, same as Ethers5 callStatic method, sends the eth_call RPC request. The nonce parameter is not supported, so it has no effect. The mempool for eth_call is completely ignored, and by ...
tenbits's user avatar
  • 2,428
1 vote
Accepted

Moralis.Auth.verify 400 bad request error

The error here occurred due to the incorrect format of APP_DOMAIN variable. The accepted format is RFC 4501 dns authority format. So as an example, the APP_DOMAIN name should be like stackexchange.com ...
JohnVersus's user avatar
1 vote

Why msg.value is not transferred to the owner?

This code doesn't make sense. You're trying to withdraw the amount you're sending to the contract at the time of calling the function withdraw. In other words, your money will just make a round trip, ...
Ougi's user avatar
  • 155
1 vote
Accepted

Seed phrase compromised, ERC20/NFT remaining, what are the options?

What can be done? Using a second EOA, custom contracts that perform the operations involved atomically, gasless transaction methods that allow to pay for the transaction costs at the end of the ...
Maka's user avatar
  • 1,175
1 vote

Converting ETH from Ethereum Wallet to BNB on a (BSC) Wallet

You need to use some form of a "bridge" between different networks. Many services offer this functionality, some of which provide an API for your use. For instance, take a look at https://...
Alexander's user avatar
  • 131
1 vote

Unknown tokens not possible to sell and buy

Anyone can send you tokens. You can't stop it. Malicious actors sometimes create malicious tokens and send them to random users. I don't really know all of the ways they try to trick you, but it's ...
Lauri Peltonen's user avatar
1 vote

does account abstraction wallets have different address across different chains?

Not always. Account Abstraction Wallets/Smart Wallets (mostly) uses create2 opcode, which lets you predict the wallet address before even deploying. Using this method, Account Abstraction wallet ...
Aditya Arora's user avatar
1 vote
Accepted

Sign a transaction without loading full private key

Yes, you are referring to MPC. specifically Ethereum uses ECDSA, so you want an ECDSA MPC. here is ZenGo's repo used by ZenGo Wallet: https://github.com/ZenGo-X/multi-party-ecdsa MPC stands for Multi-...
high_byte's user avatar
  • 313
1 vote

Stuck in Smart Contract

The transaction is calling the method payForItem() of the contract here. And the method is actually doing nothing: pragma solidity ^0.4.26; contract MyShopNew { address private owner; ...
0xsam's user avatar
  • 101
1 vote

New Account with no transaction

Dev Advocate at Chainstack here! Here is a brief explanation in common terms: Imagine you're given a lock that has never been used, and you create a unique key for it. In Ethereum, creating an account ...
Dave Dev Advocate Chainstack's user avatar
1 vote
Accepted

A guide to solve some challenges in building a blockchain game

DISCLAIMER : This is just a piece of my mind, as you probably know there are many different approaches to solve all of those problems and the ones im going here with are just the ones i thought about ...
Foxxxey's user avatar
  • 4,337
1 vote

Viem wallet client method does not exist / is not available

check your ts version in my case I used [email protected] and when I checked its peer deps it showed [email protected] so updating ts version solved it.
Mohammed Alshaer's user avatar
1 vote

Metamask is not showing my balance - emergency question for a newbie

Make sure you are on the correct network in MetaMask. When you open your MetaMask, click the little downwards arrow that's just before your account and switch to the network that you need to see the ...
Ake's user avatar
  • 1,149
1 vote
Accepted

How to sign a transaction using metamask or other wallets in nethereum

I want to know how to sign a transaction through an external wallet using the nethereum library. Only web pages can interact with MetaMask, because MetaMask is a web browser plugin. Web pages are ...
Mikko Ohtamaa's user avatar
1 vote

I need 1000 Ethereum wallets for load testing of my project, is there a way i can get that?

You can use hardhat local deployment for testing . Run npx hardhat node on your terminal and it will give you addresses and its private key
Jaskaran Singh's user avatar
1 vote

I was invited to a smart contract reward approval, and i lost my all tokens at my trust wallet. Is The web site http:/ephbz.top a trap?

Did you sign any transactions on this website that you didn't fully understand? If so, then you may have given users permission to spend your balance. For future reference, never use a wallet with ...
Rohan Nero's user avatar
  • 1,607
1 vote
Accepted

What's the best authentication/authorization system for DApp using ReactJS and Metamask

You can use web3 Auth API from Moralis to verify the users wallet address at backend. This helps to secure the backend while using any wallets or wallet connectors to connect on frontend. Auth API ...
JohnVersus's user avatar
1 vote

I sent tokens to the wrong Ethereum token address from my Trust Wallet?

If you send tokens to someone, then want them back, you can only request that person to send you back. Otherwise, an efficient way does not exist (you could bribe validators to reorg the tx out, but ...
Soham Zemse's user avatar
  • 2,061
1 vote

How to create a wallet with web3.js

A wallet is not a smart contract. It is a custodial wallet . When you create a wallet through web.js it gives you the private/public key pair of the wallet which you can use in your metamask also . ...
Jaskaran Singh's user avatar
1 vote

Get ETH and Token Balances of Wallet address

Disclosure - I work with QuickNode. You can use the QuickNode Token API to get a wallet address's tokens. qn_getWalletTokenBalance - Using this RPC method on a QuickNode Ethereum endpoint, you can ...
Sahil - QuickNode's user avatar
1 vote

Is it possible to create a Multisig wallet with only 1 owner confirmation?

Yes, you can create a multisig wallet with one owner's confirmation. In your case, you can add two people and set the threshold to one. So now either of you can initiate a transaction.
Jaskaran Singh's user avatar

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