0

This question already has an answer here:

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.

marked as duplicate by Roman Frolov, Achala Dissanayake, eth Mar 11 '18 at 8:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

No. You can put some ether on contract’s balance, but contracts do not have a possibility to pay for transactions. There always should be a normal user account (i.e. not smart contract) paying for a transaction.

  • Thank you for your kind respond, will delete the message shortly, – Arash Kiani Mar 12 '18 at 10:13
  • I'm just wondering If person A wants to interact with person B through a contract and pays for the transaction / Gas. what is the right approach ? – Arash Kiani Mar 12 '18 at 10:16
  • I'm trying to keep it automated & decentralised – Arash Kiani Mar 12 '18 at 10:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.