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
1answer
28 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
51 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
28 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
19 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
16 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 ...
2
votes
0answers
225 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
26 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
19 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
52 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
50 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
38 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
32 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
298 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
169 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
48 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
14 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
70 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
21 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
82 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)...
0
votes
1answer
153 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
46 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
67 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
87 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
87 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
335 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
68 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
82 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
253 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
553 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
1answer
847 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
73 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
61 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
613 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
379 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
76 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
137 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
22 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
390 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?
0
votes
3answers
1k 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
70 views

web3 does not find metamask accounts

I have a very strange bug in the code. When loading a page with a code, the current account in metamask should be determined. but this only happens on one local domain. in other domaines accounts are ...
0
votes
1answer
43 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
47 views

How to sign transactions while Geth does not provide private key?

I've lunched Geth for the first time and created some accounts on it. While creating accounts, I entered a password for each, and a key file is generated which contains encrypted private key belonging ...
0
votes
1answer
90 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 ...
0
votes
0answers
22 views

How is the storage trie of a user account which does not belong to any contract?

We know that storage trie (stored in the leaf node of state trie) is storing the contract's data related to an account. Then, what will be stored in the storage trie of a user account which does not ...
1
vote
0answers
57 views

keystore path in geth command does not work

I've lunched Geth server and want to store data and keystores in a non-default directory. I've used this command to run Geth: geth --datadir /etc/dir/ --keystore /etc/dir/keystore/ But when I run ...
0
votes
2answers
619 views

How Ethereum supports in dealing with double spending problems

Let's us consider a scenario where I am using my ethereum wallet for creating a transaction request (where my account balance is 100 eth and I am doing a transaction of 50 eth to someone from one ...
1
vote
1answer
86 views

Difference between web3.eth.personal.getAccounts() with web3.eth.getAccounts()

What are the differences between web3.eth.personal.getAccounts() and web3.eth.getAccounts()? environment truffle: v5.1.7 using truffle console.
5
votes
1answer
1k views

Generating multiple deposite address for one account

I want to create something like a Crypto exchange, in which I need to generate different unique deposit addresses for each user, so they can send funds to their accounts while I can keep track of how ...
2
votes
1answer
2k views

Execute transaction Approve directly against contract address (without ABI)

Solved For now, you will always need the ABI to execute a call against the ethereum network with web3. A simple way is to reconstruct the function you wish to execute is to, either create a separate ...

1
2 3 4 5
10