1

I want to use SolGSN, where the user can't pay the gas fee like transferring the NFT. The admin has to pay the fee. However, this repository is outdated, and I've encountered several errors due to version changes. Are there any other APIs or SDKs available that can help us achieve this? I have also reviewed the approach for gasless transactions, but it's different from what I want to implement. The logic I intend to apply is that the user sends the SPL, but the transaction fee is covered by the admin.

1 Answer 1

1

Yes, there is a few ways to do this. One is using Octane which is a gasless relayer developed by Solana Labs. Another is coding this together yourself. Each transaction has a feepayer field, so if you set this to a different admin keypair the user will not be charged for fees. More on how to do this in this question.

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.