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
0answers
54 views

Why does address.transfer(amount) cost the same when sent to a new or used address?

In the Ethereum yellow-paper, it's specified that creating a new account costs 25000 gas (Appendix G, entry for Gnewaccount). We can see this if, for example, we call a function that makes a transfer:...
1
vote
0answers
314 views

Paying for gas on behalf of users?

I'm exploring ways to enable contracts/dApp owners to pay for gas on behalf of users. I know contact abstraction should enable this eventually, and the first step has been done with EIP208 which ...
3
votes
1answer
335 views

My address is no longer listed in cpp-ethereum's eth. How do I access my wallet/account?

Context I'm using Ubuntu 14.04 LTS. I cloned the cpp-ethereum repo and built everything using the makefiles. Now (in the same path) I have a bunch of executable binaries in folders such as eth, ...
0
votes
1answer
414 views

How does Ethereum account state change? [duplicate]

Ethereum uses Accounts instead of UTXO (Bitcoin). I would like to know how does the ledger keep the account state (technical details if possible)? Does it modify the ledger (accounts) by incrementing ...
3
votes
2answers
447 views

Account created using web3 is not showing in geth console

I have created a new address using web3.eth.accounts.create() and it responds with { address: '0x9AA2767207d0aC9cCdD2e3B244210f630588F3E3', privateKey: '...
18
votes
3answers
6k 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 ...
3
votes
2answers
2k views

How to remove wallets from mist?

I'm running Mist Wallet 0.5.2 on OSX. In both the Wallets and the Contracts views, there is no trash icon to delete the respective Wallet or Contract. Same goes for the particular Account or Contract ...
2
votes
2answers
189 views

Why public keys are not used directly as account addresses? [duplicate]

I understand that addresses are hashes of the public keys. But why? What is the rationale behind this design decision? And why 160 bits? Why not just use the hash directly? Is 160-bit guaranteed ...
1
vote
0answers
139 views

How can I import the Accounts from ganache-cli into Nethereum?

Is there a way to automatically load the Accounts created by ganache-li into a project which uses Nethereum?
1
vote
0answers
27 views

Should I wait for sync to be 'finished' in 'syncmode=light' before I could check account balance OR transact using the account? [duplicate]

NOTE: I'm aware of another question, but, it's related to 'fast' syncmode, and mine is of 'light' syncmode. I'm running light node client for rinkeby using command: geth --rinkeby --rpc --rpcapi ...
0
votes
1answer
297 views

Account vs ManagedAccount in Nethereum

Account to this text, they are different: https://nethereum.readthedocs.io/en/latest/accounts/ But it never mentioned what are the differences. Anyone know which one to choose from when implementing ...
1
vote
1answer
55 views

“public key” and “account” : are the same?

When I create a new account as follows : web3.eth.personal.newAccount('pass').then(console.log); -> pass is account password. Then, I receive an account as follows : ...
0
votes
1answer
824 views

Import account from one geth node to another geth node

I had a geth node where i created an account. Then i backed up the keystore folder just in case. I had to format the pc and install geth again. So i would like to know how can i import my old account ...
1
vote
1answer
335 views

How to unlock account from another node in same blockchain network?

I have deployed DAPP on two node private ethereum blockchain network. According to this question it is not possible to access all accounts across multiple nodes. My question is consider a scenario ...
0
votes
1answer
204 views

(Re)create account from a keystore (?) file

Noob. Sorry :-( I have a keystore file that I'm confident represents an account I'd like to retain/use. It's unclear how I can recreate (or reinstantiate) this account within a fresh Ethereum (node) ...
2
votes
0answers
72 views

Programmatically unlock certain accounts with Parity?

Using geth it is easy to send transactions from multiple accounts but I do not know how to do this with Parity. I do not want all accounts unlocked. I do not want any account unlocked when it is not ...
1
vote
1answer
78 views

Account management risks of booting into Tails OS from USB using a “partially air-gapped” Linux PC

My threat tolerance is around a 3 out of 5 on the paranoia scale. What are the practical account management risks of using a flash drive loaded with Tails OS to boot into a Linux PC, which will only ...
0
votes
1answer
364 views

Ethereum account code hash

I've created a contract https://ropsten.etherscan.io/address/0xfaba4475358c1c23e37549f9bd54300261873d41#code And using its createChild() method I've created 3 children https://ropsten.etherscan....
1
vote
1answer
95 views

How to add multiple accounts

I was trying to create an account via geth. My question is about using the non-interactive password input. With the following variables : GETH_ROOT_PATH="${HOME}/Chain_Test" GETH_DATA_DIR="${...
0
votes
1answer
21 views

Address creation in blockchain

Is moment of account creation stored in blockchain? Or only first income or outcome transaction time can estimate it?
11
votes
6answers
12k 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?
21
votes
3answers
5k 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 ...
1
vote
1answer
475 views

Sweep tokens from a one-time address without available ether

I'm generating a one-time address for each order in my store, and the order is payed with an ERC-20 token. Is there any way I could sweep the tokens from this address, without an additional ...
10
votes
2answers
3k 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 ...
0
votes
0answers
2k views

Getting “no key for given address or file” error when trying to unlock account in geth

I'm trying to unlock an ethereum user account using geth, but am getting an error message that doesn't make sense to me. Here's what I do: 1) I start the geth console connected to the ropsten ...
0
votes
1answer
162 views

Viewing account balance of an address

Is there a way to get the account balance of any given address (address which is not belongs to me) using geth or by using a script which reading leveldb? Similar to how etherscan (https://rinkeby....
0
votes
1answer
1k views

How to synchronise Ganache-CLI accounts with Ganache-UI?

When I launch ganache-cli for Port 7545, it will create 10 accounts by default. ganache-cli -p 7545 However, when I then open the Ganache-Desktop-App, it will show different accounts and the ...
0
votes
2answers
336 views

Account created with web3 does not get listed

I am learning ethereum and I have setup a private node with geth. And have a simple client written to create account (web3 1.0 beta34) and list. While the account creation is successful, but it does ...
1
vote
1answer
356 views

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: ...
1
vote
1answer
65 views

Detecting an existing account: coinbase or getAccounts?

When detecting web3 or even an existing node, one typically needs to detect an account - which also gives an indication if the account needs to be unlocked. Should the check for an account be a ...
1
vote
1answer
172 views

How is account managed in Ethereum blockchain?

What is the process for creating account? (I know I can geth account new, but what is the internal process actually being done?) Where does the entropy for randomness come from when creating an ...
4
votes
3answers
4k views

web3.personal.newAccount how to get address

If I do web3.personal.newAccount("passphrase") from my code then how can I get back the address that was created using my passphrase? Moreover can anyone tell me the difference of web3.personal....
1
vote
1answer
44 views

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 & ...
1
vote
1answer
42 views

Are the transactions between two accounts have to go through a contract?

Are all the transactions in ethereum have a relation to a contract (its to or from field is a contract). When two accounts want to transfer something between them, do they have to speak through a ...
17
votes
1answer
5k 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 ...
4
votes
1answer
2k views

List all ethereum accounts using geth [duplicate]

Etherscan displays all accounts in ethereum being used in the following section https://etherscan.io/accounts Question: How can I get a list of all active ethereum accounts using geth? Possible ...
0
votes
1answer
285 views

Can Contract Accounts send Messages to EOAs?

I often hear the following statement: Contract Accounts cannot send Messages to EOAs. They can only: 1. send Messages to other Contract Accounts 2. send Ether to EOAs ... see, e.g., here: Are ...
1
vote
0answers
72 views

how to check if account is unlocked via JSON RPC

How would one validate if ethereum account is locked/unlocked via JSON RPC ?
2
votes
1answer
738 views

Is it possible to get the transaction count for a contract in Solidity?

Is there built-in functionality for getting the transaction count (nonce) for an account in Solidity?
0
votes
1answer
180 views

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 ...
1
vote
1answer
395 views

how to generate multiple accounts that all debit one single account at the end

I know that it is not possible to create multiple addresses that are bound to one ethereum wallet unlike in bitcoin. However, I am trying to create an ico page where each user should get unique ...
0
votes
1answer
294 views

Main wallet of an account? [duplicate]

In Solidity there is msg.sender whose value may be used to send Ether to the sender of the msg. How the wallet to send money is chosen when the sender has several Wallets? Is there concept of ...
33
votes
2answers
5k 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 ...
0
votes
1answer
675 views

What is the method to unlock account (not personal)?

Background There are 2 different ways in order to create accounts with web3. 1. web3.eth.personal.newAccount(password, [callback]) 2. web3.eth.accounts.create([entropy]); SEcond options returns ...
6
votes
3answers
956 views

What is the difference between “eth.accounts” and “web3.eth.accounts”?

The instructions for creating a new account on the Geth console state: Tip: If you are using Geth then you can just use eth instead of web3.eth command. Meaning accounts can be referenced by ...
1
vote
1answer
937 views

Unlock Account with Web3js Version 1.0?

In geth I can unlock my account via: personal.unlockAccount(address, password, seconds) in the web3js v1.0 I cannot find a similar function in the documentation. How can I unlock my account with ...
4
votes
2answers
1k views

How to list accounts / addresses?

I'm working on some code right now that scans the blockchain block by block. During that process I catalog new addresses as I encounter them in the TX list with each block. Is there any other way to ...
4
votes
1answer
429 views

(key,value) pair in account storage and corresponding modified Merkle patricia tree

In the yellow paper(section 4.1, storageRoot) at it is mentioned storageRoot: A 256-bit hash of the root node of a Merkle Patricia tree that encodes the storage contents of the account (a mapping ...
2
votes
0answers
1k views

Ethereum Dapp Account Login Protocol with Metamask

I'm building an Ethereum dapp for users to use with Metamask. We're going to have an account management system and I was trying to follow this post on how to achieve a "password-less" account system ...
2
votes
4answers
426 views

How to find out the ethereum addresses of services like Digix, Augur, etc.?

Is there any way to easily find the Ethereum addresses of Digix, Augur and similar Ethereum based enities? Or do I have to manually contact them?

1
3 4
5
6 7
10