Linked Questions

0
votes
1answer
821 views

When a contract transfers ether to an address, who pays the gas?

When a contract transfers ether to an address, who pays the gas? For example: function withdrawRefund(){ uint refund = refunds[msg.sender]; refunds[msg.sender] = 0; msg.sender.transfer(...
2
votes
0answers
476 views

What is the simplest way to allow a contract to pay for gas?

EIP86 and abstraction discussion is exciting for the future, but what are the things we could change first, to allow a contract to pay for gas? For example, for the withdraw transactions on BabyZoE, ...
2
votes
1answer
284 views

Possible to use gas from the balance of a contract?

When calling an external contract function from within a contract, does the gas come from the originating transaction? If so, is there a way to use gas from the contract's balance? example call: ...
1
vote
1answer
297 views

Work around for getting third party contract to pay eth for transactions?

I'd like to find a way for an address to trigger a transaction without paying the cost of eth. I know that two years ago there was some talk about making this a feature of ethereum. Does anyone know ...
2
votes
1answer
135 views

If a smart contract automatic transfer its ether to it's benificiary accounts then who will pay gas price (transaction cost) for this transfer?

I am writing a smart contract of a charity.It pay all the money to it's subscribers in every week. I am puzzled in such point that who will pay the transaction cost of transfer? When I am ...
3
votes
1answer
78 views

Is there any case where a contract will use gas?

I was wondering, why and when is it important to fund your contract with ether? Is this really only ever if you want to send ether from your contract? Does a contract ever need to pay gas for ...
0
votes
0answers
93 views

Who pays for the gas when i send a transaction containing a signed transaction of another user

I would love it if there was a way for me to pay the gas costs for a signed transaction I receive and then relay to a node. So I am the submitting the transaction, but its data contains a signed raw ...
0
votes
0answers
71 views

How dapp owners pay for their clients transcaction fees in the Ethereum Blockchain?

I am currently dealing with a problem in Ethereum Blockchain. I wrote a smart contract in Solidity Language, about a site that someone can make his Registration and after the transaction is completed ...
0
votes
0answers
61 views

Pay for the users gas fee (ERC-721)

Is there a way for an NFT (ERC-721) so the contract creator pays for the gas fee when the user's trade tokens? Or add some sort of middleware CC payment so for the user that is not tech salvage not ...
0
votes
1answer
15 views

Gas deduction on contract creation inside a contract

I want to create a Contract (TokenTimelock from Open Zeppelin) inside of a registry contract. It seems as if my contract needs gas to do this. So I am wondering about using delegate call because I ...

15 30 50 per page