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

Enable paymaster integration #451

Open
petertonysmith94 opened this issue Jan 6, 2025 · 1 comment
Open

Enable paymaster integration #451

petertonysmith94 opened this issue Jan 6, 2025 · 1 comment

Comments

@petertonysmith94
Copy link
Contributor

petertonysmith94 commented Jan 6, 2025

Summary

We've integrated the gasless paymaster with SwayFarm (FuelLabs/sway-farm#91), but were unable to enable the Fuel wallet or any predicate-based (EVM, Solana, etc) wallets. The most up to date integration on SwayFarm is the following PR (FuelLabs/sway-farm#92).

We need to make the following changes to enable these connectors:

  • To allow for the Fuel wallet and predicate-based (EVM, Solana, etc) wallets to be integrated with the gasless paymaster. We need to allow functionality to-resign a transaction before submission. This can be achieved with a onBeforeSend callback on the sendTransaction method.

  • The Fuel wallet requires an additional change to enable skipping of the custom fee calculates. This will skip the simulation of the transaction, which provides an overview of the transaction request. We will achieve this with a boolean flag for skipCustomFee on the sendTransaction method.

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

No branches or pull requests

2 participants