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.
Asked
Active
Viewed 147 times
1 Answers
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.
Roman Frolov
- 3,177
- 2
- 11
- 29
-
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