Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nj/feat/onBeforeSend #1735

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Nj/feat/onBeforeSend #1735

wants to merge 5 commits into from

Conversation

nelitow
Copy link
Contributor

@nelitow nelitow commented Dec 21, 2024

This tasks adds a few features to handle gasless transactions in the Fuel Wallet.
We can set skipCustomFee = true, and this will consider that the fees were paid by a paymaster, hiding the custom fees UI elements and skipping the simulateTransaction logic.
This also runs the onBeforeSend tx modifications hook.
image
Video of a gasless transaction:
https://github.com/user-attachments/assets/269e6cc4-d90b-416b-9489-ff02ae988b53

@nelitow nelitow self-assigned this Dec 21, 2024
@nelitow nelitow changed the title Nj/feat/skip custom fee Nj/feat/onBeforeSend Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants