-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add SDK EIP-7702 tutorial #2227
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions added
e466717
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
# Conflicts: # delegation-toolkit/get-started/smart-account-quickstart/eip7702.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
import { parseEther } from "viem"; | ||
// add-start | ||
+ import { getCallsStatus } from "@wagmi/core"; | ||
+ import { wagmiConfig as config } from "@/providers/AppProvider"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Missing wagmiConfig
Export Causes Compilation Error
The tutorial imports wagmiConfig
in Step 5 for getCallsStatus
, but the AppProvider.tsx
section in Step 2 only shows exporting connectors
. It doesn't include instructions to define and export wagmiConfig
, which will cause a compilation error when users try to use getCallsStatus
.
Description
Add SDK tutorial for creating a Wagmi and Next.js dapp to send atomic batch transactions, upgrade your EOA to a smart account, and check transaction status.
Issue(s) fixed
Fixes #2198
Checklist
Complete this checklist before merging your PR: