Im creating a user whitelisting contract when a user asks for whitelisting hes paying for the contract execution how do i make it so that the creator of the contract pays for the transaction?

1 Answer 1


you can refund gas with smart-contract but the user has to holds some ether and it's dangerous because hackers can repeatedly call the contract to deplete funds. you can read HERE for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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