Linked Questions

2
votes
2answers
15k views

How much is 1 gas in ether? [duplicate]

On Etherscan the daily GasUsed chart shows current usage of 10-15 bill. How do I convert this correctly to ether (ETH)?.
0
votes
1answer
183 views

How does gas in Ethereum works? [duplicate]

Let say I have a code that print "Hello World". I deploy it to the blockchain and pay 1000 gas for it. Will my code keep running for every subsequent block till it runs out of gas? Or will it only run ...
1
vote
0answers
36 views

What's the point in the 'gas' parameter passed to function 'signTransaction'? [duplicate]

I am using web3.js v1 in order to sign and send transactions: async function signAndSend(transaction) { let options = { to : transaction._parent._address, data: transaction....
-1
votes
0answers
27 views

difference between Gas and ether [duplicate]

How the Gas and ether is different in Ethereum a) Is there any built in calculation in converting Gas to ether. b) Is there any chance to change the conversion logic time to time
0
votes
0answers
22 views

The mega-confusion named Gas [duplicate]

I have gone through probably 3000 online resources but didn't quite get a reply to my question. I am sure the experts here can address the issue and help me out. My question is - Everyone says that ...
137
votes
2answers
25k views

What is the difference between a transaction and a call?

What is the difference between a transaction and a call? In some interfaces, I can interact with contracts via calls or via transactions. What is the difference between the two, and can contracts also ...
81
votes
2answers
46k views

Which cryptographic hash function does Ethereum use?

Many sources refer to the use of the "SHA3" cryptographic hash function within Ethereum, but the Ethereum project began before the SHA3 standard was finalised, and there was some confusion/controversy ...
21
votes
2answers
15k views

How do I know how much gas to use when calling a contract?

When I am calling (sending a transaction to) a contract how do I determine how much gas to use? Is there a way to calculate this upfront & what happens if I send too much / too few gas?
13
votes
3answers
9k views

Is it possible to build a private (permissioned) blockchain with Ethereum?

Ethereum is a great blockchain, but for some services the transaction fee is prohibitively too expensive. Is there any project and/or guideline on making Ethereum so it works on permissioned ...
7
votes
2answers
2k views

Who gets the fee from contract call?

Basically you don't need to pay fee for contract call, but if a contract method does lots of work, you need to add gas in contract call to prevent DoS attack like this: contract.method.call({gas: ...
3
votes
3answers
4k views

What is the point of variable transaction fees in Ethereum (and Bitcoin as well)?

After reading through the docs and through this post, I understand the concept and need for gas, but I do not understand why each transaction can have a variable fee associated with it. It seems to be ...
10
votes
2answers
688 views

Why does Ethereum have gas?

Why does Ethereum have gas? What other approaches could Ethereum have used to work around the Halting Problem?
2
votes
2answers
3k views

If the price of ether coin goes up, does it mean less likely people are going to build application on the ethereum network?

If I am not mistaking, application developers need to pay using ether coins to have their application hosted on the ethereum network. So if the price of ether keeps going up like it is now, doesn't it ...
4
votes
1answer
4k views

How to Set Gas Price in Private Blockchain?

I admit that I don't understand Gas at all. But I think it is basically the currency which dapps use to interact with each other and the blockchain. Yes? If you're creating a custom/private network,...
8
votes
1answer
946 views

Can a transaction get lost?

Given that I am connected to the network with at least one peer, can I be sure that a transaction I sent will be executed (either with fail or success)? Is there a possibility that it will never make ...
4
votes
1answer
2k views

Where exactly do DApps run? Who gets rewarded for running them? [duplicate]

So I am currently running a full node, as well as a GPU miner. I am curious first of all where do DApps get run? They wouldn't make sense to run on a GPU as they aren't very parallizable, so I am ...
5
votes
1answer
934 views

What's the difference in the ways of calling a contract function?

After I get an instance of a contract, there are 3 ways to call the contract function below: 1.testInstance.testfunc({from:eth.accounts[0]}) 2.testInstance.testfunc.sendTransaction({from:eth.accounts[...
2
votes
1answer
520 views

what is difference between “gas” “gas price” and “fee”?

Can we say that gas is the unit of transaction fee ? And gas price is the same transaction fee ? If so, why we do not use ether and wei instead of gas ?
2
votes
2answers
559 views

why are Transactions paid in Gas and not just Ether directly [duplicate]

All the explanations I heard for the Gas usage, could imho also be dealt with in Ether directly. What is it that Gas does that couldn't be done with Ether directly?
4
votes
1answer
991 views

When calling a smart contract function, who gets paid and how much does the caller pay?

This is an extended question to What is "gas" and transaction fee in Ethereum?. Who gets paid and how much does the caller pay? Let's make some assumptions: There is a function F which ...
0
votes
1answer
2k views

myetherwallet.com is taking forever [duplicate]

I sent a transaction over 6 hours ago from myetherwallet to an outside address with the site's suggested 21000 gas limit. Its up to over 1000 block confirmations but still has not completed, yet ...
0
votes
2answers
712 views

When Ethereum price goes up does complexity go up too?

And what is their relationship? Is it linear, exponential. For example, if ether were to double in price tomorrow, does that mean the complexity is twice as much, or... ?
5
votes
2answers
133 views

Call Smart Contract every 5 Second

Is it possible the call a method of a smart contract every 5 seconds? Lets say i want to call a webservice or an other smart contract in order to get the actual value? That is not possible or? In ...
2
votes
2answers
422 views

ERC20 Transaction Fee - setFeeCurrency

Hi i now read everywhere that a transaction fee has to be paid in ETH. But I also found via the ethereum page the following page: https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs#...
0
votes
1answer
367 views

Are transactions really instant?

I am new to blockchain in general and still trying to nail down some basic concepts, this being one of them: if a new block is added to the chain approximately every 10 minutes, does that mean a ...
0
votes
2answers
316 views

GAS price structure

how to decide gas price while writing smart contract ? and how to know how much gas is going to be used while each token transaction ? and on https://ethgasstation.info/ mentioned price is ...
2
votes
1answer
270 views

EVM opcodes-prices

1) Why are opcodes in Ethereum priced the way they are priced and why is die EVM so expensive? 2) Right upfront, I do not say that it is too expensive to perform a tx on Ethereum, I just say that ...
1
vote
2answers
188 views

Why is my account balance after executing the contract so different?

I'm writing a test for a Lottery contract: var Lottery = artifacts.require("./Lottery.sol"); contract('Lottery', function (accounts) { var ACC_FABIAN = accounts[0]; var ACC_RENE = accounts[1]...
2
votes
1answer
295 views

Digital asset management dapp using Ethereum

I am new to ethereum and also I have tried out some examples for building smart contract using truffle and ganache. But I want to make Digital asset management dapp using ethereum. Like, if have I ...
4
votes
3answers
65 views

Can a “forward” smart contract forward the received ether to another “forward” smart contract which forwards it to an address?

I am pretty new to solidity. I am trying to create a smart contract which deploys another smart contract and transfers ether to the newly created contract when a payment greater than 0.01 ether is ...

15 30 50 per page