Skip to content

Update templates#95

Open
AyushBherwani1998 wants to merge 3 commits intomainfrom
update-template-v1
Open

Update templates#95
AyushBherwani1998 wants to merge 3 commits intomainfrom
update-template-v1

Conversation

@AyushBherwani1998
Copy link
Copy Markdown
Member

@AyushBherwani1998 AyushBherwani1998 commented Mar 27, 2026

Description

  • Update templates to Smart Accounts Kit v1
  • Migrate templates from Wagmi v2 to v3

Note

Medium Risk
Moderate risk due to major dependency upgrades (@metamask/smart-accounts-kit v1, wagmi v3, permissionless/viem) that change hook and API semantics across multiple templates, potentially impacting connect flows and delegation/permission transactions.

Overview
Updates all Next.js and Vite React templates to Smart Accounts Kit v1 and refreshes core web3 dependencies (adds @metamask/sdk, bumps permissionless, viem, and pins wagmi to 3.4.4).

Migrates wallet connection/state usage to wagmi v3 patterns: replaces useAccount usage with useConnection, splits connector listing into useConnectors, and updates connect calls to connect.mutate(...).

Aligns Advanced Permissions (ERC-7715) template with updated APIs: adjusts requestExecutionPermissions parameters (to + moved isAdjustmentAllowed), renames permissionsContext to permissionContext when redeeming, and makes permission JSON rendering safe for bigint values. Also cleans up template READMEs for wording/formatting consistency and removes stray debug logging.

Written by Cursor Bugbot for commit 7766b7f. This will update automatically on new commits. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners March 27, 2026 12:22
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.

1 participant