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
0answers
20 views

change from old to new contract address [closed]

How do I change a contract address to a token to the new one? Example: I'm trying to sent TRAT token to Mercatox and they told me you sent it from an old contract address.
36
votes
2answers
22k 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
1answer
10 views

How do i change Truffle default account after contract deployment to interact with it?

I work with Truffle and Ganache along side Windows Powershell. Here, Truffle's default account is account[0]. I deploy my contract with that. After a while, i need to interact with the contract with ...
0
votes
1answer
90 views

Geth + Web3 | web3.eth.getAccounts() returns undefined

I have follow this SO answer for sending ERC20 tokens from 1 address to another. I am running into an issue where I am receiving an error that my from address is invalid Error: Error: ...
0
votes
1answer
42 views

Can an Ethereum account be used by several users at the same time?

I am developing a DApp for donations (the donations are not in cryptocurrencies). I want the donor to make donations without registering on the platform. In fact, I don't need to know who he is. So it ...
0
votes
1answer
920 views

How to use not personal account web3

In my previous post I got answer but still I need some clarifications let say when deploying contract with node js we have this line try { web3.personal.unlockAccount(web3.eth.coinbase, ...
0
votes
1answer
311 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
284 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. ...
21
votes
4answers
27k views

Unlocking accounts and making transactions in web3.js

This question is related to this one and this one. It also has a partial answer here and here. In the third link the account is being unlocked for a period of time using web3.js: web3.personal....
0
votes
1answer
30 views

ReferenceError: accounts is not defined

I was using "truffle test" for testing with JS. gives this error. here is the code of that part. it('transfer success', function(){ return Eve.deployed().then(function(instance){ ...
1
vote
1answer
202 views

Both web3.eth.accounts.create() and web3.eth.personal.newAccount() not working

I'm making a dApp on reactjs. I wanted to create a new account and have done it trying 2 methods this.web3.eth.personal.newAccount() this.web3.eth.accounts.create() I have attached the code below(...
1
vote
1answer
26 views

Can queue of pending transactions will be confirmed if send last transaction with high gas price?

I have several pending transactions from the same account with a low gas price. What if I send one more transaction with next nonce but high gas price? Can it help to mine all pending transactions ...
2
votes
3answers
889 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 ...
0
votes
2answers
1k 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
1answer
437 views

Web3.js unable to unlock account to call smart contract

I am using web3.js 0.20.6 and I want to unlock an account to execute a smart contract method on a private blockchain. The account is used to pay for the gas. I have used the following code to unlock ...
0
votes
1answer
30 views

Import accounts on Ethereum Wallet is disabled

The Import accounts option in File is disabled. I am using the Ethereum-Wallet-linux64-0-11-1, latest version (now). After I reinstalled the OS, I tried to import some accounts. I copied the accounts ...
0
votes
0answers
48 views

Served eth_sendTransaction err=“unknown account”

I'm facing issue with private chain, when I run the node, it shows the logs as below, and transaction went in pending status. Folder structure All the wallet file reside into keystore folder. Node....
0
votes
2answers
398 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 ...
3
votes
1answer
150 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 coins ...
1
vote
2answers
285 views

Ethereum wallet backup doesn't produce any files

I'm using ethereum wallet on windows 10. I have one account and I'm attempting to produce a backup of it. I do Accounts > Backup > Accounts and the file browser comes up, showing a directory ...
2
votes
1answer
1k 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)...
0
votes
1answer
36 views

problem with sending ethers on ropsten network

I am trying to send ethers from one address to another address on the ropsten network but I get the message "undefined". Here is my code: web3.eth.getTransactionCount(account1, (error, ...
0
votes
1answer
16 views

Solidity-how to transfer ether from an account to a smart contract as deposit

I just started to learn Solidity. In the SimpleAution contract, there are two functions, bid() and withdraw(), the former iniating a bid, transfering some ethers to the contract as deposit, the later ...
1
vote
1answer
129 views

How many non-empty accounts are there?

I am researching into the statistics of Ethereum and I an looking for a datum of how many non-zero balance account currently exist in Ethereum? I know that in total 30M of accounts were created but ...
20
votes
4answers
10k views

What is an 'EOA' account?

Cointelegraph has recently written about 'EOA' in relation with contracts and accounts. As an EOA, the state simply stores the account's balance in ether and a sequence number is used to prevent ...
2
votes
4answers
713 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-...
1
vote
1answer
47 views

The send transactions “from” field must be defined using Infura web3

when I try to send my transaction using infura I get this error "The send transactions "from" field must be defined" My problem is my web3 object. When I used Metamask and ...
4
votes
1answer
381 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/....
0
votes
1answer
74 views

Is there a way to retrieve private key of ganache account with web3?

web3.eth.getAccounts() returns list of accounts. Is there a way around to get the private key of one of the account from the list returned from the above code?
1
vote
2answers
161 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 ...
0
votes
1answer
33 views

Can I add my own fields to JSON files in the keystore directory?

I need to add a few fields to JSON v3 wallet file, can I do it ? What is Ethereum's policy on this? For example, to add account name I would do something like this: { "address": "...
0
votes
1answer
29 views

Reproducing a Ganache Server across multiple computers

There are multiple developers on the team and it seems as though we all want to be working on a specific test network with specific public and private keys with a specific number of users who all have ...
10
votes
4answers
9k 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]...
0
votes
2answers
61 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 ...
2
votes
1answer
63 views

How do i create account remotely?

I have two servers, one for eth-node, one for web api and user db. I want to send request to create account from web server to eth server, but i see it can be created by running command like geth ...
12
votes
3answers
6k views

Are there other Vanity Address generators available?

Are there any Ethereum vanity address generators available other than: Vanityreum (python) Vanieth (go) Which is the fastest? Can they be optimized further? What is the use-case of vanity ...
0
votes
0answers
285 views

Is it required to use multiple Etherem accounts to send transactions on behalf of customers to avoid pending transactions?

We are developing an Ethereum based exchange. In our project, customers put their orders to send ETH or ERC20 tokens to others, and we currently do these transactions via our Ethereum account on their ...
0
votes
1answer
622 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 ...
0
votes
1answer
71 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 ...
0
votes
2answers
124 views

Unknown Accounts suddenly appearing in MetaMask wallet…?

My MetaMask wallet has multiple accounts which I did not create. I have no idea how they there. Is my MetaMask wallet compromised? Or is this normal that MetaMask creates new wallet addresses when ...
0
votes
1answer
382 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
1
vote
1answer
107 views

Ethereum node vs Ethereum accounts

From my understanding, one Ethereum node can have many accounts and only one of the account can perform mining in each node. So, my question will be what are the usage of other accounts in the node ...
0
votes
3answers
67 views

Can an NFT (e.g. ERC721) simultaneously belong to two different entities, say an user Owner, as well as a user Custodian?

For example, on the blockchain say you own a ERC721 Car token at your wallet address, but you want to park it in the ERC998ERC721 top down composable Garage owned by your friend, while still retaining ...
0
votes
1answer
23 views

It is secure do accounts just with web3.eth.accounts.create() ? (entropy)

const Web3 = require('web3'); let url = 'infuralink'; let web3 = new Web3(url); console.log(web3.eth.accounts.create()); This is the code of many tutorials for do a key pair. it is completely secure ...
1
vote
2answers
215 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 ...
41
votes
4answers
20k 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)?
0
votes
1answer
51 views

Truffle Console: “undefined” message varaiable declaration

I am giving following commands at Truffle console but I am getting "undefined" message: > $ truffle console > > You can improve web3's peformance when running Node.js versions older > ...
0
votes
1answer
17 views

Was the function called before from a specific address?

Consider a function definition as below - function checkForUpvote() external returns(bool){ Here I would first like to check, if the external account invoking this function : has invoked this ...
0
votes
1answer
73 views

Ethereum transaction with multi input and multi output like bitcoin

What happens to my wallet when I only 1000 accounts with 0.0001 ether and the tx-fee is about the same, I can't spend anything anymore?
119
votes
5answers
83k views

How are ethereum addresses generated?

What criteria does a valid Ethereum address need to fulfill? Is it just a random number in hexadecimal? Or does it need to be derived in a specific way, according to some cryptographic algorithms? ...

1
2 3 4 5
10