0

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

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.

| improve this answer | |
  • 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.