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

Problems running truffle [duplicate]

I am trying to follow a tutorial to deploy a smart contrat on Ropsten Testnet. I am in part 4. Deploy the contract to Ropsten test network: https://medium.com/@mvmurthy/full-stack-hello-world-voting-...
1
vote
2answers
179 views

Is there any JS library can create a new Ethereum address from a password as input parameter?

In geth console we can create a new address like this: personal.newAccount("my-password") I'm looking for a library which can create a new account with my password without any Ethereum node.
2
votes
2answers
1k views

How to add a wallet to your geth account list

I just created a new account on myetherwallet.com and installed geth on windows. I opened cmd and typed in 'cd/' and typed 'geth account list'. In return, I got a warning saying there's no etherbase ...
1
vote
3answers
378 views

How to architect scalable ethereum blockchain network?

I have set up the private ethereum block by doing the following steps. 1- Initialised same genesis.json on 2 systems. 2- Started geth console by using same network id. 3- Added these two systems (...
1
vote
1answer
569 views

How does Ethereum verify an account exists if that account does not carried any transaction?

https://blog.ethereum.org/2015/11/15/merkling-in-ethereum/ : This allows for a highly advanced light client protocol that allows light clients to easily make and get verifiable answers to many ...
0
votes
2answers
132 views

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

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

Account Storage for non-Contract Accounts

Is it possible to modify the account storage trie for non-contract accounts? For example, if I want to prove that I have control of an account without having to send any ETH, could I generate a ...
0
votes
1answer
60 views

When closing node (geth ropsten) I cannot save created accounts

I am pretty new to this. I downloaded the ropsten blockchain using a geth command line. Then, using Truffle, I created an account, but when I closed my node (ctrl - c on the geth command line) and ...
4
votes
6answers
9k views

Web3: How do I get just the first account on testrpc using web3.eth.getAccounts()?

When I run this code in web3 web3.eth.getAccounts().then(e => console.log(e)); The console returns this: [ '0x772f437b0f15e1F205C8BD923b5C8357e9c0c429', '...
3
votes
0answers
541 views

web3.eth.getBalance(address) throws an error: Invalid JSON RPC response: “”

var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); web3.eth.getBalance(address) throws an error: Invalid JSON RPC response: "" while address is some existing valid ...
2
votes
1answer
2k views

Get Private and Public Key from BIP44 Master Private Key

I am confused about getting the private key corresponding to the address for derivation path m/44'/60'/0'/0'/0' Question 1: Is the following code correct in getting the address and private key? Why ...
0
votes
1answer
165 views

Managing keys/accounts external to Geth?

I know that Geth requires that you have your wallet files located in the ./keystore directory and that you are required to unlock an account before using it. However, one of our potential use cases is ...
0
votes
1answer
172 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 ...
2
votes
1answer
925 views

Parity New Account: no seed?

Using Parity 1.7.x, if you type "parity account new" you have to type in a password. But there's no seed being generated. Does that mean this wallet can't be restored without the original key? Or ...
2
votes
0answers
79 views

Did the original Ethereum ICO have a different BIP32 word list?

I have a 12 word seed which I believe should be BIP32 compliant and I think is from the original Ethereum ICO. It was in an email sent to me (by myself) on 10th July 2014 - which was CoinSummit ...
2
votes
1answer
435 views

How to recover ether from Parity wallet with private key?

Given the multi-sig wallet vulnerability with Parity, I am curious why Parity wallet users are unable to access their ether using the private key provided by Parity? Perhaps my understanding of the ...
1
vote
1answer
576 views

What's the difference between these two methods of creating an account via Parity?

In Parity, as explained in this tutorial for setting up a PoA, there are three methods for creating Ethereum accounts: Via RPC calls, via the UI, and via parity account new. The UI obviously seems to ...
0
votes
2answers
1k views

web3.eth.accounts is Empty

I'm following the tutorial here: https://medium.com/@mvmurthy/full-stack-hello-world-voting-ethereum-dapp-tutorial-part-1-40d2d0d807c2 First, I got the error "Error: Invalid JSON RPC response". Then ...
0
votes
2answers
513 views

Why is eth.accounts[0] undefined

I am using the Geth 1.7 console. I tried unlocking the account using personal.unlockAccount(eth.accounts[0], "{top secret password}") but it failed with the following error: first argument must be ...
4
votes
2answers
4k views

web3.accounts.create() is not a function

I want to create a new account via code (Node.js), so I ran the following code, which was copy-pasted from the docs: web3.eth.accounts.create(); How ever accounts' value is an empty array, and ...
0
votes
1answer
2k views

Invalid JSON RPC response: undefined

I'm trying to create an account through Node.js. This is my code: export async function createNewAccount() { var web3Instance = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));...
2
votes
1answer
819 views

How to read the ETH value and other token values from an account?

Let's say I've created an account using this code as explained in docs: web3.eth.accounts.create(); > { address: "0xb8CE9ab6943e0eCED004cDe8e3bBed6568B2Fa01", privateKey: "...
1
vote
1answer
505 views

testrpc How do I force development accounts to be unlocked?

Using Truffle and testrpc. I am launching testrpc via testrpc --port 8545 --unlock 0 But when I run truffle migrate I get Running migration: 1_initial_migration.js Deploying Migrations... ... ...
2
votes
1answer
897 views

“liner: function not supported in this terminal” when doing personal.newAccount()

In the geth console I am trying to add an account : > personal.newAccount() but I am getting the following error : liner: function not supported in this terminal What does this mean and how ...
5
votes
1answer
2k views

Does ethereum support something like bip32 extended public key?

Bitcoin and Litecoin have something called XPUB key or Extended Public Key that essentially allows to track all generated public addresses, so think monitor your total balance in one key. I was ...
1
vote
1answer
133 views

How is deployment address chosen (by Parity)? [duplicate]

I am deploying a contract from a Parity instance that has several accounts within it. When I deploy a contract at the console of the same computer, Parity UI asks me for a password to unlock the ...
3
votes
3answers
802 views

Event listener for changes to accounts list

How is it possible to set an event listener for changes to web3.eth.accounts or web3.eth.getAccounts()?
2
votes
2answers
42 views

Is it right to say: A contract account may contain more than one contract?

My question is related to my previous question: Solidity: How can a contract B, burn from contract A, generate another contract? As we can in the aforementioned post when we are deploying contract A,...
0
votes
1answer
55 views

Purchase Ethereum for rewarding users

How can I purchase some Ethereum so that I can award it to our users for winning quiz. I am thinking of making a system where we can invoke RPC calls like this: curl -d '{"jsonrpc":"2.0","method":"...
1
vote
2answers
382 views

Is there any other way of creating an Ethereum account than using Ethereum full node?

In Ethereum full node, we can create an account by using something like: geth account new or personal.newAccount();// in web3 I wondered if there are any other online tools, like MyEtherWallet or ...
1
vote
2answers
255 views

Development approach to setup Eth account on Meteor/web3 app

I want to develop a Dapp that allows user to send and receive my own token (smart contract). So far, I managed to setup a simple Meteor app that uses web3. So now it can interact with the smart ...
1
vote
1answer
337 views

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 ...
2
votes
2answers
826 views

Is there any way to see all the incoming transactions to a wallet address?

I want to show block confirmations of the user's ether transaction to my account. How do I put watch on the incoming transactions?? I would need the transaction Id to know calculate block ...
33
votes
2answers
20k 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 ...
0
votes
2answers
166 views

In Ethereum: Who does keep track of users Ether balance and update them?

It's not clear to me how the user's account is updated, and who does it. For instance, who update users account balance?
0
votes
1answer
418 views

Do externally owned accounts send messages/transactions do each other? Why doesn't a contract sign its message?

Question 1: Can one account holder send Ether to another one without using a smart contract? Question 2: Is there any need that two accounts send messages/transaction directly to each other? a ...
3
votes
2answers
2k views

What exactly web3.eth.accounts.create do

When web3.eth.accounts.create is used to create an account something like this can be seen. web3.eth.accounts.create(); > { address: "0xb8CE9ab6943e0eCED004cDe8e3bBed6568B2Fa01", ...
4
votes
3answers
3k 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....
3
votes
2answers
1k views

Recieve payments in Ethereum ERC-20 tokens in web-services

I want to receive payments in my web-service in ethereum tokens, for example, Eos or Rep. And, of course, I must provide each user with different addresses for payment to determine who is the payer, ...
0
votes
1answer
390 views

Changing Account Password (using Parity)

This is such a silly question but my eyes are tired from searching and not finding the answer. (I see some posts that say it is not possible with Parity but only with Geth and that does not seem ...
0
votes
1answer
243 views

Local account to local node

If I create my wallet / accounts client-side with web3.eth.accounts how can I "publish" them on my local node? For example, I want to send some ether with an eth faucet to the first created account. ...
0
votes
1answer
228 views

private network ether is 0 after block synchronization

i'm taking a course. in this course we create a private network and create some ether(miner.start(1)) i check my account and i have some ether. eth.getBalance(eth.accounts[0]) => 12 i practice ...
1
vote
0answers
259 views

Account creation in web3 1.0.0

What is the difference between web3.eth.accounts.create() and web3.eth.personal.newAccount() With first invocation I'm able to create a new account. The second call throw me: Invalid JSON RPC ...
5
votes
3answers
3k views

Automatically update account balance with web3.js without polling

I've made a user interface in JavaScript with web3.js where the user can select an account to use. The accounts are displayed together with their current balance for convenience. I load the account ...
1
vote
0answers
197 views

Account vs Wallet [duplicate]

I think the difference between two is that wallets are a bit more feature-rich like seeing the previous transactons. but my "Main account" is somehow special, it is not a wallet because it is missing ...
0
votes
1answer
280 views

How does .transfer get ether into a testrpc account?

I'm running the CrowdFunding example from the Solidity docs and wondering why the ether balance doesn't increase correctly after running checkGoalReached in the code below: function checkGoalReached(...
0
votes
1answer
286 views

Unable to unlock account created by php script

I'm using geth over rpc in my php script for a website. In my script I've created a random passphrase that I store in a file so I can use it later to unlock the account. So, to keep thing simple I ...
1
vote
0answers
19 views

Definition of “registrar” and “author” accounts?

What do these accounts refer to in ethereum? Particularly when setting up a private blockchain?
1
vote
1answer
797 views

Why don't I see my tokens in Mist?

I think I should have several tokens in my account, but I can only see Ether. Is a wallet contract necessary to see ERC-20 tokens?
3
votes
2answers
3k views

geth account list returns accounts but eth.accounts does not

I had my ethereum node on one server. I needed to migrate the accounts and all to another server (due to the huge size of blockchain). I started new ethereum node on another server. To copy my ...