Hello all,
I'm developing a "corporate" DApp, therefore the employee don't have any reason to "spend" their ether/gas for interacting with the contract...
Is there any way to enable each transaction to be Auto-paid by the contract itself? If not how would you address this problem? I cannot pass ETH to employee, because they might "spend it" and at the same time why they would use their own ETH?
Thank you all for any suggestion
Cheers
I liked your idea. That is something I always thought about and it might work.
However you are asking this in the wrong place. You need to look for a solidity forum discussion and you won't find it here. I never saw anyone discussing solidity in this forum.
For that to work, you would probably have to lock your coins in the smartcontract. But wouldn't it be easily exploited?
One good option would be to fund some addresses with the necessary eth to run the smartcontract. When your client wants to interact, you could just mail them the private keys that uses the funded address.
Would that work for you?
The user will have to pay commissions anyway, otherwise he will not be able to interact with the smart contract.
Perhaps there is an easier option, write another smart contract that will return commissions to users once a week.
That's a good idea, to return the commissions, but not very convenient to use.