Questions tagged [accounts]
Ethereum has two types of accounts: externally owned user accounts, controlled by private keys, and contract accounts, controlled by their contract code.
550 questions
0 votes
0 answers
24 views
How to enable multiple accounts in Geth --dev mode?
I configured Geth with --dev mode, connected with Remix, etc. and it --dev mode the account came with ready ETH which is necessary for my tests. However, I only have one single account created ...
0 votes
1 answer
67 views
How are balances updated on Ethereum
Is there a program that upates the balance on an account and how is this information recorded on the state database?
1 vote
1 answer
39 views
Which file in go-ethereum contains Account type?
There is this part of Ethereum whitepaper which describes accounts: An Ethereum account contains four fields: - The nonce, a counter used to make sure each transaction can only be processed once - The ...
3 votes
0 answers
128 views
Cannot send transaction to smart contract, 'unknown account' even with account added to wallet
I am trying to send a transaction that updates the state of a smart contract. I have locally deployed a ethereum network using Geth and three VM. Here is my JS code: import { Web3 } from 'web3'; ...
2 votes
3 answers
2k views
How to use anvil accounts in the Foundry Test
How can i use anvil accounts into the foundry tests? Like in hardhat node i can getNamedAccounts() but how can I use the anvil accounts into my forge Tests?
0 votes
2 answers
97 views
Can a user send a userOperation transaction without using theirs or any EOA?
How can a user send a userOperation without having to use an EOA? Don't get how the EOA is abstracted, unless there is an Executor account signing those userOperations
0 votes
1 answer
137 views
How to get total assets value in dollars of a wallet via web3?
I want to check the total assets value in dollars of a wallet. For example, I just want to check how much asset (Ethers, erc20 tokens) does a wallet hold in form of dollars? e.g: 2000$ worth of assets ...
0 votes
0 answers
893 views
window.ethereum.request({method: "eth_requestAccounts"}) automatically picks the connected account when making a transaction
I have multiple accounts on my Metamask wallet(Most of them are connected to the site). But my selected account is not connected to the Dapp. So, when I try to send a transaction it uses one of the ...