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.

1
vote
1answer
201 views

Ethereum Miner validation

I have created a private block chain with three Peers. Peer A is having an account which is having 20 ether. Now I am trying send 21 ether from peer A's account to peer B's Account. It is not throwing ...
0
votes
1answer
85 views

Use accounts as datastore

I am rather new to Ethereum and I wonder if the following scenario is possible. I want/need to store some data encoded as a JWT in the blockchain and have it (publicly) accessible via an ID. Only the "...
0
votes
1answer
69 views

Does a node only contain a coinbase?

As I know, coinbase is the default account that stores ether when mining. Does a node only contain a coinbase? If there are many different users who have many accounts in one node, will there be many ...
1
vote
0answers
75 views

How to create an account in a Dapp which developed with Parity

I’m developing a Dapp about image storing with Parity these days. And I try to make a new account with JSONRPC right now. But when I searched for some useful API, I found an API in this web:...
1
vote
1answer
1k views

Is it possible to hack an ethereum account? [duplicate]

I want to know if is it possible to hack an Ethereum account?
2
votes
2answers
625 views

Account “lost” after using --datadir in Geth

I am extremely new to Ethereum, just started mining a bit 2 days ago. I use Windows 10 and a GeForce GTX 950 card. I have had geth running smoothly for about 2 days, then it started filling up my ...
2
votes
2answers
388 views

Can I make a transaction that sends funds directly to the address an ENS domain resolves to?

For example, firefly.eth currently resolves to 0xce31f0ad68d9565004bbe351a8677eb74c86866d Without my software knowing or looking up the specific address "0xce31f0ad68d9565004bbe351a8677eb74c86866d" ...
1
vote
0answers
143 views

Encrypted accounts backup and restore from 12 word seed

In my wallet I used ethereumjs-accounts library to generate and manage accounts. It allows to export and import accounts by json string or zip file. My goal is to add to export/import functionality 12-...
4
votes
1answer
279 views

How to get UTXO set using JSON API?

My blockchain development background is in Bitcoin, but it now seems to me that the most dynamic and interesting blockchain platform is Ethereum. In my quest to grok the Ethereum protocol I'm ...
1
vote
0answers
903 views

How to display old account from UTC file?

I restored old UTC key file from another computer: UTC--2016-07-27T13-36-55.890168500Z--89f8704b0fdaabbb51c128c7fd9664ef218e1795 and added it into keystore folder. I also created fresh account with ...
0
votes
2answers
279 views

where is the file that references accounts in the geth client

There must be a .dat file or something that stores the accounts in the geth client, where is this file located? As an aside, are Externally Owned Accounts (EOAs) and Contract Accounts actually ...
1
vote
0answers
65 views

Tech challenges related to coinbase account recovery

I am trying to reacquire access to a coinbase account that I used as the repository for ethereum I was mining almost 2 years ago. I have the json file corresponding to the correct address. I have ...
1
vote
1answer
835 views

Are there invalid private keys?

Private keys of Ethereum accounts are usually represented as 64-character hex strings. Will any such string work as a private key? Are there limitations on what the key could be? If not, I can just ...
1
vote
1answer
3k views

Is it possible in theory to generate the private key for the 0x0000000000000000000000000000000000000000 wallet?

Is there any chance, although extremely low, to generate the private key for the 0x0000000000000000000000000000000000000000 wallet? Does the system allow it at all?
7
votes
3answers
3k 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
3answers
2k views

What is the purpose of Testnet?

I'm just getting into cryptocurrencies so forgive me if there are some basics I am missing out on. I have got a bitcoin account up and running and will soon be buying a few just to test things out, ...
0
votes
1answer
1k views

Changing install directory? [duplicate]

My Windows drive is almost full. As I actually have two drives, I want to move the blockchain from the default location to the second drive. How can I do it?
0
votes
1answer
140 views

Two wallets running on same keystore file?

I created a wallet @ myetherwallet. I received some ethers here and it worked fine. But I didn´t understand where the ethers were at first, so I openend another wallet locally on my mac: ethereum ...
5
votes
1answer
4k views

Ethereum wallet on two devices?

I have a few problems, and I am not sure how to solve them. I transferred ethereum from Coinbase to a wallet that I originally created on a Mac. The initial sync was not yet complete, and it is ...
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 ...
0
votes
1answer
538 views

Web application for remote users to create Ethereum account

Say that a machine is running an Ethereum client (geth or Parity), and it also has a web application (running as a NodeJS server, say) that provides a front-end to users and communicates with the ...
1
vote
1answer
354 views

Create new Ethereum accounts and store them in the node using JSON-RPC

I want to develop a website where each registered user can generate new Ethereum address, send their coins and later exchange them into other coins. I want to implement the following functionalities: ...
16
votes
3answers
3k views

How does a contract find out if another address is a contract?

Is it possible, from within a contract written in Solidity, to check if a contract is placed on a specific address or if this address does not contain any code?
-3
votes
1answer
321 views

Did I actually just win 1 Ethereum? Is it truly mine?

I was looking for coins to mine & exchange for bitcoins when I found out about Ethereum. I have literally no knowledge about it or anything at all. I went for a site (https://freeeth.me/) to win ...
3
votes
1answer
50 views

UTXO Output greater than Input

I reviewed the transactions from a recent ICO. The account below provided the largest investment. If you check the account, there is a far greater Out value than In. I was under the impression ...
11
votes
1answer
763 views

Parity account addresses all having prefix 0x00

After creating multiple new accounts with the Parity wallet (v1.6.6), I notice they all have the address prefix 0x00 (the 0x part being the obvious hexadecimal prefix), for example ...
2
votes
1answer
1k views

Parity – unlock multiple accounts at startup

I unlock an account on parity startup using the following arguments: parity --unlock $COINBASE \ --password $CONFIG_DIR/password \ ... How can I unlock multiple accounts at startup?
1
vote
0answers
285 views

Can't send transaction using NODE-RED platform - “Warning! Error encountered during contract execution [Bad instruction]”

I'm trying to use NODE-RED (https://nodered.org/) on my RPi using web3 and geth to send simple transactions. The code is the following: //variables var Web3 = global.get('web3'); var upc_abi = //...
12
votes
2answers
2k views

isContract function using EVM assembly to get the address' code size

My problem is that I need to make sure my contract processes only the transactions coming from EOA (externally owned accounts). For this I need to determine the type of account I'm dealing with. In ...
1
vote
0answers
409 views

How to create an ethereum accounts for my own token using node js web3

I have created my own token and now I want to create accounts for clients where they stock tokens using node js express.But I have no idea how to generate accounts' address ! Can anyone help me please ...
31
votes
3answers
14k views

Get public key of any ethereum account

Can I somehow get the public key of an ethereum account knowing just the corresponding ethereum address (e.g. 0x54dbb737eac5007103e729e9ab7ce64a6850a310)?
1
vote
1answer
306 views

Presale wallet gives zero funds

I have already asked this question but I post once again as helpdesk people at ethereum are asking to post here: After several years of waiting, I have decided to check how much ether I do have in my ...
0
votes
1answer
90 views

Why is my account still locked if I try to send a transaction?

I unlocked my account and get result true but if I try to send: var transactionHash = await contractname.SendTransactionAsync(contractAddress, new HexBigInteger(calculatedGas.HexValue), new ...
1
vote
1answer
67 views

Is it possible for an account to have only a single transaction, and for that transaction to be outgoing?

This account (https://etherscan.io/address/0xffffad56580f616152cbb8ac362ccf49d4abc886) confuses me. How is it possible for an account to have a single outgoing transaction with no incoming ...
3
votes
0answers
93 views

Is it possible to stack transactions?

Is it possible to stack transactions which depend from themselves? Example: State on start: Account A (2 ETH), Account B (0 ETH), Account C (0 ETH) Transaction 1 - Account A sends 2 ETH to Account ...
5
votes
1answer
952 views

Geth not synchronizing to MetaMask

I want to import my account of MetaMask(testnet) to the geth accounts list. First I copied the private key from MetaMask and saved to a txt file. After that I run this command : geth account ...
2
votes
1answer
268 views

Retrieve Account Name Using Web3

After creating an account (i.e. lets say using Mist) we can update the account name from the Mist interface by editing it. Is there a way that we can fetch that account name by providing the account ...
2
votes
1answer
454 views

How to setup the account manager type to sign transactions in Go?

TL;DR: I've setup a private Ethereum node, and I want to send a signed transaction to it. By reading the docs I know that there's an account Manager type which can access a Wallet type which has a ...
1
vote
1answer
426 views

DAPP - Account Unlocking Concept

As of now whenever I try to perform any operation by invoking any of the methods of a contract it expects to unlock the account. Now the account which is used to perform the transaction, has to pay ...
0
votes
0answers
65 views

invalid character 'personal_signAndSendTransaction' after top-level value

I am getting this error when I try to sign in to one of my accounts using Mist. If I try to unlock the account using the console I get this error: invalid character 'g' after top-level value
3
votes
1answer
471 views

Is there any way to create an ethereum account from RSA key?

I have my very private RSA key: -----BEGIN PRIVATE KEY----- MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknAgEAAoICAQDI0vCkxjyJQ7b7 MVJKKXVTFSH3yN5xWozV1pZ8grTTr6dL90bmeCHIw9PnsZRJWsAhstnSnLm1v7KE kkNqFi2s+...
0
votes
2answers
310 views

Sending an event to a particular user account

I am trying to send a notification to a user on some activity. I tried to use events but when an event is triggered, it goes to all the user accounts that are currently active on the network. Is there ...
4
votes
1answer
330 views

Create new account over IPC

I want to create a new account over IPC so I have started private chain with the below command geth --networkid=5 --datadir DataDir --ipcapi "db,eth,net,web3,personal" --ipcpath "/Users/smartSense/....
2
votes
1answer
498 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?
4
votes
1answer
10k views

Different way of creating account

I have created one account using the command geth account new , name acc1 and another under the geth console using the command personal.newAccount() name it acc2. Now i am not able to see the acc1 ...
1
vote
0answers
141 views

Parity account balance not updated [duplicate]

I'm using parity in ropsten testnet. My account address is 0x00562e88274Ac44752913955EEEd4CAa939C6abB. On etherscan it says that account balance is 4 ether but on parity it says that "There are no ...
4
votes
1answer
505 views

From an account's address is it possible to tell whether the account is a contract account or externally owned contract?

I am trying to visualise transactions for Ethereum, currently, I know there are blockchain explorers such as Etherscan.io and Etherchain.org, however I don't want to keep calling their API to get data,...
3
votes
1answer
174 views

Proper way to unlockAccount

I'm running a private blockchain instance for personal development and I'm trying to understand what is the proper way to use personal.unlockAccount() to prevent a security risk. I understand the ...
2
votes
1answer
502 views

Can unlock account, but not send transaction

I've compiled a version of geth where I modified CalcDifficulty() in core/block_validator.go to make mining difficulty constant, see reference. Starting up the private chain, creating accounts and ...
1
vote
2answers
748 views

How does getBalance() work?

How does the eth.getBalance() function work? Which file does it call exactly? How and where all parameters are passed? Please someone explain it to me.