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.

In Ethereum, the state is made up of objects called "accounts", with each account having a 20-byte address and state transitions being direct transfers of value and information between accounts. An Ethereum account contains four fields:

  • The nonce, a counter used to make sure each transaction can only be processed once
  • The account's current ether balance
  • The account's contract code, if present
  • The account's storage (empty by default)

In general, there are two types of accounts: externally owned accounts, controlled by private keys, and contract accounts, controlled by their contract code. An externally owned account has no code, and one can send messages from an externally owned account by creating and signing a transaction; in a contract account, every time the contract account receives a message its code activates, allowing it to read and write to internal storage and send other messages or create contracts in turn.

547 questions
2
votes
1 answer

How to get ETHER off the chain and into account?

I did a test and sent ETH (6) to my ETH account, but they dont show up in the account balance, however ETH and ETC both show on the etherscan.io how do I get them in the account and I never set up a wallet because it says I need to have a balance…
b glen
  • 223
  • 2
  • 9
2
votes
2 answers

Curious questions for mastering accounts

I am curious that some companies give each customer an eth address for making payment and how to redirect the payment to one master account? Save the private key of each customer? Any example? I think the gas will be charged two times?
Louis
  • 1,155
  • 5
  • 17
  • 29
2
votes
1 answer

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 there's no way to modify EOA's storage. Is my…
Yan
  • 145
  • 4
2
votes
1 answer

Retrieve Account Name Using Web3

After creating an account (i.e. lets say using Mist) we can update the account name from the Mist interface by editing it. Is there a way that we can fetch that account name by providing the account address Web3 API. Hoping this is different to ENS.
Susmit
  • 1,804
  • 2
  • 14
  • 29
1
vote
1 answer

I lost my keyfile. Is it possible to access my account again?

I lost my account's keyfile. Is it somehow possible to access it again?
gabs1gabs2
  • 13
  • 2
1
vote
2 answers

Ethereum Account and Address Term Used Interchangeably?

Are the terms Account and Address in Ethereum used interchangeably? i.e., an Account is an address. An address points to an account
Nathan Aw
  • 1,954
  • 12
  • 27
1
vote
1 answer

How an Ethereum account hold nounce, eth balance, contract code and storage?

I am looking go-ethereum code and it is a bit hard to understand, how actually an account holds its information. Based on Ethereum White Paper, An Ethereum account contains four fields: The nonce The account's current ether balance The account's…
Donam Kim
  • 13
  • 4
1
vote
1 answer

How to differentiate payment transaction from contract transaction?

There are three types of transactions: Ether transfer from one EOA to another Contract creation Contract call 2 can be easily identified since it's "to" field is empty. How to differentiate 1 & 3? This post separates 2 from 3.
sinoTrinity
  • 377
  • 2
  • 8
1
vote
1 answer

Etherum addresses confusion, How does it acutally works?

There are so many wallet websites ..wallet apps and then there is metamask ..my question is when ever we create a wallet account all these are ethereum addresses/accounts are created on the live Ethereum blockchain? Also if a account is created on…
Praveen Kumar
  • 139
  • 2
  • 9
1
vote
1 answer

How can we make a contract account?

I'm aware how we can make an externally owned account: e.g. in geth use: "geth new accounts" in MyEthereumWallet, we put a password and it generates address and private key. Wha about a contract account? In geth when I deploy my contract it returns…
Aydin
  • 2,117
  • 6
  • 25
  • 41
1
vote
0 answers

Definition of "registrar" and "author" accounts?

What do these accounts refer to in ethereum? Particularly when setting up a private blockchain?
stone.212
  • 1,994
  • 1
  • 19
  • 38
1
vote
2 answers

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 accounts again (i have the adresses). Please make my…
Sven
  • 11
  • 1
0
votes
1 answer

Who owns the ETH in the zero account?

Per https://etherscan.io/address/0x0000000000000000000000000000000000000000 the zero account currently contains ETH worth about $3.3 million USD. I understand how the zero account is used in the EVM. My question is who owns that Ether?
user43796
  • 1
  • 1
0
votes
2 answers

ethreum sent to my wrong adress im worried it wont be recovered

hi all I'm new to trading I'm hoping someone can help me out here I purchased a good bit of ethreum on the coinbase platform I made a ether wallet I had all the accounts and my security accounts saved I accidently transferred my ethreum from…
tim
  • 1
0
votes
1 answer

Move ERC20 tokens from Mac to myetherwallet.com

I have the Ethereum Wallet for Mac on my laptop with some ERC20 tokens that I want to send. However I don't have sufficient disk space to synch the nodes to do any transactions it seems. Can I move them in another way ? Eg. backup my private key and…
Patser
  • 11
  • 1
1
2