Linked Questions

2
votes
1answer
277 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: ...
2
votes
1answer
855 views

Can transaction fee be paid by 3rd account? [duplicate]

I have a scenario like that: I have a "Main" account with ethereum client: And there are other two accounts, lets call them: "A" and "B" "A" account will send to "B" account some token (ecr20 token)...
1
vote
1answer
287 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 ...
0
votes
1answer
16 views

An automatically gas payment [duplicate]

I’m a noob in smart contract development so I have a question. Is it possible to make that the smart contract itself can pay gas needed for executing? Or could I chose an address which should pay the ...
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 ...
0
votes
1answer
34 views

API for Gas Transection [duplicate]

I am trying to make a D'app. But I don't know how to fix this issue of paying gas every time. Do the user or owner need to pay everytime they use the application ? can we make it default gas by some ...
0
votes
1answer
64 views

Can a contract hold the leftover gas for later transactions [duplicate]

Is it possible to leave some gas in a contract for future action and / or top up if the contract is stuck. if yes could you please direct me to documentation.
0
votes
1answer
809 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(...
3
votes
0answers
214 views

How to send custom tokens without ether? [duplicate]

I would like my customers to send a custom token without thinking of a certain amount of ether for gas. So I've tried the standard-token at ethereum.org. There's a way described to auto refill the ...
2
votes
0answers
465 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
0answers
57 views

Can a contract pay its own fees? [duplicate]

so I've been working on ethereum for the past few weeks, mainly deploying and interacting with contracts but something i noticed is the high gas usage of using the tokens over time, so i was wondering ...
1
vote
0answers
23 views

Can contract use its own ethers as a gas when calling other contract? [duplicate]

Can rich contract (that holds some ethers) use them as a gas when it would like to call other contract? http://solidity.readthedocs.io/en/latest/control-structures.html gives an example of feed.info....
0
votes
0answers
46 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
39 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
0answers
86 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 ...

15 30 50 per page