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
9 views

Mystery MetaMask Wallet on Mobile (wallet exists that I did not create myself)

Every time I create a new MetaMask account, it works fine on the chrome extension, but the mobile app shows suspicious things. It creates a second wallet within my account that I did create or name, ...
0
votes
1answer
20 views

Why Metamask provider allows dapp to see user's accounts before their content?

As it is said in EIP-1102, this standard is meant to prevent a dapp would gain an ability to have access to user's accounts via the ethereum provider without their permission. For the sake of it an ...
0
votes
2answers
29 views

Accounts on Ethereum [duplicate]

There are two kinds of accounts in Ethereum which share the same address space: External accounts that are controlled by public-private key pairs (i.e. humans) and contract accounts which are ...
0
votes
0answers
14 views

How is the account state updated on HD wallet transactions where the address are different everytime

I am implementing an HD wallet in ethereum (BIP-39 and BIP-44), so let's say I generated an account A with a private key PrK and public key PlK. From them I derive many keys and hence addresses Addrs-...
1
vote
1answer
94 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
46 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 .
0
votes
1answer
47 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
0answers
29 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
27 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 ...
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 ...
0
votes
1answer
595 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
21 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, ...
0
votes
1answer
61 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
286 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 ...
0
votes
0answers
116 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
38 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
0answers
21 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
20 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 { ...
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 ...
3
votes
0answers
581 views

How to create a wallet with web3.js

From what I understand, a wallet is a smart contract and in order to create a wallet, you need to deploy the contract to the blockchain as stated here, which is different from creating accounts. When ...
1
vote
1answer
61 views

Have I accidently created multiple Ethereum accounts?

I am brand new to Ethereum. I am reading up on the basics on https://ethereum.org. I am still a little confused about the differences between a wallet and an "account." According to this ...
1
vote
0answers
28 views

Create account with initial fund using web3

Is it possible to create an account with initial fund using web3? Every time I create a new account I had to do fund transfer to add initial fund. If there is way to fund the account with minimum ETH ...
1
vote
1answer
185 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 ...
1
vote
0answers
118 views

How it is possible to login in ethereum wallet account only with private key?

I was playing with web3.eth.accounts.create([entropy]) function and I can easily create a new Ethereum account and get the address and the private key. I created a simple address/private key pair and ...
3
votes
1answer
43 views

How can callable contracts have an empty account state?

On page 4 of the yellow-paper, the definition of an "empty" account is provided. An account is empty when it has no code, zero nonce and zero balance. A formal definition is then provided, ...
0
votes
2answers
54 views

Generate Ethereum account in a JSON/UTC v3

What are some trustful ways to generate an Ethereum account in a JSON/UTC v3 format? I know some web wallets, but I would prefer a very used/well-known desktop or plugin wallet. Metamask does not ...
2
votes
1answer
441 views

Cancelled Transaction in MetaMask USDC leads to loss of funds

I had attempted to transfer 992 USDC from MetaMask to a Ledger Account but had decided to cancel the transaction. On cancelling, MetaMask reports that the cancellation succeeded, but my MetaMask USDC ...
1
vote
0answers
191 views

Ethereum wallet recommendation

I'm searching for a software Ethereum wallet + sub-service around it, which is capable of withdrawing to a bank account/PayPal. I would prefer PayPal, but there aren't many of these. Also I need ...
1
vote
0answers
69 views

What is the best practice to find out deposits to some Ethereum accounts?

Suppose we have multiple Ethereum accounts and we are trying to track them for any deposit. I mean we want to be notified for any transaction in the blockchain if the transaction is to any of our ...
0
votes
0answers
24 views

Are there any open source accounting systems

I am looking for some accounting system for my project. I am developing an app where people have their own accounts, just like on any centralized exchange. Users will be able to deposit some ERC20 ...
0
votes
1answer
120 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
40 views

trying to send some tokens from unlocked account

So I'm trying to send some tokens from an, with ganache-cli unlocked, address to mine to try something out, however for my code to work I need some starting amount of the initial token. Is there some ...
0
votes
0answers
136 views

How can I create an ethereum wallet which can show many addresses balance?

I'm looking for a wallet which can scan many ethereum addresses balance,(like electrum for bitcoin). I need to import 200 (or more) eth addresses and scan their balances include their tokens(if funded)...
1
vote
1answer
346 views

Truffle Console: How to print Ether values for the accounts?

I am trying to follow a tutorial available at: medium Just Dev > getBalance = web3.eth.getBalance > balanceInEth = address => web3.fromWei(getBalance(address).toString()) I got errors so I ...
1
vote
1answer
54 views

How to synchronise accounts between different geth installations

I have a problem. If I build two geth nodes A and B, these two nodes are already in communication and synchronization. I created accountA on node A, and I can unlock accountA on node A with the ...
3
votes
0answers
86 views

What happens in the account state when we pre-send ethers to a smart contract?

I'm asking this question in relation to this one : pre_sending Ether where the OP asked in a comment of the answer about what happens at the low-level when pre-sending ethers to a smart contract. As ...
1
vote
1answer
118 views

Deploy from Remix to Quorum using password? "authentication needed: password or unlock"

I can SSH into the box that is running Quorum: run geth with the flag --allow-insecure-unlock geth attach new-node-1/geth.ipc personal.unlockAccount(eth.accounts[0]) I'm interested in knowing if I ...
0
votes
1answer
194 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[...
0
votes
1answer
567 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
94 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
94 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
404 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
1answer
1k 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
2k 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?
0
votes
1answer
124 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 ...
0
votes
1answer
78 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
0answers
625 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 ...
1
vote
1answer
543 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 ...
0
votes
1answer
134 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 ...
0
votes
1answer
197 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 > ...

1
2 3 4 5
10