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

how to import UTC-JSON file through web3-eth methods

hey I am working on ethereum wallet. in this i want to import my account through UTC json file, but i didn't find any solution for this in web3-eth command someone can please help to find out the ...
0
votes
1answer
550 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 ...
0
votes
0answers
42 views

Generate Public Key

I use the command: > eth.getTransaction("0xac844bd1107761fec3abe2f55bf739f0e7cc6dd1cd169a60176bfb22 9826b5a8") Where the brackets contain the hash of the successful transaction. This is what I ...
6
votes
3answers
4k views

How can I detect change in account in Metamask?

When a user changes to a different account in metamask, is there a way to detect it asynchronously in code? I currently use this.web3.eth.getAccounts((err, accs) => { this.account = accs[0]...
1
vote
1answer
770 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 ...
1
vote
1answer
126 views

Imported account from privatenode shows loose and 0 balance

I have created my private node with the following config: { "config": { "chainId": 65536, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "...
1
vote
4answers
353 views

How to implement a watching wallet for thousands/millions of addresses

I need to check for customers' deposits and need to scan for receiving transactions for those addresses for Ether and in next step ERC-20 tokens. What's the most efficient way to do this with go-...
3
votes
1answer
2k views

Difference between Account Extended Private Key and BIP32 Extended Private Key

I was using this this useful tool to verify that my wallet generation process was accurate, however when I thought I was generating an Account Extended Private Key, I realized I was actually ...
2
votes
0answers
740 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 ...
4
votes
1answer
298 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 ...
1
vote
2answers
2k views

Create Ethereum Account using golang

I want to create ethereum account using golang. I am following this guide but I am stuck with errors just at the beginning of code. accountManager:=accounts.NewManager(".ethereum/rinkeby/keystore",...
23
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 ...
1
vote
0answers
59 views

ETH Accounts per block

Correct me if Im wrong but from my understanding each block has a "stateRoot" property that point to status of the State tree at the time of mining. I also believe that tha state tree contais a list ...
1
vote
1answer
920 views

rinkeby balance says 0 after syncing even though transaction shows ether was sent

I'm using truffle to deploy a contract on the rinkeby testnet Here is transaction info saying that my address received ether however as shown below, the balance still shows as 0. truffle(rinkeby)...
1
vote
0answers
217 views

How can I create or setup multiple accounts for Rinkeby in a Truffle environment?

I use ethereumjs-wallet along with truffle-wallet-provider to connect my Rinkeby account to Truffle: var rinkebyPrivateKey = new Buffer(process.env["RINKEBY_PRIVATE_KEY"], "hex") var rinkebyWallet = ...
1
vote
0answers
934 views

Does MetaMask provide access to acount's keystore file?

I am looking for my account's keystore file. I know usually this is only available through geth. MetaMask already provides the private key, but I'm not looking for the the private key, I'm looking ...
1
vote
0answers
18 views

Is there any way to find all of the Sep/Oct 2016 DDos accounts?

This EIP allowed for the cleaning up of the nearly 20 million DDos accounts created during the September/October 2016 DDos attack. The solution had two parts: (1) the node code had to be changed to ...
2
votes
1answer
2k views

What is an Ethereum address?

I am being asked to enter my Ethereum address, but I don't know what to put there and I already created an Ethereum account.
0
votes
1answer
2k views

Does the latest version of geth does not create geth.ipc? [duplicate]

I have seen similar question about the geth.ipc file (I can't find my geth.ipc), I am on Windows 7. I am not able to see geth.ipc file after running geth as said in the other question thread, ...
4
votes
2answers
348 views

How to pre-allocate ether to new account created in ethereum private network?

Not by genesis file to be clear when we create new account through geth console it should create new account with some pre-defined balance
1
vote
1answer
47 views

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 ...
2
votes
1answer
24 views

Regarding accounts and different coins

I have several questions all revolving around one core concept: how an Ethereum account relates to a given coin (blockchain). For example, if I have an account I made to mine ETH, how does it know ...
0
votes
1answer
95 views

Is it possible to save data somewhere other than in the node when using web3.js?

Is it possible to use the web3.js apis with geth and store the sensitive data elsewhere and specifically not save any data on the node? I know I can save the sensitive data by looking at the docs, ...
1
vote
1answer
584 views

How does a node generate an address?

I am playing around with geth to understand the principles of the ethereum network. One thing I keep asking myself is how does a public address get created? For example, you can run an offline ...
0
votes
2answers
304 views

How to create unique contribution addresses for a referral system by smartcontract

I ran into some trouble with my smartcontract. I want to be able to allocate referral tokens to each person who participated in the ICO referral program. In order to do this, the smart contract must ...
0
votes
1answer
102 views

When I recreate an Account using a Mnemonic, will it also bring back its private key?

I guess my Question is straight-forward, I would like to know if using a Mnemonic to recreate or import an Ethereum (external) Account will actually make or "bring back" the whole KeyPair (public and ...
1
vote
0answers
47 views

How to limit transactions to only approve addresses?

I am dealing with a private consortium scenario (private Ethereum network) where all participants are known in advance and have assigned an addresses used in genesis. Like to know if its possible to ...
0
votes
2answers
874 views

JSON RPC get address balance

I'm trying to get the ether balance for any ethereum address. I've set up a node with the Ethereum daemon, but as far as I can tell, using eth_getBalance you can only get the balance of your own ...
0
votes
2answers
52 views

What do I need to log into Geth?

I had to reformat my OS since the last time I did any mining and so I don’t have any of the data originally on my HD. I do have my Geth account # and assuming I can remember my password is that ...
1
vote
2answers
1k views

Invalid JSON RPC response when calling a function

I've made a web3js script in a wordpress website, but when executing the following code, I get an invalid JSON RPC response. var Web3 = require("web3"); var web3 = new Web3(); web3.setProvider(new ...
0
votes
1answer
89 views

How to secure an “unlock”ed address?

I am using Parity and testing a mining pool. In order for the pool to work, I need to specify the --author address on the node running the pool software. I also need to have the payee accounts for ...
1
vote
1answer
572 views

Load an HD (Hierarchical Deterministic) Wallet

I'm trying to find a way to programmatically generate Ethereum addresses based on an initial seed and then extract any funds that land in those addresses. Here's what I've tried: Generated a 24 word ...
0
votes
1answer
100 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
154 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
939 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
347 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
513 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
130 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
144 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
55 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
6k 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
491 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
147 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
171 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
890 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
70 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
411 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
519 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 ...