Linked Questions

3
votes
1answer
1k 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 ...
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 ...
2
votes
2answers
16k 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)?.
2
votes
2answers
656 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?
2
votes
1answer
31 views

Should I pre-buy gas to effect ethereum transaction?

I am new to ethereum. I have a few questions. Should I pre-buy gas to effect ethereum transactions? Or can I just set what is the gas price I am willing to pay so that at the time of transaction the ...
2
votes
1answer
455 views

EVM opcodes-prices

1) Why are opcodes in Ethereum priced the way they are priced and why is the 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 ...
2
votes
1answer
331 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 ...
2
votes
2answers
542 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#...
2
votes
1answer
242 views

Solidity browser compiler crashes

It seems like every time I try to execute a contract function through the browser compiler that requires more than around 50k gas (give or take) to execute, the browser tab's memory gets to around 1GB ...
1
vote
3answers
67 views

Can blockchain technology can ever be useful if the currency conversion to fiat money is volatile? [closed]

From my limited understanding of blockchain technology in general and ethereum in particular, whatever the token, or ether that this technology uses, eventually it has to be related to fiat money. Eg: ...
1
vote
2answers
228 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]...
1
vote
1answer
99 views

What would be the cost of this transaction to end user?

A simple question on gas spent on a transaction here. I'm experimenting with testnet transaction on a simple contract that stores a value, trying to figure out how much a client would pay. What would ...
1
vote
1answer
94 views

How to do performance evaluation?

How to do the performance evaluation in terms of secs or minutes? what is the command to use in solidity?
1
vote
1answer
48 views

Transaction fees in ethereum [duplicate]

I have created an ERC20 token, but whenever I want to trnasfer it, transaction fees is deducted in ethers. But I donot want to but ethers. Cant the fee be deducted in terms of my custom token? Thanks
1
vote
0answers
42 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....

15 30 50 per page