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
1 answer
7 views

What is the relationship between wallet/accounts and Client Nodes?

For client nodes such as Parity or Beth, does every wallet or account have to be associated to a client node? My understanding is that the client node is the interaction to the exchange.
0 votes
0 answers
11 views

Nethereum Keystore and Wallets

I am using Nethereum KeyStore to store privateKeys. It looks like in order to save private keys for the wallet, you will need the account addresses and index ahead of time. What is the index referring ...
0 votes
1 answer
19 views

Nethereum: What is the relationship between Wallets and Accounts?

I am using Nethereum for .net. I am reading this: https://docs.nethereum.com/en/latest/accounts/ I am also reading this: https://docs.nethereum.com/en/latest/Nethereum.Workbooks/docs/nethereum-...
0 votes
1 answer
37 views

Hardhat Tasks - How to import an account with a private key as signer

I am writing a Hardhat task. Hardhat ethers provides ethers.getSigners()which returns me the addresses derived from the mnemonics saved in process.env. However, I want to use an account address, of ...
  • 383
0 votes
1 answer
24 views

How to create a wallet for ETH?

I'm a bit confused on the process now of creating wallets in the Ethereum ecosystem. At this time I'm creating an application that allows users to create their own wallets but I'm very confused on the ...
0 votes
2 answers
19 views

Can't load ethereum object from metamask-react in TypeScript

I am trying to add this code to handle the change of accounts in Metamask... ethereum .request({ method: 'eth_accounts' }) .then(handleAccountsChanged) .catch((err: any) => { // Some ...
2 votes
1 answer
49 views

Can one wallet address have multiple private keys?

On the forum there were some threads about people creating multiple public keys from one private key. I am wondering if the reverse is possible as well. Can 2 private keys create 1 public key. I am ...
  • 21
0 votes
0 answers
9 views

How to change account password using geth javascript console

I am using latest 1.10.26 geth released, and want to change the password of an existing Ethereum account by using geth javascript console, but haven't found any relevant information in the ...
  • 101
0 votes
1 answer
408 views

disconnect account with ethers.js

I created a connect button in my dapp wich calls 'eth_requestAccounts' to connect an account to my dapp like this: await window.ethereum.request({ method: 'eth_requestAccounts' }); or like this: ...
2 votes
2 answers
66 views

Account Abstraction still requires EOA signatures?

I was under the impression that with account abstraction, I would be able to directly initiate smart contract calls without an EOA. However, after reading through zkSync's Account Abstraction example, ...
  • 23
1 vote
1 answer
89 views

How to generate thousands of wallets out of a mnemonic phrase?

I have this code which generates a single wallet: const ethers = require('ethers') const wallet = ethers.Wallet.createRandom()console.log('address:', wallet.address) console.log('mnemonic:', wallet....
  • 45
0 votes
0 answers
15 views

How does the process of a value transfer in any eligible transaction work for Ethereum?

EOA = Externally-Owned Account CA = Contract Account From my understanding, you can have a value transfer in an EOA to EOA transaction as well as in an EOA to CA (and further CA to CA transactions ...
0 votes
0 answers
42 views

why cant smart contract receive ether like externally owned account without a receive/fallback function?

why do smart contracts requires a receive function to accept ether? what prevents the smart contract from receiving ether like an externally owned account(EOA) directly without any functions? What was ...
0 votes
2 answers
129 views

remix could not detect the metamask's account

I find that unlike the other tutorial, there is no injected web3 option, but injected provider - metamask. And when I click it, the metamask shows that it is connected, however, the remix could not ...
  • 103
1 vote
2 answers
24 views

My additional accounts are gone

Now my metamask crashed and I had to reinstall. Only my original account is showing, not the additional 9 account which were created on the original account. Is there any way to link these other ...
  • 11
2 votes
2 answers
189 views

Is there a way to find out the first transaction sent TO an account?

Is there a way to find out the first transaction sent TO an account? Hey everyone, I know that given an address, I can check if a given transaction is the first tx.from by checking its nonce. Nonce == ...
1 vote
0 answers
24 views

sign message with account imported from private key

I try so sign my message but i have this error: Error: Provided address [object Object] is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted. ...
0 votes
0 answers
13 views

Connect account created by personal.newAccount() to the blockchain

I created a private blockchains with two nodes running on different VMs. I implimented a SC (Smart Contract) on one of the nodes. I want multiple users to store their information using the SC. ...
0 votes
0 answers
31 views

Sign Message with Metamask In Pugjs Webpage

I have a NUXT app that involves signing a nonce with Metamask (NUXT is basically Vue with Server Side Rendering). This is the component where you sign a nonce to log in: handleSignMessage(...
2 votes
0 answers
49 views

How to effectively gather ETH across multiple accounts?

I have a online payments service which allows clients to pay with ETH. For each client paying, I generate a new ETH deposit address. When the funds arrive, I can then mark the clients invoice as paid, ...
0 votes
0 answers
25 views

Web3.py create new account does not have "pre-fund" anymore?

I would like to ask, previously when creating the -> web3.eth.new.account to get Account[0] and I remember, that web3 does "Pre-Fund" the Account[0]? What is the command line? Or it does ...
  • 1
0 votes
0 answers
117 views

How to create a snapshot of all ETH balances at a given block

A similar question can be found here: How to take a snapshot of addresses and balances of all normal addresses? The top solution is still possible today, but the 1-2 week timeline is unfeasible. ...
  • 91
0 votes
0 answers
7 views

My account has been dissibelized

What is the reason for Disibelizing my account? I did not do anything special at GitHub.I only participated in DexGuru's proposals.
  • 1
1 vote
0 answers
35 views

I don't understand this part of the Ethereum Documentation (storageRoot)

This is from the account part of the Ethereum Docs, 4 fields of an account were described of which i am unable to understand this one. (storageRoot)
0 votes
1 answer
45 views

What is 'value blindness' in the ethereum whitepaper?

Vitalik wrote the following in the Ethereum white paper. Value-blindness - there is no way for a UTXO script to provide fine-grained control over the amount that can be withdrawn. For example, one ...
0 votes
0 answers
23 views

How to create using Mnemonic in Web3.js? [duplicate]

I want to create an account with mnemonic in WEB3.JS I tried using web3.eth.accounts.create() but the only argument is entropy and it returns only { address: "", privateKey: "&...
0 votes
1 answer
53 views

How accounts are protected from sending money from it to smart contract

I wondering how accounts are protected from sending money from it to smart contract example code: smart contract pragma solidity >=0.4.22 <0.9.0; contract TransferService { mapping(address =...
0 votes
1 answer
133 views

Can't connect metamask to React app in production

I have a React app that can connect to my browser's Metamask in my development environment, but the version deployed on Netlify can't connect to Metamask. My code for getting my web3 provider is ...
0 votes
2 answers
57 views

Deleting values from a struct

how do i go about removing values from inside a struct and or a mapping. For example iam creating a smart contract that acts kind of like a vault, iam not yet finished but i have a create an account ...
0 votes
0 answers
65 views

What does "eth.getAccounts()" do on geth console?

The Ethereum documentation says "eth.getAccounts()" returns all the accounts the node controls. On the other hand, eth.accounts shows the account that I created on geth node with personal....
0 votes
0 answers
73 views

what is the difference between personal.initializeWallet and personal.newAccount in geth?

what is the difference between personal.initializeWallet and personal.newAccount in geth? I used to think ethereum wallet and account are the same thing. But Ethereum documentations state otherwise. ...
0 votes
1 answer
33 views

Are wallet addresses in the crypto exchange website actual ethereum accounts?

a newbie here, I am trying to understand how ethereum based CEX's work. Users create accounts/wallet addresses (not email-linked user accounts) on the exchange. Are those addresses actual ethereum ...
0 votes
1 answer
64 views

Distinguish between function calls from externally owned accounts, and from another smart contracts

I wanted to know how to distinguish between a function call from an externally owned user account and a function call from another smart contract in solidity. Can anyone help me with this?
  • 133
0 votes
1 answer
431 views

Telling contracts from EOAs using ethers.js

I'm trying to figure out whether a given address is: a contract an EOA unknown I know that only contracts can have code. Therefore, provider.getCode(address) returning anything but 0x tells me ...
  • 396
0 votes
1 answer
302 views

Why is the method in receive() external payable{this.withdraw Funds();} not called in Solidity?

I wrote a smart contract that, when receiving money to my address, should automatically transfer 50% to the 1st wallet address, 25% to the second, 25% to the third. For some reason it doesn't do it ...
  • 129
0 votes
0 answers
50 views

multiple same seed metamasks connected to same website but in different locations

well, I don't think they are independent because having 2 in the same seed account they are connecting strangely to both web accounts I use, instead each account should be connecting to each different ...
0 votes
0 answers
23 views

Is possible to remove an already hosted smartcontract and already hosted web3.js/ethers.js bot?(I mean Ethereum & Polygon;I have a private wallet key)

I need that when money is credited to the Metamask (Ethereum and Polygon) wallet, the money is automatically transferred to the smart contract. I was advised to write a bot on web3.js and ethers.js ...
  • 129
0 votes
0 answers
40 views

How to make it so that when money comes to the Metamask wallet, they are automatically redirected to this smart contract? [duplicate]

I wrote a smart contract on Solidity, which, when receiving money to its address, redirects 50% to the first wallet, 25% to the second wallet. How to make it so that when money comes to the Metamask ...
  • 129
1 vote
1 answer
299 views

How to transfer ethers from a contract to another SPECIFIC address?

I want to write a smart contract that, when receiving money, transfers 50% to a specific address of the first wallet (0x583031D1113aD414F02576BD6afaBfb302140225) and transfers 25% to a specific ...
  • 129
0 votes
2 answers
79 views

Integrating metamask with customer profile

We are heading for "traditional" consumer markets for which Blockchain is mostly unknown. Therefore we are seeking for possibilities to keep the blockchain as "far"/unvisible for ...
  • 1
1 vote
1 answer
51 views

Use getAccounts on metamask to identify user. Some security issue?

I want to make a page that uses the user's account address to release certain private content for him/her. The idea is to get that information from metamask. I would like to know if there is any ...
2 votes
1 answer
771 views

encode SignTypedDataV4 using encode_structured_data in python

TL;DR I am trying to use web3.py and eth_account to encode and sign a EIP-712 message with arrays and I am running into an error: KeyError: 'address' So, how can I encode this message? Context: ...
  • 21
0 votes
1 answer
464 views

locked vs unlocked account in Ganache, what is the password?

I still don't understand this issue of locked and unlocked account, so I decided to test it with Ganache. I can transfer ETH from one account to another using sendTransaction with no problem. So I ...
0 votes
1 answer
86 views

Using test accounts on testnets

I am trying to better understand how testing with test accounts should work. I have my contract and app working locally. I've setup truffle to now connect to ropsten network (via Infura). In that ...
0 votes
0 answers
44 views

Limit an id of ERC1155 to 1 per account

I am working on an ERC1155 contract where id 1 is a free mint, while the other are paid. I made a separate free mint function in which I limit mint to one only for this id using this line: require(...
0 votes
0 answers
392 views

Get account icon and name

I'm using web3.js and metamask-extension-provider in my project to get the signature and public address. Tell me, can I get the name and icon of the account?
1 vote
0 answers
22 views

How long does web3.eth.personal.newAccount() keep a new account unlocked?

I've created a new account on my local geth using web3.js library like this web3.eth.personal.newAccount("1234", (error, address) = { // some code myContractInstance.methods.myMethod(...
  • 115
1 vote
0 answers
35 views

Do Normal Transactions run on the EVM?

I have read that smart contracts are compiled to bytecode and interpreted by the EVM and this changes the internal state of each node. However, I am not sure if normal transactions from address to ...
1 vote
1 answer
280 views

How to create Bitcoin-like wallet structure for Ethereum?

'Hi everyone! Any suggestions for an architecture to reach to Bitcoin's wallet structure for Ethereum? Appreciate any help, R. Geth version: 1.10.12-stable Geth's web3 api version: 0.20.1 OS: Windows ...
0 votes
1 answer
59 views

What is web3's wallet definition and usage?

'Hi everyone! Is web3's wallet definition and usage, the same as in Bitcoin's? Appreciate any clarification, R. Geth version: 1.10.12-stable Geth's web3 api version: 0.20.1 OS: Windows web3.py ...

1
2 3 4 5
11