Withdraw fee coverage
from Vitali Kachan
Hi there.
In my app I allow deposit and withdraw some Jetton.
I would like to implement withdrawal in such way that user compensate transaction fee (something like 0.05 TON for Jetton transfer). I have several ways to implement it using tonSDK like:
- ask transfer 0.05 TON to may wallet and then send Jettons
- as Jetton has fixed rate to ton - convert fee to Jetton and take it from withdrawal
- add some entity like withdrawal token - user buy some withdrawal tokens amount and then can use it to withdraw Jetton.
But I feel it could be done simpler, like built in feature or may be some well know smart contract, but I'm quite new it this topic.
Could you suggest me something?
š Answer on TON Overflow
Dec 18, 2023, 12:59 PM