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

feat: eip 7702 support and demo #1268

Closed
wants to merge 13 commits into from
Closed

feat: eip 7702 support and demo #1268

wants to merge 13 commits into from

Conversation

adamegyed
Copy link
Collaborator

@adamegyed adamegyed commented Jan 7, 2025

Pull Request Checklist


PR-Codex overview

This PR primarily focuses on updating dependencies, enhancing the 7702 wallet integration, improving transaction handling, and refining the user interface components related to minting and user operations.

Detailed summary

  • Updated viem dependency version from ^2.20.0 to ^2.22.6 across multiple packages.
  • Added new Counter and NFT smart contracts in examples/ui-demo/contracts/src.
  • Implemented signAuthorization method in LocalAccountSigner.
  • Enhanced MintCard7702 and Wrapper7702 components for better user experience.
  • Introduced WalletTypeSwitch for selecting wallet types.
  • Added transaction handling and state management for minting processes.
  • Updated configurations for solhint and added relevant scripts for linting.
  • Removed deprecated .mdx files related to smart contracts.
  • Improved code organization and readability across various components.

The following files were skipped due to too many changes: examples/ui-demo/src/components/shared/7702/useMint.tsx, examples/ui-demo/src/components/shared/user-connection-avatar/UserConnectionDetails.tsx, examples/ui-demo/src/components/icons/settings.tsx, account-kit/smart-contracts/src/ma-v2/account/semiModularAccount7702.ts, examples/ui-demo/src/components/shared/7702/dca/abi/erc20Mintable.ts, examples/ui-demo/src/components/shared/7702/Debug7702Button.tsx, account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts, account-kit/smart-contracts/src/ma-v2/account/semiModularAccountV2.ts, examples/ui-demo/contracts/broadcast/DeployNFT.s.sol/911867/run-1736807829.json, yarn.lock, examples/ui-demo/contracts/pnpm-lock.yaml, examples/ui-demo/contracts/broadcast/DeploySwapVenue.s.sol/911867/run-1736537366.json

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 1:30am
aa-sdk-ui-demo ❌ Failed (Inspect) Jan 23, 2025 1:30am

Copy link

graphite-app bot commented Jan 7, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

moldy530 and others added 4 commits January 10, 2025 11:27
* feat: adds initial impl of signAuthorization

* docs: adds signAuthorization documentation

* fix: rename var
import { MintCard } from "../shared/mint-card/MintCard";
import { Debug7702Button } from "../shared/7702/Debug7702Button";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <@typescript-eslint/no-unused-vars> reported by reviewdog 🐶
'Debug7702Button' is defined but never used.

@adamegyed
Copy link
Collaborator Author

closing as this has been split into two PRs for ease of reviewing - #1287 for the core support, and an upcoming one from adam/7702-ui-demo for the UI demo.

@adamegyed adamegyed closed this Jan 24, 2025
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.

3 participants