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
2answers
3k 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
3answers
2k 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 ...
1
vote
1answer
25 views

Is there any way to get list of all NFTs owned by an etherscan as shown on etherscan apart from monitoring Transfer even?

I want an api or something that can list all the nfts owned by an address, as it is shown on etherscan so I assume we can get that but not able to find that. Also I know that we can do that by ...
0
votes
1answer
18 views

In remix how to add accounts in the injected web3 provider?

I got only the first account and I need the other accounts to use them .
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
0answers
9 views

Xinpay-metamask accountsChanged Event not supported [closed]

I am a new blockchain developer and I am using XinFin has a blockchain network in my DApps, I am facing issues in the detecting account changed event , has it is not supported by XinPay, can I know ...
24
votes
5answers
10k 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?
0
votes
1answer
524 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 ...
1
vote
2answers
296 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 ...
0
votes
1answer
73 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
1answer
44 views

What happens to the balance of the contract account?

I am just having issue understand the concept behind smart contracts. I understand that EOA triggers a tx to a contract account and that the hashcode calls a program on the EVM (a separate entity to ...
0
votes
1answer
884 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 ...
0
votes
0answers
21 views

Import private key into geth

I was trying to import private key into geth node which i run locally. I am using javascript console When i tried the command web3.eth.personal.importRawKey("Private Key","Password&...
0
votes
0answers
22 views

Command: "geth account list" while geth running

When i running command geth acoount list i get the error - Fatal: Failed to create the protocol stack: datadir already used by another process If i stop the geth the above command would list my ...
2
votes
1answer
202 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 ...
0
votes
1answer
119 views

My cutom RPC meta mask created account is not showing in terminal

I have installed geth and created genesis.json and run my own private eth network. I started my rpc using geth --rpc --rpcport 5200 --rpcaddr 192.168.1.99 --datadir ./private Then I connected to ...
1
vote
1answer
85 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 ...
0
votes
1answer
203 views

restore a deleted imported metamask account

i had my metamask wallet stoled, and my first reaction was delete the stole account. But this account has some pools os pancakeswap, and i need to restore it to save my tokens. I have the seed phrase ...
11
votes
7answers
15k views

How to export transactions into a CSV file

Is there a simple way to export all transactions related to a specific account/smartcontract to a CSV or some other plain text format?
17
votes
5answers
2k views

How to increase my privacy on Ether accounts?

What would be the best way, if any, that one could change their address/account in order to make themselves unknown or hard to identify by people they traded with? More specifically, if I send ETH to ...
4
votes
1answer
445 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/....
1
vote
1answer
484 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 ...
1
vote
1answer
144 views

web3.eth.accounts.create vs web3.eth.accounts.wallet.create

I was playing with web3.eth.accounts.create() and web3.eth.accounts.wallet.create functions, and reading web3 docs about it. I know that an externally-owned account is the same as a wallet, you have ...
0
votes
1answer
107 views

web3.eth.accounts[0] undefined

I am new and I am trying to make my first transaction using geth and truffle. to specify a sender address I type in the truffle console: src = web3.eth.accounts[0] but I get "undefined" if I ...
0
votes
0answers
5 views

How does MPT update an account?

I have read that Ethereum uses a modified Merkle Patricia Trie to store information such as accounts and its balance, when updating a balance to an address does it just go thru the tree and update the ...
5
votes
7answers
17k 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', '...
12
votes
3answers
9k 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
1answer
322 views

Testing Token with Uniswap liquidity provisioning using hardhat

I'm attempting to fork Safemoon (or really NotSafeMoon), and use it as a vehicle to learn smart contract development. (I've got a substantial amount of what you might call "Web 2.0" dev ...
1
vote
1answer
19 views

Ethereum Bases for Account Creation

I came in contact with Ethereum and I'd like to know the inner workings of it, for example, what is the purpose of it inside an app or web application, and where accounts and wallets are made. Also, ...
2
votes
1answer
127 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 ...
0
votes
1answer
37 views

Can you convert my address (bytes20) type to a bytes32 string?

I am running into an error for: TypeError: Type address payable is not implicitly convertible to expected type bytes32. Due to the fact that I am using my address ...
0
votes
1answer
720 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
1
vote
2answers
225 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 ...
1
vote
1answer
194 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 ...
2
votes
3answers
9k views

Reinstalled MetaMask, account lost?

I had 3 accounts under my MetaMask Chrome extension. One of them had some small deposit. I have reinstalled the extension and used seed phrase to get access again. However, I can see only one account (...
1
vote
3answers
2k 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
2answers
569 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
159 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
0answers
98 views

Geth console - eth.sendTransaction returns "unknown account" ERROR using Clef accounts

I'm approaching to Ethereum with Geth and Clef using the official docs: Geth: https://geth.ethereum.org/docs/getting-started Clef: https://geth.ethereum.org/docs/clef/tutorial I have a problem when ...
0
votes
1answer
32 views

How does accounts work in Ethereum?

I am new to the crypto world, so trying to get my hands dirty with some code. I am attempting to create an account and do some operations using the same account. But get accounts doesn't return the ...
0
votes
1answer
1k 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, ...
5
votes
2answers
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?
0
votes
1answer
349 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
0answers
20 views

Ethereum balance is not showing in my Ethereum node

I have set my ethereum node in Amazon Ec2. I start syncing through this command sudo geth --datadir /home/ubuntu/data/ --cache=512 --allow-insecure-unlock --rpcapi "web3,eth,personal" --rpc ...
0
votes
0answers
19 views

Web3 - Having problems getting address of account

I have a web provider class const Web3 = require('web3'); const web3Provider = new Web3.providers.HttpProvider('http://localhost:7545'); const web3 = new Web3(web3Provider); class Web3Provider { ...
3
votes
1answer
228 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 ...
0
votes
1answer
161 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. Truffle's default account is account[0]. I deploy my contract with that. After a while, i need to interact with the contract with account[...
1
vote
1answer
321 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(...
0
votes
0answers
13 views

How can i get my ether back [duplicate]

I accidentally transferred Ether to a smart chain contract wallet, I have tried contacting but its support say there is nothing they can do. please is there any advise on how to get a reversal need ...
6
votes
4answers
4k views

Alternatives to Metamask

What are existing alternatives to metamask with that works online inside existing browsers, that don't require installing a browser extension? What are some of the tradeoffs between them?

1
2 3 4 5
10