-
-
Notifications
You must be signed in to change notification settings - Fork 1
Update template to v0.13 #10
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Caution MetaMask internal reviewing guidelines:
|
Note
Upgrade to Delegation Toolkit v0.13 and migrate permission flow to periodic transfers with updated APIs, types, and config (drop RPC env).
grantPermissions
withrequestExecutionPermissions
and switch tonative-token-periodic
(0.001 ETH/day) withisAdjustmentAllowed: false
insrc/components/GrantPermissionsButton.tsx
.GrantPermissionsReturnType
toRequestExecutionPermissionsReturnType
inPermissionProvider
.src/components/PermissionInfo.tsx
.accountMetadata
usage; use onlycontext
/delegationManager
insrc/components/RedeemPermissionButton.tsx
.signatory
tosigner
intoMetaMaskSmartAccount
call inSessionAccountProvider
.publicClient
now useshttp()
(dropNEXT_PUBLIC_RPC_URL
)..env.example
/README to reflect onlyNEXT_PUBLIC_PIMLICO_API_KEY
.@metamask/delegation-toolkit
to^0.13.0
and refresh lockfile.Written by Cursor Bugbot for commit 050929e. This will update automatically on new commits. Configure here.