0

I'm new to polygon technology. In my contract there is a function that accepts payment. My questions are:-

  1. Can gas fee be paid in ethereum ETH?
  2. Can I accept payment in ethereum ETH?
  3. If is ask users to convert their ethereum ETH to polygon ETH, then when they call my function there have to first approve polygon ETH(WETH) as it is an ERC20 to transfer it to my contract. Then in my function I have to call transferFrom function of WETH. Also they have to pay gas fee in Matic. Is this flow correct?
1
  • You should add the base of your question in the title for more help ;) @Radiant_Performer_39 Commented Nov 10, 2022 at 14:03

1 Answer 1

1

1/ Gas fee will be in Matic, because as you know it s a layer2 and ensure is gas cost on his own, to pay the minters.

2/ To do so you need a bridge Eth-OwnToken

3/ It seems correct, ETH---(cost converstion)--->MATIC then, Callfunction---(gas fee)--->Result

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.