Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
chaitanyapotti
previously approved these changes
Oct 12, 2026
…h/Web3Auth into feat/EMBED-457-gasless-transfers
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira Link
https://torusresearch.atlassian.net/browse/EMBED-457
Description
Add a
gaslessTransfersflag to the no-modal SDK account-abstraction config.smartAccounts.gaslessTransfersis copied intoaccountAbstractionConfig.accountAbstractionConfig.gaslessTransfersoverrides the dashboard value.gaslessTransfersis true without MetaMask smart account type and EIP-7702.Related:
How has this been tested?
@web3auth/no-modal.noModal.test.tsgasless config cases passed in Chrome and Safari.Screenshots (if appropriate)
N/A
Types of changes
Checklist
Test plan
gaslessTransfers: trueand MetaMask EIP-7702. Config is true.gaslessTransfers: falseand dashboard true. Config stays false.gaslessTransfers: truewhen dashboard omits the flag. Config stays true.gaslessTransfers: trueon Safe / EIP-4337 throwsWalletInitializationError.Note
Medium Risk
Touches SDK account-abstraction initialization and validation; misconfiguration now fails fast at init, and gasless mode depends on MetaMask EIP-7702 plus wallet-services integration.
Overview
Adds
gaslessTransfersto no-modal account-abstraction config: dashboardsmartAccounts.gaslessTransfersis merged on init, constructor values override the dashboard, and init throws unless the setup is MetaMask + EIP-7702. Types and tests cover merge/override and invalid combinations.The vue-app-new demo is extended to exercise this: settings for EIP standard (4337 vs 7702), gasless transfers, and local wallet services (
localhost:4050); AA options passsmartAccountEipStandardandgaslessTransfers, omit per-chain bundler config for 7702, and still apply wallet-services confirmation when gasless is on without the widget button. The dashboard adds ERC-20 transfer testing (defaults per chain, e.g. Arbitrum0xa4b1).Reviewed by Cursor Bugbot for commit e3b1b50. Bugbot is set up for automated code reviews on this repo. Configure here.