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
108
votes
2answers
71k views

How are ethereum addresses generated?

What criteria does a valid ethereum address need to fulfil? Is it just a random number in hexadecimal? Or does it need to be derived in a specific way, according to some cryptographic algorithm? What ...
49
votes
4answers
13k views

Why don't Ethereum addresses have checksums?

A checksum, similar to its use in Bitcoin addresses, can primarily prevent mistyped or invalid addresses from being used, before a transaction with an invalid address is constructed. Why don't ...
48
votes
2answers
45k views

How do I backup my ether accounts?

I want to backup my accounts onto a USB or other external device for safe-keeping. How can I do that?
44
votes
3answers
69k views

How to backup mist wallets?

I know I can backup the keystore files from my running ethereum client which holds my accounts. But how can I backup wallets created with mist? Is it enough to write down the public address where the ...
36
votes
3answers
22k views

How can I create a multisignature address on Ethereum?

I want to store my ether in a form that requires more than one digital signature in order to authorise spends. How do I do on that on Ethereum?
34
votes
1answer
14k views

What's the difference between Accounts and Wallets in Mist?

In Mist, there are some addresses listed as accounts, and some listed as wallets. What's the difference? Which should I use? And why do I need Ether to create a Wallet?
33
votes
3answers
15k views

Get public key of any ethereum account

Can I somehow get the public key of an ethereum account knowing just the corresponding ethereum address (e.g. 0x54dbb737eac5007103e729e9ab7ce64a6850a310)?
30
votes
2answers
4k views

Do contracts also have a nonce?

Do contracts also have a nonce and if so how is it calculated? Usual accounts have a nonce that is increased with every transaction. However, contracts can't make transactions, they can only make ...
29
votes
3answers
5k views

What is a replay attack?

During the launch of the frontier network, users were cautioned not to reuse keys from the Olympic testnet in order to prevent "replay attacks". What is a replay attack, and why would re-using a key ...
27
votes
2answers
18k views

What is nonce in Ethereum? How does it prevent double spending?

recently I got fascinated by blockchain, and started learning Ethereum. I came across the concept of the nonce in Ethereum. After researching I found out that nonce is used for two purposes. a. To ...
27
votes
3answers
3k views

Concurrency patterns for account nonce

The account nonce is the only element in the transaction structure that prevents replay attack (as explained in this very good answer). It essentially forces sequentialisation of an account's ...
26
votes
1answer
4k views

What is coinbase?

What is the ethereum coinbase? I understand it is an account, but what makes it different? Is it the same as Etherbase? I've read it's the "default account for your console session." Does that mean, ...
24
votes
2answers
18k views

How to explore all transactions for a given account?

After beeing able to check account balances, I am looking for a method to list all transactions for a given Ethereum account through json-rpc protocol. I haven't found any method suitable for that on ...
18
votes
4answers
11k views

Does Web3.js have the functionality to create new accounts and unlock an account for a period of time for a series of transactions?

I want to create new accounts through my Dapp web interface and unlock a specific account so that transactions can be processed. I didn't see it in the web3.js documentation so wonder if that's on the ...
18
votes
3answers
4k views

Account uniqueness guaranteed?

When we create an account in the Ethereum main network, how does the protocol guarantee the unique address of an account? Since even if we are not connected to the network we can create an account, is ...
18
votes
3answers
17k views

How to list transactions from account address?

I have a small service where people can exchange cryptocurrencies. Every user has its own Bitcoin, Litecoin, etc address for balance deposit. Now I want to add Ethereum. So I thought I will create ...
17
votes
3answers
25k views

Unlocking accounts and making transactions in web3.js

This question is related to this one and this one. It also has a partial answer here and here. In the third link the account is being unlocked for a period of time using web3.js: web3.personal....
17
votes
2answers
10k views

How do I remove accounts using the Geth console?

I have several accounts I've created in the Geth console using: personal.newAccount() I no longer use (nor have any intention of using) the first couple of accounts I created, meaning whenever I ...
17
votes
1answer
4k views

Can I use the same private key for Ethereum and Bitcoin?

Both Bitcoin and Ethereum private keys are usually a 256-bit number, isn't it possible to use the same private key for both Bitcoin wallets and Ethereum accounts? For instance, the Bitcoin wiki ...
16
votes
3answers
3k views

How does a contract find out if another address is a contract?

Is it possible, from within a contract written in Solidity, to check if a contract is placed on a specific address or if this address does not contain any code?
16
votes
4answers
8k views

Error “no key for given address or file” when unlocking coinbase account

Using json-rpc eth_unlockAccount() method I can unlock everyone of my node accounts except coinbase. When trying to unlock coinbase account, geth responds with the message: no key for given address ...
16
votes
1answer
13k views

Getting private keys of geth accounts

Just the opposite of this question How to import a plain private key into geth or Mist? I would like to know how can I obtain the private keys of the accounts created with geth in this way: $ geth --...
15
votes
3answers
5k views

How does the Ethereum ETH accounting system work and prevent double-spends?

In Bitcoin, the BTC accounting system is based on UTXOs (Unspent Transaction Outputs), which prevents the same BTC from being spent multiple times. I heard that Ethereum has a simpler account balance ...
15
votes
1answer
3k views

How Can I Add My Name Next To Address On Etherscan?

I'm wanting to set up a charity and want to use a public wallet for accepting donations with on Etherscan where I can have a displayed name next to the wallet like this: How Can I Add My Name Next To ...
15
votes
2answers
2k views

Accounts can't display incoming transactions

In Ethereum-Mist_wallet, Under accounts, I see: Accounts can't display incoming transactions, but hold and send ether. To see incoming transactions create a wallet contract to store ether. What ...
14
votes
4answers
1k views

How to increase my privacy on Ether accounts?

What would be the best way, if any, that one could change their address/account in order to make themselves unknown or hard to identify by people they traded with? More specifically, if I send ETH to ...
14
votes
4answers
4k views

How do I transfer balance to another address? w/o syncing with network

I have a single ethereum address that has ether in it from 2015 when I was playing around with Geth and the CLI. I have removed the blockchain and associated homebrew files from my computer. How can I ...
14
votes
1answer
661 views

Why were empty accounts allowed to be on the blockchain?

It's hard to see what the benefits of allowing empty accounts to be on the blockchain are. This was a known subtlety (see "note: there is a difference between zero-balance and nonexistent") and ...
13
votes
3answers
18k views

How can I get my accounts into metamask or vice versa?

I need my accounts in Metamask to match my local machine so I can deploy from the machine (using truffle), and test in a browser. How can I either: Upload my local geth accounts to Metamask Bring ...
13
votes
5answers
4k views

How to spend ether from multiple accounts?

I would like to know how to send ether from multiple accounts. For example, suppose I have 3 accounts with 5 ether in each account, how do I send the total (15 ether) to an account in a single ...
12
votes
2answers
1k views

If someone gets my geth keystore files, can they spend my ETH without knowing my password(s)?

I always assumed so, since geth requires a new password for every account, but just want to be sure.
12
votes
2answers
3k views

isContract function using EVM assembly to get the address' code size

My problem is that I need to make sure my contract processes only the transactions coming from EOA (externally owned accounts). For this I need to determine the type of account I'm dealing with. In ...
12
votes
2answers
6k views

What is an 'EOA' account?

Cointelegraph has recently written about 'EOA' in relation with contracts and accounts. As an EOA, the state simply stores the account's balance in ether and a sequence number is used to prevent ...
12
votes
2answers
5k views

How to validate a private key?

I could not find any library that, given an hex value, returns true if the given string is a valid ether private key. Any hints?
12
votes
1answer
12k views

How to change the password to an account?

The private key of an owned Ethereum account is encrypted with a password and kept in a so-called key file. How can I change this password?
12
votes
1answer
5k views

How are the account “pictures” used in Mist generated?

In mist, all accounts have a colourful pixelated "profile picture" used to identify them. For instance, in this screenshot from the Mist releases page, the Dogecoin Bounty DAO is given a purple ...
12
votes
3answers
53k views

How to create an Ethereum address?

I know basically zero about Ethereum, block chain etc. I have Augur reps. I have been asked to create an Ethereum address for the sale augur site. I don't have the slightest idea how to generate an ...
12
votes
4answers
7k views

What Hierarchical Deterministic (HD) wallets are available for Ethereum?

A Hierarchical Deterministic (HD) wallet has some nice features such as easier backup (instead of needing to backup multiple keystore files and the passwords for each of them). Are there any ...
11
votes
2answers
8k views

Should I always put 0x at the start of Ethereum addresses?

Should I always put 0x at the start of Ethereum addresses? Sending ether to addresses without 0x seem to work perfectly fine. when sending to an address, do you include the "0x" before the rest of ...
11
votes
1answer
6k views

Is an Account in MetaMask the same as an Ethereum Account (EOA)?

First, my setup: I use the Azure Ethereum Consortium Template, which creates one transaction node and two mining nodes in my configuration. I use MetaMask Chrome plugin to accept transactions, which I ...
11
votes
2answers
3k views

Why are smart contract outputs different from ordinary transactions?

A Coinbase exchange engineer said: "Depositing from smart contracts is hard. Smart contract outputs are not like normal ETH transactions and it is non-trivial for us to get notified when we ...
11
votes
1answer
780 views

Parity account addresses all having prefix 0x00

After creating multiple new accounts with the Parity wallet (v1.6.6), I notice they all have the address prefix 0x00 (the 0x part being the obvious hexadecimal prefix), for example ...
10
votes
3answers
6k views

How to transfer the whole balance of an account?

If I have an account with 5 ETH, can I send the full account balance of 5ETH to another account and have exactly 5ETH received on the second account ? I understood that it will fail because I have no ...
10
votes
2answers
5k views

Are there other Vanity Address generators available?

Are there any Ethereum vanity address generators available other than: Vanityreum (python) Vanieth (go) Which is the fastest? Can they be optimized further? What is the use-case of vanity ...
9
votes
3answers
794 views

How interact with Ethereum without (gas) ether?

Ethereum is not a currency but use ether (gas) to pay the fees, therefore someone will need an Ether account to pay and build the application. But how can someone get an account for each activity ...
9
votes
6answers
8k views

How to export transactions into a CSV file

Is there a simple way to export all transactions related to a specific account/smartcontract to a CSV or some other plain text format?
9
votes
2answers
12k views

Which Ethereum accounts have the most Ether?

Where can someone get a list of all the ethereum accounts and sort it by the # of ether they have?
9
votes
3answers
6k views

How can all transactions sent to an address be found?

Currently it is possible to see only the last 100 transactions from sites like etherchain (link to TheDAO contract transactions), how can all transactions sent to an address be seen?
9
votes
2answers
2k views

Is it possible to send transactions to multiple recipients?

In other blockchain based platforms, it's possible to send transactions to multiple recipients. For instance, if I want to send 13 ETH to Alice and 7 ETH to Bob, Bitcoin has sendmany. Is it possible ...
9
votes
1answer
264 views

How was the state-bloat attack that led to the EIP 150 hardfork performed?

I understand that SELFDESTRUCT and mispricing of opcodes allowed many empty accounts to be created cheaply as explained in Why were empty accounts allowed to be on the blockchain? The answer to that ...