Linked Questions

1
vote
1answer
24 views

Is it possible that the contract pays to store data coming from an address with no eth?

So the ideia is like this: contract MyContract { uint mydata; function setData1(uint _data) public { mydata = _data; //normal way (msg.sender pays to store _data in mydata (msg....
13
votes
3answers
4k views

Do users of ERC20 coins need to hold Ether?

Suppose there exists Fancycoin, an ERC20 altcoin which has some functionality implemented by the EVM. It does some nontrivial things that take up gas. According to my understanding, I can receive ...
0
votes
2answers
53 views

Ho can a server act for third party?

I will try to explain my idea. Our server receive data to save from different servers, we call it S1, S2 and S3. Our server uses a node script with web3.js to call function over a contract. Actually ...
0
votes
1answer
24 views

can a gas comission be paid by the owner? [duplicate]

I want to create a token but, I want people to send the tokens without them paying for the gas, is there any command to do this
0
votes
0answers
12 views

How to use oraclize fee from contract balance instead of sender's wallet? [duplicate]

I am using oraclize query. I have a function that user's invoke but I dont want users to pay the gas fee for oraclize query, I want that fee to be paid by my contract balance, and if my balance is not ...
0
votes
1answer
27 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 ...
24
votes
5answers
18k views

Paying a transaction fee with an ERC20 token

As far as I understand, one of the ERC20 token's features is that you can pay a transaction fee with it. In other words, you can send them without having Ether. I transferred REP tokens to the ...
0
votes
0answers
97 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
74 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 ...
2
votes
1answer
186 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 ...
0
votes
1answer
18 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 ...
11
votes
4answers
4k views

How to make someone else pay for Gas?

My understanding is that msg.sender pays the gas fee. Can a smart contract be written in such a way that it's always the contract owner who pay the fees? As an example, in an ERC20 token when someone ...
2
votes
2answers
1k views

How do I pay gas on behalf of users?

I have a mobile app that has users who generate transactions. Basically if a user wants to turn on their TV, they press a button in the app, and that should 1) Run code in a smart contract to verify ...
0
votes
1answer
35 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
73 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.

15 30 50 per page