Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
23 views

Accounts created by using web3.eth.accounts.create() don't appear when web3.eth.getAccounts(console.log)

I am new to Ethereum. I am running a geth devnode. Installed web3. Used web3.eth.accounts.create function to create one account without any entropy and created another account by using the same ...
-1
votes
2answers
31 views

What is deference between wallet address and account address?

I'm new in Ether world. I want to make mini Crypto exchange site with 2 coin ETH and BTC. What is deference between wallet address(maybe It's called Main Ether address) and account address ? or it's ...
0
votes
1answer
17 views

Original genesis.json file for ethereum mainnet, which should have 314 accounts allocation?

314 accounts are created at the start of ethereum frontier release and some funds were alloted to them. https://www.etherchain.org/charts/totalAccounts where can I get the genesis.json file used to ...
1
vote
1answer
24 views

Ethereum wallet Vs Ethereum account?

I created an Ethereum node (geth) and this automatically created an Ethereum account. Is this account an Ethereum wallet? I then created 2 other accounts using personal.newAccount() command. Are these ...
1
vote
2answers
23 views

Smart contract function call from many accounts

Lets say that I have a smart contract C witch has a function setf(uint256). Also let's assume that there are many users(with different accounts) that want to call that function with argument 5 for ...
0
votes
1answer
30 views

Multi-signature Ecrow time based?

I have a user A and a user B. They do not trust each other. So, they run the following smart contract: User A specify a time locked deposit of x coins to user B under a predefined condition( For ...
0
votes
1answer
22 views

creating account on button click

The question is i want to create new account per user on the ethereum blockchain. I want to display a form where in the user will enter information and on clicking register, his account should be ...
2
votes
2answers
143 views

Difference between web3.eth.getCoinbase() and web3.eth.getAccounts()[0]

What is the difference between web3.eth.getCoinbase() and web3.eth.getAccounts()[0]. In both cases, I always get the value, which is the currently selected account in Metamask. Note: The question ...
0
votes
1answer
27 views

dApp exploit using multiple wallets

Im currently building a dApp where users will create content that then can be bet on by other users. The design opens up the problem of a user creating content,logging in with another wallet address, ...
2
votes
0answers
42 views

Why account creation using CALL or SUICIDE costs 25000 gas? [duplicate]

CALL and SUICIDE both have additional cost of 25000 gas if it leads to account creation. At the same time, sending 1 wei in separate transaction costs only 21000 gas. Thereby if I am about to create ...
0
votes
1answer
80 views

Is there a way to set specific account when using truffle console rinkeby?

When I tested on ganache-cli at local, I could test on 'truffle console development' with some accounts which ganache-cli gave. But at rinkeby, I can't use function_name(argumets, {from: specific ...
1
vote
1answer
67 views

Transfer from multiple inputs

Is there a way to send ether from several input addresses in one transaction WITHOUT the use of smart contracts? I wish that different transactions could not be linked to each other. A similar ...
1
vote
1answer
26 views

Error while generating Mnemonic

I want to generate Mnemonic for creating an account, I was using the following code and I got the error as TypeError: Cannot read property 'entropyToMnemonic' of undefined I am sure I am missing ...
1
vote
2answers
66 views

Running 'parity account new' - is the generated account suitable for all networks (mainnet, ropsten, kovan, etc)?

From a command line, I run parity account new. I am then asked to enter a password (twice), and an account-address is printed. In addition to that, a JSON file is created. Finally, I use this ...
0
votes
2answers
50 views

Golang Equivalent to list accounts on node - web3.eth.Accounts()

Does anyone know if its possible to get a list of the accounts on a node using golang, after Dialing to the node, basic PoC would be assuming the accounts are already unlocked via the CLI Basically ...
0
votes
1answer
25 views

Accounts and Wallets

Testing the GethJS console commands. I put in practice the personal.listWallets and personal.listAccounts. The first return me this value: And the second command return me this: It seems that are ...
0
votes
1answer
19 views

Constructor set the account to the first trasaction address

I,m trying to block the call to the getOrigin function to accounts that are not equal to the account that is set in setOrigin function. Now the first account that call to setOrigin is the unique that ...
1
vote
1answer
152 views

Creating wallets with Web3j

I generate a code to create wallets for a private chain made with ethereum. String password = unlockAccountParameter.getPass(); ECKeyPair keyPair = Keys.createEcKeyPair(); WalletFile ...
0
votes
1answer
210 views

Create account with web3j

Im trying to create a account using the web3j library. But i can´t find the method that create accounts. My idea is to make this judgment but not in the Geth console, but yes in the Java application ...
1
vote
0answers
35 views

GETH accounts imported without my knowledge

I expose only port 30303, not 8545. But when I issue commands eth.accounts. I found these accounts were imported without my knowledge: "0xe4fe1fb7e693c529f5a95dd8b1714d1acfdbd058", "...
0
votes
1answer
76 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
0
votes
0answers
14 views

where does Etherscan gets account name from? [duplicate]

Where does Etherscan gets names of accounts from? Is it ENS? Token name ? Or do they collect input data from users? For example, this address bleongs to F2Pool : https://etherscan.io/address/...
1
vote
1answer
64 views

Getting Addresses using a Path causes the error: Could not derive hardened child key

I am using ethereumjs-wallet npm package to generate a unique wallet address for each user. However instead of using the mnemonic/seed, a public extended key xpub will be used instead to keep the ...
2
votes
2answers
35 views

Does a transaction always require a smart contract to be executed?

I had a discussion with someone explaining that every time a transaction occurs (e.g. ICO token or ETH) on Ethereum it would pass via a smart contract or would require one. I would like to know what ...
2
votes
2answers
59 views

Receive Ether to multiple addresses best practice

Say I am an exchange that has many users. When I ask a user to deposit ETH I give him a unique address so I can attribute the ETH to him. With Bitcoin this is easy. The bitcoin wallet software ...
1
vote
2answers
36 views

Is there any way to fund a new account privately via a randomising pool?

It isn't currently possible to create a new HD wallet account and privately fund it, is it? I'm aware of this thread, but I'm not asking about SNARKs. Instead, I'm curious if there's any way to send ...
0
votes
3answers
140 views

how do you check if the account exists in current state?

Currently there is no way to check somehow that an account exists in the trie. I am looking for something like this: > web3.eth.accountExist("0x743623152a53b53be5f3463746726373") true > Is a ...
3
votes
2answers
68 views

What actually happen when we unlock an account?

I know the purpose of personal.unlockAccount() function is to unlock account i.e. when I want to send ETH or tokens. After reading the documentation, I'm still not sure what is actually happening ...
0
votes
1answer
293 views

How to initiate a transaction with address and privateKey using web3js

I have a list of ethereum addresses and private keys, I need to write an automation script which checks for the balance in each address and transfer the balance funds to another ethereum address. My ...
1
vote
1answer
32 views

Block an account in a permissioned blockchain environment

We are developing a permissioned blockchain environment with Ethermint. Companies have to apply to join the blockchain environment, we create and give them their Ethereum account. One of the main ...
2
votes
2answers
40 views

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 ...
0
votes
1answer
49 views

Ethereum unlock account

Is there any way to unlock the ethereum account when using the infura api. Can only metamask do it? I would not like to use metamask because not every user has it on the browser
1
vote
2answers
39 views

How do other nodes handle the accounts of a deleted node?

In Ethereum Blockchain, the accounts created on one node stay with it and are not replicated into other nodes. If that node is deleted and hence is not a part of that network, then what happen to the ...
2
votes
1answer
76 views

duration limit for unlockAccount()

When I use personal.unlockAccount(), there is an option to pass a parameter for duration. What is the maximum duration to which i can unlock the account? I have searched through its documentation. It ...
1
vote
0answers
80 views

UTXO vs Account scalability paradigms and Merkle proof of ownership

From Ethereum's design rationale: Potential scalability paradigms: UTXOs are more theoretically compatible with certain kinds of scalability paradigms, as we can rely on only the owner of some ...
1
vote
2answers
93 views

Can private keys change once created?

Can private keys change once the public key (address) is created?
0
votes
1answer
17 views

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
0
votes
0answers
280 views

web3.eth.personal.newAccount + JSON RPC error connected to ropsten in metamask

Updated: I have a function where I init web3 and included web3.eth.personal.newAccount at the bottom of the function to create a new account. initWeb3: function() { if (typeof web3 !== '...
0
votes
1answer
208 views

My dApp can use Metamask accounts with givenProvider but not when setting Web3 object to Rinkeby provider URL?

Today is the first day I deployed to a test network (Rinkeby) and not my local Ganache client network. I think I need clarification on accounts when it comes to Metamask and Rinkeby. If I initialize ...
0
votes
0answers
72 views

Is there a way to use etherscan API (or another) to get a history of transactions for a specific ERC20 token for an ethereum account?

I want to be able to display the complete history of our token transfers in and out of users wallets. Is there an easy or established way to do this?
0
votes
1answer
39 views

Who owns the ETH in the zero account? [duplicate]

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. ...
0
votes
1answer
173 views

Account nonce limit/maximum

I've been reading about an account's nonce, that it's supposed to be an incremental number that increments with every transaction. I found about transactions pool and queue, about what happen if you ...
3
votes
1answer
47 views

How to use key derivation and 'coin selection' to increase privacy, like in Bitcoin?

In Bitcoin, you can have increased privacy by never re-using addresses. A single private key can generate many addresses if you are using a key derivation scheme. In Ethereum, instead of UTXOs you ...
0
votes
0answers
28 views

What happens if the “balance” of the address which sends “address.transfer(amount) is ” zero "?

Consider the balance of the address that sends address.transfer(amount); to receive the amount is zero. For example we have following address with balance of zero: web3.eth.getBalance('0x123').then(...
0
votes
1answer
279 views

How can I transfer ownership to another contract?

I have a contract which inherits from contract Claimable by OpenZeppelin (see here): pragma solidity ^0.4.24; import "./Claimable.sol"; contract MyTestContract is Claimable { uint256 public id; ...
1
vote
1answer
85 views

How to give a non-zero balance to a contract at time of deployment using Remix?

In case we want to deploy a contract by web3.js we can easily determine the balance of the contract at time of deployment as follows: const thisContract = new web3.eth.Contract(abi); thisContract....
2
votes
0answers
33 views

Authenticating accounts in Ethereum using web3js

Is a there a way to authenticate accounts in Ethereum using Web3js? Or if there are any other ways to authenticate accounts? We are building an application where users can register in our system. ...
1
vote
1answer
741 views

How to get the balance of a contract using web3.js?

I have deployed a contract as follows and determined its balance to be 5000 wei (value: 5000): const thisContract = new web3.eth.Contract(abi); thisContract.deploy({ data: bytecode, ...
1
vote
2answers
146 views

UPDATED : How to determine “payer address” in “address.transfer(amount)”?

Consider we a function as follows : address public recipient; function settlement(uint256 amount) public { recipient = msg.sender; recipient.transfer(amount); } Then the ...
0
votes
0answers
10 views

Deploy contract page doesn't show accounts

I am new in ethereum and blokchain stuff. I want to make contract ,but the accounts are not shown on this page.Can someone tall what I am doing wrong?