Linked Questions

0
votes
1answer
29 views

Execution gas cost

I use web3 and truffle to get info about my testnet transactions. There are few fields about gas used per transaction, such as: gasPrice, gas, gasUsed. But how to get field 'execution cost'?
4
votes
3answers
67 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 ...
0
votes
2answers
19 views

If Ethereum gas charges based on the individual CPU instructions

I'm trying to understand exactly how gas works. Wondering if it charges based on actual individual CPU instructions (like Assembly-level x86 instruction set architecture level of detail), or if it ...
2
votes
1answer
30 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 ...
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....
0
votes
1answer
63 views

What is the unit of measurement used in GasPrice and GasLimit?

I did a check, in ethgasstation the current safeLow = 15GWei, which is equal = 15,000,000,000 wei However, when I issue eth.getBlock("latest") what I get was: > eth.getBlock("latest") { ...
0
votes
1answer
32 views

How do i know how much eth the receiver will get?

I bought some ethereum a long time ago and I'm trying to buy something with it now. I want to make sure the address I'm sending it to gets a specific amount (say 2.00 ETH). When I enter the "amount to ...
2
votes
1answer
521 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 ?
1
vote
1answer
69 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
46 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
2
votes
2answers
562 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
273 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
3answers
64 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: ...
2
votes
1answer
297 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 ...
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 ...

15 30 50 per page