0

I am a beginner in ethereum DApp development and I am testing my Contracts in Remix IDE. My question is that can I restrict only one account to pay for all the transactions happening on my application since I don't want my application users to pay for the transaction fees at all as that would require that each user must have some wallet like MetaMask or Mist installed. Is this approach correct and is this possible ? How can I implement this ?

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • Unfortunately, this is currently not possible. – Jesse Busman Dec 27 '17 at 22:42
0

As Jesse Busman mentioned in comments, this is not yet possible directly in smart contracts. But you can try to register all the transaction costs and addresses (via events) which payed them so you will refund the list of addresses later.

  • Is it then possible in private ethereum blockchain network to ultimately remove the gas price and gas limit so that miners need not be paid? How can this be achieved ? – Ahsan Jamal Dec 29 '17 at 10:13
  • @AhsanJamal yes, in private chain any transaction will be mined because you own the miner and run it to mine every transaction with no difference in transaction fee. – Roman Frolov Dec 29 '17 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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