1

Has there been any research or development done around gasless txns? I'm looking to record particular txns for user provenance that have little intrinsic value now, but likely will in the future.

I'm trying to avoid forcing a user to spend gas on a tx that does not immediately help their experience or provide value.

Thanks.

-K

1 Answer 1

1

No, every transaction in Solana has to pay a certain transaction fee.

Calculating Solana Fees

But you can close accounts to retrieve your Sol back. So you might add an instruction that closes the user's PDA in case he doesn't want to interact with the program anymore. In that case, he will get the Sol back.

Close smart contract to get deployment funds back?

How to close a PDA account?

Hope this helps!

2
  • 2
    Good summary on the behavior - thank you. I see things like github.com/solana-labs/octane trying to get creative with the tx processing and how fees are proxied into sol. Please all keep the thoughts and comments coming - the feedback is appreciated. Commented Jan 12, 2023 at 13:43
  • I was going to post about Octane, that's your best bet at the moment.
    – Jon C
    Commented Jan 17, 2023 at 18:54

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.