New answers tagged

0

As you clarified in the comments, you wish to 1) set up a full node 2) hold ether and 3) develop dApps As to write an answer so extensive would be an over kill I want to link articles that help you do what you need: Set up a full ethereum node Build your first dApp You will need: Geth, Truffle and Metamask. Good luck.


1

In my opinion you're missing a key concept: decentralization. There is no official anything. There is no official website. There is no official wallet or software or anything. It's a decentralized network where everyone can build whatever tools they want. Yes, the Ethereum Foundation has a website (which isn't the best) but it's just one of the million ...


1

If it is a legit seed phrase you can import it into most of the wallets. The seed phrase standard is called BIP-32. However the amount of seed words - 29 - strikes me odd. Usually you have 12 or 24 words and I have never heard of 29 words one. Maybe you inserted in some fake words?


3

Yes, there is a special calculation you are not including, it is the reward for Uncles. Here is the exact algorithm that does this math: func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header *types.Header, uncles []*types.Header) { // Select the correct block reward based on chain progression blockReward := ...


0

me also happen but in different way. i created a new adding account in metamask but suddenly that new account have some small amount of 0.002eth. I checked in etherscan and found that it was transferred 4 month ago by somebody account. what going on i dont know.


0

The result from the Etherscan GET request's response must be divided by 1018. As answered in this post regarding ERC20 tokens decimal places, "Most ERC20 tokens should follow the pattern of using 18 decimal places for their token." This applies to Ether itself. Therefore, the result response of 86354095000000000 is equal to 0.086354095 Ether. (...


0

Well obviously in this example you need to do the formatting by your self. The presented return value is in wei, you can convert it into eth by using web3 library: web3.utils.fromWei('86354095000000000', 'ether'); This will return a 0.086354095 value.


0

Transaction details will help someone possibly help you with more specific guidance. I can say this. Etherscan is an observation utility for the transparent blockchain. Your ethereum is most likely where you sent it, or alternatively, the transfer failed so it is still at the origin. It's observable from Etherscan among many other tools and services that can ...


2

You are mostly correct in your analysis. Sending ETH from account A to account B will always cost (21000 * gasPrice). If you send ETH from account A to account B and C, you will have to do 2 transactions - A to B, then A to C. So you will pay twice as more fees (2 * 21000 * gasPrice). Examples: From A To B, C and D - 3 transactions (A-B, A-C, A-D), so 3 ...


1

There's a few small errors your code, but unfortunately the Solidity errors aren't very helpful in this case. After a function or enum declaration you can't use ;, so your enum should be: enum Statuses { Vacant, Occupied } You're missing a ; after the require in the costs modifier: You're missing a _; in the costs modifier. If you change it to the ...


2

To send funds in a function call to another contract you can use something like this: contract X { function transfer(address dest, uint amount) public { ... } } contract Y { function take() public payable { // Reference an existing contract at an address X ref = X(addressOfX); // or if creating a new instance at a new address: X ref = new X();...


0

Some how, this works fine in test networks like Rinkeby I used ganache in remix and it still fails. I think the problem is ganache, I don't know how to fix it. But for some reasons ganache doesn't support this line code: anyAddress.transfer(amount); maybe some one can find the answer


0

My metamask has been compromised, as soon as eth is deposited it is automatically shipped to another address, however I still have numerous other coins in there. How can I transfer them out without eth that will just get stolen the minute I deposit it. Any help would be amazing.


0

Both of those are right. The main idea is that there is a contract which does the logic. This is the "wrapper contract" the first quote is referring to. If you don't use a contract, you have to send individual transactions which can only do one thing: transfer one token amount, for example. There are two ways to transfer ERC-20 tokens: direct ...


0

I wonder if I'm allowed to answer this :) I edited the quoted answer as it could've been interpret incorrectly. Now it says: For Ether transfers the Ether value is always taken from the sender's balance and you can't take it from other accounts (that would be a rather big security hole). You can't take them in one transaction even if you have their private ...


1

The base number of gas needed for any transaction is 21,000 gas. Like you mentioned, sending Ether from an EOA to an EOA, without any data in the transaction, will always take exactly 21,000 gas. Any gas on top of that is determined by a few things: Transaction data: any zero byte of data costs 4 gas for example, and any non-zero byte costs 68 gas. Contract ...


4

If the contract did not initially include the possibility of sending Ether from it to some address, then the funds that came to it cannot be withdrawn (in public Ethereum). The only thing you can do is revise the contract code, that it really does not provide for such an opportunity.


0

You're asking "how does blockchain work?" without asking "how does blockchain work?" To answer your question requires a literal lesson on how Ethereum works. It's clear that you've not taken the time to understand the fundamentals of blockchains or network design. If you seriously want to understand or develop on blockchains, I highly ...


0

If you want to mine, you have to get your mining node synchronized with the network. To get synchronized there are certain hardware requirements: SSD being one of them. So, since you don't have SSD, you can't get synchronized with the network. And since you can't get synchronized you can't mine either. Even if you installed SSDs it would most likely not be ...


-1

you can use the minergate software. It won't create a lot of profit, but in your case it's worth it I guess. Here's the link: https://minergate.com/eth-mining-pool


1

I guess it depends on the amounts users should deposit. 1 Ether is 1000000000000000000 weis. So if users are supposed to deposit 1 Eth, it means you have plenty of "unused" zeros to use as markers - you could for example use 10 right-most zeros as markers which would give you plenty of unique IDs. But if users are supposed to deposit for example ...


1

Unsure where to start. Ethereum, at its core, is not insecure in any sense. It has been proven time and again to be secure and it works as intended. Now, let's list some things which are not part of the Ethereum core which may be insecure: Wallets. These are created by an arbitrary third party and their security can be whatever. Smart contract. These are ...


0

Updated Answer My transaction will be executed first. But will I pay 1 Ether per GAS or is there something automatic saying I will only pay only 0.51 for example? The amount you pay will not be reduced based on the other bids. Original Answer There is no maximum limit to gasPrice. The gas you end up paying is gasPrice * gasLimit. For a normal transaction, ...


0

Any cryptocurrency other than ETH on Ethereum is a token. Any cryptocurrency which runs on his own platform is a coin.


1

Solidity enables constructors which have code executed at contract creation. So you need to instantiate owner in the constructor to catch the contract deployer address : address payable owner; constructor() public { owner = msg.sender; } There are also standardized contracts to manage ownership. Exemple of implementation can be found here : https://github....


0

A very similar error appeared on my Ubuntu Vagrant VM after uninstalling and reinstalling truffle and then trying to run my truffle tests. Error executing vyper /bin/sh: vyper: command not found My fix was: sudo apt install python3-pip pip install vyper I then had to edit my path in ~/.profile so truffle could find vyper: export PATH=$PATH:/home/vagrant/....


0

I got the answer, you have to pass the full length address to remix. even if it is an address or 0x0 in this case it will be : 0x0000000000000000000000000000000000000000


1

Private key recovery instructions: Download and install NodeJS Create a new folder, and: Copy your key-store file into this folder Create a new file called run.js in this folder Open a command-line terminal in this folder, and run: npm install keythereum node run.js Contents of run.js: const fs = require("fs"); const keythereum = require("...


0

I have the same problem. The error message is the following: "No ethereum address found to fund". I have tried with Twitter and Facebook, but both with the same result. Can anyone send me some ether please? I would like to continue testing rinkeby network. Here's my address: 0x830c058FC9Fd27AffaDAE436A0b60498B18a4175 Thank you in advance.


1

Unfortunately you cannot retrieve funds if you sent them to the contract address instead of the intended recipient.


0

You should look into a project called TurboGeth. It's derived from the Geth code base but has made various improvements (significant lowering of on-disc database size for one -- significant initial sync speed for another). They are working on a solution very similar to what you describe for the same reasons. One of their hoped-for future features is the ...


0

Just divide by the price of the Chainklink feed. The price feed is stable, and you will get very few rejections when the price feed updates. This way, you could set the cost to things like $2 in terms of ETH. Let's say ETH is $600, and we want to set the price to $2 in ETH. We then have this: $600/1 ETH = $2/X ETH We then just do some algebra and get this: $...


2

If you used the Ethereum geth client, then the key information required to access the accounts was in the folder "keystore". If you have lost this data, then it is impossible to restore access to the accounts.


Top 50 recent answers are included