Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
50 views

Why is my account frozen? [duplicate]

My accounts in Ether universe are frozen. I'm trying to find out why. Trust wallet is asking me to pay a third party unusual funds fee.
Sean's user avatar
  • 11
0 votes
0 answers
22 views

Geth Private Network - Account management

I'm building a private blockchain using Geth. I created 2 accounts with command geth --datadir miner-node account new and geth --datadir rpc-node account new, then I added their address to genesis....
revSurfer's user avatar
0 votes
1 answer
13 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?
Jimii's user avatar
  • 111
1 vote
1 answer
18 views

How to query balance and lock duration of staked tokens across multiple protocols

I would like to query the stake/LP balances across multiple defi protocols for a given account address. debank.com does something similar and can show the LP balance for a DEX, the stake balance and ...
degen872's user avatar
0 votes
1 answer
20 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 ...
bridgemnc's user avatar
  • 131
0 votes
0 answers
18 views

How do I find my Ethereum Contract Number

Sorry to everybody, as this probably sounds like a silly question, I'm new to all of this and I'm struggling to find my contract number. I've sent a lot of USDC to my ETH wallet, which never arrived ...
crypoSE's user avatar
3 votes
0 answers
76 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'; ...
robeng's user avatar
  • 41
1 vote
2 answers
85 views

What are touched accounts?

I've seen this term used a lot in EIPs and client implementations. But I've never seen it defined properly. What does it mean, precisely, for an account to be "touched"? For example, here's ...
Paul Razvan Berg's user avatar
2 votes
3 answers
466 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?
Saad Suri's user avatar
  • 109
2 votes
1 answer
49 views

Why not eliminate EOA's codeHash and storageRoot?

Each account (no matter EOA or contract) has 4 fields: balance, nonce, codeHash, storageRoot. However, codeHash and storageRoot are meaningful only in contract accounts. There is no code in EOA, and ...
Yan's user avatar
  • 145
0 votes
2 answers
53 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
Ramiro's user avatar
  • 1
0 votes
0 answers
18 views

I got Session proposal trying to log in to Opensea: Events: chainChanged, accountsChanged

Would really appreciate your help. Is that a scam? I cannot log in without resolving the wallet Session proposal. So far i have denied request several times. What happens is i Approve? NetworkEthereum ...
Homm3's user avatar
  • 1
2 votes
1 answer
427 views

Deriving an address from a private key programmatically

I'm stuck between a rock and a hard place right now. I'm developing an app with react native, and users need to be able to import their wallets via their private keys (and hopefully mnemonic phrases) ...
Morgandril's user avatar
0 votes
0 answers
140 views

HD Wallet Generate independent Phrase Mnemonic

I want to generate a independent Mnemonic Phrase, but with the code generate the same Mnemonic Phrase: import threading from hdwallet import BIP44HDWallet from hdwallet.cryptocurrencies import ...
Dan Gonzalez's user avatar
0 votes
1 answer
55 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 ...
Fariha Abbasi's user avatar
1 vote
0 answers
39 views

State Size of Ethereum - why is it so hard to get this number

I am looking for the current state size of Ethereum. Not the size of the data a client downloads when syncing. Just the current state size. It's super hard to get those numbers. Can I somehow run Geth ...
Domi5432's user avatar
0 votes
0 answers
515 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 ...
Ishmam Tasin's user avatar
2 votes
2 answers
4k views

I need a whole new MetaMask account, with a whole new seed phrase

No one can seem answer this for me. My old business has my seed phrase. this never bothered me b/c there was never more than a $100 in there. Now it does. How to set up a new account? Not a new wallet,...
Chris's user avatar
  • 123
2 votes
0 answers
81 views

How would you setup a block listener in rust using web3?

I was wondering if it would be possible to have a function that listens to new blocks and checks for a balance update for an account. I believe you need to use the filter builder but not sure how to ...
Jean Claude Dusse's user avatar
0 votes
1 answer
149 views

Do Smart Contract wallets using ERC4337 allow wallet export?

From what we see in the ERC4337 documentation, SCW allow different architecture for transaction approvals. Unline EOA where we use ECDSA for signing transaction, with ERC4337, wallet developers will ...
Dakata's user avatar
  • 225
8 votes
4 answers
1k views

EIP-4337 account abstraction and losing private keys

The big problem we all know in ethereum is, losing private key for your EOA is dangerous. If somebody steals it, you're done, all your assets are gone. It's said EIP-4337 solves it by separation of ...
Giorgi Lagidze's user avatar
2 votes
1 answer
785 views

Who pays the computation fee in account abstraction ERC-4337? in what currency?

I hear that by imposing account abstraction specified in ERC-4337 EOA is not the only one that can instantiate a transaction. What I'm confused about is the actual entity that pays the gas fee and the ...
Yongjun Kim's user avatar
0 votes
1 answer
391 views

Where can I find an example of a sponsored transaction (ERC-4337)?

I know this is the standard repo but I am not finding an actual example on how I can send a transaction from an account, paying for gas fees in an ERC20 token (paymaster providing ETH once tokens are ...
Falcon Stakepool's user avatar
0 votes
1 answer
28 views

What is the relationship between wallet/accounts and Client Nodes?

For client nodes such as Parity or Beth, does every wallet or account have to be associated to a client node? My understanding is that the client node is the interaction to the exchange.
HoboJeff's user avatar
0 votes
1 answer
116 views

Nethereum: What is the relationship between Wallets and Accounts?

I am using Nethereum for .net. I am reading this: https://docs.nethereum.com/en/latest/accounts/ I am also reading this: https://docs.nethereum.com/en/latest/Nethereum.Workbooks/docs/nethereum-...
HoboJeff's user avatar
0 votes
2 answers
730 views

Hardhat Tasks - How to import an account with a private key as signer

I am writing a Hardhat task. Hardhat ethers provides ethers.getSigners()which returns me the addresses derived from the mnemonics saved in process.env. However, I want to use an account address, of ...
user66732's user avatar
  • 455
0 votes
1 answer
64 views

How to create a wallet for ETH?

I'm a bit confused on the process now of creating wallets in the Ethereum ecosystem. At this time I'm creating an application that allows users to create their own wallets but I'm very confused on the ...
CoderMan's user avatar
0 votes
2 answers
206 views

Can't load ethereum object from metamask-react in TypeScript

I am trying to add this code to handle the change of accounts in Metamask... ethereum .request({ method: 'eth_accounts' }) .then(handleAccountsChanged) .catch((err: any) => { // Some ...
Falcon Stakepool's user avatar
3 votes
2 answers
944 views

Can one wallet address have multiple private keys?

On the forum there were some threads about people creating multiple public keys from one private key. I am wondering if the reverse is possible as well. Can 2 private keys create 1 public key. I am ...
IsmailK's user avatar
  • 31
0 votes
1 answer
5k views

disconnect account with ethers.js

I created a connect button in my dapp wich calls 'eth_requestAccounts' to connect an account to my dapp like this: await window.ethereum.request({ method: 'eth_requestAccounts' }); or like this: ...
Xunorus's user avatar
4 votes
4 answers
909 views

Account Abstraction still requires EOA signatures?

I was under the impression that with account abstraction, I would be able to directly initiate smart contract calls without an EOA. However, after reading through zkSync's Account Abstraction example, ...
Eric's user avatar
  • 43
3 votes
1 answer
2k views

How to generate thousands of wallets out of a mnemonic phrase?

I have this code which generates a single wallet: const ethers = require('ethers') const wallet = ethers.Wallet.createRandom()console.log('address:', wallet.address) console.log('mnemonic:', wallet....
Kum's user avatar
  • 75
0 votes
0 answers
100 views

why cant smart contract receive ether like externally owned account without a receive/fallback function?

why do smart contracts requires a receive function to accept ether? what prevents the smart contract from receiving ether like an externally owned account(EOA) directly without any functions? What was ...
Bobby Sebastian's user avatar
0 votes
4 answers
768 views

remix could not detect the metamask's account

I find that unlike the other tutorial, there is no injected web3 option, but injected provider - metamask. And when I click it, the metamask shows that it is connected, however, the remix could not ...
user77340's user avatar
  • 103
1 vote
2 answers
27 views

My additional accounts are gone

Now my metamask crashed and I had to reinstall. Only my original account is showing, not the additional 9 account which were created on the original account. Is there any way to link these other ...
Sven's user avatar
  • 11
2 votes
2 answers
1k views

Is there a way to find out the first transaction sent TO an account?

Is there a way to find out the first transaction sent TO an account? Hey everyone, I know that given an address, I can check if a given transaction is the first tx.from by checking its nonce. Nonce == ...
trademarc's user avatar
1 vote
0 answers
70 views

sign message with account imported from private key

I try so sign my message but i have this error: Error: Provided address [object Object] is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted. ...
FedeC87p's user avatar
2 votes
1 answer
93 views

How to effectively gather ETH across multiple accounts?

I have a online payments service which allows clients to pay with ETH. For each client paying, I generate a new ETH deposit address. When the funds arrive, I can then mark the clients invoice as paid, ...
rockstardev's user avatar
2 votes
0 answers
68 views

I don't understand this part of the Ethereum Documentation (storageRoot)

This is from the account part of the Ethereum Docs, 4 fields of an account were described of which i am unable to understand this one. (storageRoot)
ameymeow's user avatar
  • 115
0 votes
1 answer
78 views

What is 'value blindness' in the ethereum whitepaper?

Vitalik wrote the following in the Ethereum white paper. Value-blindness - there is no way for a UTXO script to provide fine-grained control over the amount that can be withdrawn. For example, one ...
Slowblogger's user avatar
0 votes
1 answer
73 views

How accounts are protected from sending money from it to smart contract

I wondering how accounts are protected from sending money from it to smart contract example code: smart contract pragma solidity >=0.4.22 <0.9.0; contract TransferService { mapping(address =...
Damian Zborowski's user avatar
0 votes
1 answer
246 views

Can't connect metamask to React app in production

I have a React app that can connect to my browser's Metamask in my development environment, but the version deployed on Netlify can't connect to Metamask. My code for getting my web3 provider is ...
LRitter's user avatar
0 votes
2 answers
87 views

Deleting values from a struct

how do i go about removing values from inside a struct and or a mapping. For example iam creating a smart contract that acts kind of like a vault, iam not yet finished but i have a create an account ...
DigitalCannon's user avatar
0 votes
1 answer
45 views

Are wallet addresses in the crypto exchange website actual ethereum accounts?

a newbie here, I am trying to understand how ethereum based CEX's work. Users create accounts/wallet addresses (not email-linked user accounts) on the exchange. Are those addresses actual ethereum ...
carrotcoach's user avatar
0 votes
1 answer
90 views

Distinguish between function calls from externally owned accounts, and from another smart contracts

I wanted to know how to distinguish between a function call from an externally owned user account and a function call from another smart contract in solidity. Can anyone help me with this?
MikhilMC's user avatar
  • 133
1 vote
1 answer
631 views

Telling contracts from EOAs using ethers.js

I'm trying to figure out whether a given address is: a contract an EOA unknown I know that only contracts can have code. Therefore, provider.getCode(address) returning anything but 0x tells me ...
UTF-8's user avatar
  • 518
0 votes
1 answer
477 views

Why is the method in receive() external payable{this.withdraw Funds();} not called in Solidity?

I wrote a smart contract that, when receiving money to my address, should automatically transfer 50% to the 1st wallet address, 25% to the second, 25% to the third. For some reason it doesn't do it ...
Alexei's user avatar
  • 129
0 votes
0 answers
45 views

How to make it so that when money comes to the Metamask wallet, they are automatically redirected to this smart contract? [duplicate]

I wrote a smart contract on Solidity, which, when receiving money to its address, redirects 50% to the first wallet, 25% to the second wallet. How to make it so that when money comes to the Metamask ...
Alexei's user avatar
  • 129
1 vote
1 answer
687 views

How to transfer ethers from a contract to another SPECIFIC address?

I want to write a smart contract that, when receiving money, transfers 50% to a specific address of the first wallet (0x583031D1113aD414F02576BD6afaBfb302140225) and transfers 25% to a specific ...
Alexei's user avatar
  • 129
0 votes
2 answers
117 views

Integrating metamask with customer profile

We are heading for "traditional" consumer markets for which Blockchain is mostly unknown. Therefore we are seeking for possibilities to keep the blockchain as "far"/unvisible for ...
Aam. H's user avatar
  • 1

1
2 3 4 5
11