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
3answers
407 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 (...
2
votes
1answer
533 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
2answers
272 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
2answers
390 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 ...
1
vote
1answer
127 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 ...
0
votes
1answer
35 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 ...
17
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 ...
0
votes
1answer
276 views

Retrieve contract byte code

How may I find the byte code of an arbitrary contract? Preferably using a website and not writing my own client.
0
votes
1answer
39 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 ...
4
votes
2answers
763 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
2answers
838 views

Can private keys change once created?

Can private keys change once the public key (address) is created?
1
vote
1answer
694 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 ...
1
vote
0answers
41 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", "...
1
vote
0answers
53 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 ...
1
vote
1answer
297 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 }, "...
2
votes
0answers
47 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. ...
16
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 ...
31
votes
3answers
6k 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 ...
2
votes
2answers
73 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 ...
21
votes
4answers
12k 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 ...
2
votes
2answers
381 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 ...
4
votes
1answer
3k views

web3js sender account not recognized

Under Ganache, I created some APIs with nodejs to managing a Smart Contract. One API is for the creation of new accounts with newAccount = web3.eth.accounts.create(web3.utils.randomHex(32)); Then, ...
1
vote
2answers
60 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 ...
9
votes
1answer
2k views

Can't send ETH out from Wallet Contract

OS Win7. Node: Parity 1.3.3 Client: Ethereum wallet & Mist (on 2 different PC's) Contract owner account is fully funded with >5 ETH (well enough to cover tx fees/ gas) *wallet contract contains >...
1
vote
3answers
521 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 ...
4
votes
2answers
472 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 ...
2
votes
1answer
805 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
39 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
47 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 ...
3
votes
3answers
1k 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()?
1
vote
2answers
66 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
250 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 ...
0
votes
0answers
511 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 !== '...
3
votes
1answer
1k views

How to unlock the ethereum contract account?

I installed the package from this link and its working fine. Then I create the one multisig contract. when creating the contract I got one new address. I can deposit that address but for withdraw ...
0
votes
1answer
345 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 ...
4
votes
2answers
2k views

How to import an account in parity using CLI?

Here is what I tried: parity account new --chain dev it creates new account and generates JSON file in %HOME%\AppData\Roaming\Parity\Ethereum\keys\DevelopmentChain\ So, then I cut the file from ...
1
vote
1answer
611 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 ...
0
votes
1answer
91 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. ...
7
votes
3answers
4k views

How to import a plain private key into Parity?

Basically the parity version of this. Can Parity import raw private keys or Geth keystore files?
3
votes
1answer
92 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
36 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
808 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
201 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....
5
votes
2answers
3k views

How can contract ownership be transferred from one account to another?

I have a contract belonging to one of my accounts. How can I transfer ownership to another account?
1
vote
2answers
178 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 ...
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 ...
50
votes
2answers
48k 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?
1
vote
1answer
429 views

How do the other nodes know which particular node has the account used in the transaction?

A brief about my setup. I am using a private Ethereum network with 3 nodes. I have made all the nodes as peers of each other by using: admin.addPeer("enode:1234abcd..") When mining takes place, all ...
0
votes
0answers
143 views

UPDATE: (I need to run testrpc before running the code) Problem with signing a message with “web3.eth.personal.sign” or “web3.eth.sign”

I use exactly the example of web3js (here) to sign a text. So, I generated a .js file asfollows : Web3 = require("web3") web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); ...
0
votes
1answer
449 views

How can I create a wallet and display the address, public and private key using web3js?

I am using this as my source for web3js: <script src="http://raw.githubusercontent.com/ethereum/web3.js/0.16.0/dist/web3.min.js"> </script> In my HTML I want to display the account's ...

1 2 3
4
5
10