Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
6 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.
user avatar
  • 1
1 vote
0 answers
12 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)
user avatar
  • 11
0 votes
1 answer
15 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 ...
user avatar
0 votes
0 answers
18 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: "&...
user avatar
0 votes
1 answer
37 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 =...
user avatar
0 votes
1 answer
20 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 ...
user avatar
0 votes
2 answers
31 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 ...
user avatar
0 votes
0 answers
18 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....
user avatar
0 votes
0 answers
17 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. ...
user avatar
0 votes
1 answer
17 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 ...
user avatar
0 votes
1 answer
22 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?
user avatar
  • 133
0 votes
1 answer
53 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 ...
user avatar
  • 357
0 votes
1 answer
47 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 ...
user avatar
  • 117
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
1 vote
1 answer
31 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 ...
user avatar
0 votes
2 answers
42 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 ...
user avatar
  • 1
1 vote
1 answer
26 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 ...
user avatar
1 vote
0 answers
144 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: ...
user avatar
  • 11
0 votes
1 answer
149 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
0 votes
0 answers
18 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(...
user avatar
0 votes
0 answers
117 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?
user avatar
1 vote
0 answers
13 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(...
user avatar
  • 111
1 vote
0 answers
24 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 ...
user avatar
1 vote
1 answer
148 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 ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
0 votes
1 answer
110 views

How to create a wallet?

'Hi everyone! I'm wondering if anyone has trouble using web3's create wallet method? I do not have access to web3.eth.accounts.wallet command through my Geth's console. Appreciate any help, R. Geth ...
user avatar
-1 votes
1 answer
33 views

How to restrict a function call only to the owner of a private key of a public key in a parameter (many users)?

Let's say, there's something like a lottery. And there's a function in a smart contract that allows ANY user among users to check whether he's won something or not. If he has, it'll allocate the coins ...
user avatar
1 vote
1 answer
56 views

Remove account from ethsign

I am using ethsign from the dapptools suite, and I have a private key imported that I can see with ethsign ls. How do I remove it? For example, go from: $ ethsign ls ...
user avatar
0 votes
0 answers
76 views

How to get all account list in OpenSea?

I am going to obtain all transactions on all accounts in OpenSea. I also want to get all collections in OpenSea. My plan is to first get all account addresses and then use the etherscan API to get ...
user avatar
0 votes
0 answers
23 views

Ethereum Accounts

I’m a starter and want to understand how are our wallets(public & private keys) are linked to an account on the mainnet. For example: if I generate a random private key and also get the public key ...
user avatar
0 votes
0 answers
92 views

Metamask version 10.6.2 hanging when importing account with JSON file

Today I manually installed Metamask version 10.6.2 to get around an issue I was having with version 10.6.1. I also tried to the following on version 10.6.1 and got the same result. When I try to ...
user avatar
  • 115
0 votes
1 answer
175 views

How to create/load/get address of/send transaction from/create accounts under my ETH wallet? (Clarification on wallets and accounts in the ETH node)

I'm totally new to the concept, but "how can I create/load/get address of/send transaction from/create accounts under my ETH wallet" in Ethereum node? I'm implementing Ethereum node on my ...
user avatar
1 vote
0 answers
108 views

Metamask setup on Iphone creating different accounts to SAME seed phrase through PC

I have a conundrum... So I created my initial Metamask account on my iphone I'll call this SEED_1. Using 4 'accounts' over the past year on this phone. I then decide to start using metamask on my ...
user avatar
  • 11
0 votes
0 answers
27 views

Hello im new to all this and in not sure how to figure things out

Yesterday I started the day with 16k in my saitama inu account, I was swamping saitama for ETH on uni swamp, I was swamping 7800 so it sent me back to my trust wallet to approve it so once i hit ...
user avatar
1 vote
1 answer
44 views

Identical account hash in mainnet and testnets

The other day I was checking on my two ethereum accounts (they are 4+ years old). There was a small "!" in etherscan.io that caught my eye: it alerted me that my first mainnet account hash ...
user avatar
  • 293
2 votes
2 answers
174 views

I want to get Public key from transaction

I want to get public key from transaction. For example, TXID : 0x191095343fd26cbb4c58996aa6512d5cdf43281d565072bab8d0d5ea9e3d644e I have tried "Get Raw Transaction Hex" in etherscan and use ...
user avatar
0 votes
0 answers
41 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, ...
user avatar
0 votes
1 answer
112 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 ...
user avatar
0 votes
2 answers
44 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 ...
user avatar
0 votes
0 answers
52 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-...
user avatar
  • 101
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
444 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 .
user avatar
0 votes
1 answer
113 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 ...
user avatar
  • 227
0 votes
0 answers
97 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&...
user avatar
0 votes
0 answers
64 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 113

1
2 3 4 5
11