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: add 7702 doc in smart-contracts #1351

Merged
merged 6 commits into from
Feb 12, 2025
Merged

Conversation

adamegyed
Copy link
Collaborator

@adamegyed adamegyed commented Feb 11, 2025

Pull Request Checklist


PR-Codex overview

This PR updates documentation related to EIP-7702, an Ethereum upgrade for Externally Owned Accounts (EOAs) to utilize smart contract features. It corrects links and adds new content about upgrading EOAs to smart accounts using EIP-7702 with Account Kit.

Detailed summary

  • Updated links to point to the correct documentation for EIP-7702.
  • Added a new file using-7702.mdx with detailed information on upgrading EOAs to smart accounts.
  • Included sections on features unlocked by EIP-7702, signer requirements, and using EIP-7702 with examples.
  • Clarified support for EIP-7702 on Sepolia and provided a demo link.

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

Copy link

vercel bot commented Feb 11, 2025

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

Name Status Preview Comments Updated (UTC)
aa-sdk-site ❌ Failed (Inspect) Feb 12, 2025 8:07pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 8:07pm

Copy link

graphite-app bot commented Feb 11, 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.

howydev
howydev previously approved these changes Feb 11, 2025
@@ -2,6 +2,7 @@ import { SidebarItem } from "vocs";

export const smartContractsSidebar: SidebarItem[] = [
{ text: "Overview", link: "/smart-contracts/overview" },
{ text: "Upgrading EOAs with EIP-7702", link: "/smart-contracts/upgrade-eoa-with-eip-7702" },
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should probably include this in the Modular Account V2 sidebar instead, this should go into main soon

@avarobinson avarobinson merged commit 3eb31af into docs-staging Feb 12, 2025
5 of 7 checks passed
@avarobinson avarobinson deleted the adam/add-7702-docs branch February 12, 2025 19:38
howydev pushed a commit that referenced this pull request Feb 14, 2025
* feat: add 7702 doc in smart-contracts

* fix: typo

* fix: review fixes

* docs: Apply suggestions from code review

* feat: move sc 7702 doc

* docs: changing desc

---------

Co-authored-by: avarobinson <[email protected]>
Co-authored-by: Ava Robinson <[email protected]>
howydev added a commit that referenced this pull request Feb 14, 2025
* docs: add ma v2 page (#1340)

* docs: add ma v2 page

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: review fixes

* chore: remove comment to standardize

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: imports in example

* fix: lint

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* chore: make it consistent

---------

Co-authored-by: avarobinson <[email protected]>

* docs: add various docs (#1345)

* feat: add Choosing a Smart Account page

* chore: lint

* feat: benchmarks

* feat: add mav2 overview

* docs: update table to display diff from MAv2 as a percentage increase

* docs: adding in feature table and other account details

* docs: updating copy

* docs: updating multisig

* chore: cleanup gas benchmarks, remove runtime column

* docs: clarify safe 4337 module

* docs: remove sidebar link

* docs: remove repeated table, add details

* docs: mention ERC-4337

* docs: link audits, clarify legacy contracts

* docs: rename legacy to other

* docs: specify MAv2 breaking the sub-100k gas barrier

* chore: format

---------

Co-authored-by: Ava Robinson <[email protected]>

* docs: restructure smart accounts layout (#1342)

* docs: add ma v2 page

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: review fixes

* chore: remove comment to standardize

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: imports in example

* fix: lint

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* chore: make it consistent

* docs: restructure smart accounts layout

* fix: pr review

* Update site/pages/concepts/intro-to-account-kit.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/choosing-a-smart-account.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/install-plugins.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/sidebar/smart-contracts.ts

Co-authored-by: avarobinson <[email protected]>

* fix: broken linksg

---------

Co-authored-by: avarobinson <[email protected]>
Co-authored-by: Ava Robinson <[email protected]>

* docs: adds set up useSmartAccountClient page and updates code examples to use mav2 (#1343)

* docs: fixes typo

* docs: updating guide to clean up account types and sidebar;

* docs: cleaning up configs and advanced table

* docs: fixing copy

* docs: updating type param to be optional

* docs: adds missing parameter definitions and fixes typos

* docs: adds wording modifications

* docs: fixing merge conflict

---------

Co-authored-by: Ava Robinson <[email protected]>

* docs: updating sidebar for mav2 (#1348)

* docs: add ma v2 page

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: review fixes

* chore: remove comment to standardize

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* fix: imports in example

* fix: lint

* Update site/pages/smart-contracts/modular-account-v2/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/modular-account/getting-started.mdx

Co-authored-by: avarobinson <[email protected]>

* chore: make it consistent

* docs: restructure smart accounts layout

* fix: pr review

* Update site/pages/concepts/intro-to-account-kit.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/resources/terms.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/choosing-a-smart-account.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/pages/smart-contracts/install-plugins.mdx

Co-authored-by: avarobinson <[email protected]>

* Update site/sidebar/smart-contracts.ts

Co-authored-by: avarobinson <[email protected]>

* fix: broken linksg

* docs: re-arranging sidebar for new account layout and updating references

* chore: readd lost commit from ava

---------

Co-authored-by: howydev <[email protected]>

* docs: adds using 7702 react page (#1350)

* docs: adds 7702 react page

* docs: adds note about gas sponsorship

* docs: add note about getting access to testnet

* docs: adding 7702 details

* docs: modifies copy

* docs: adds ERC-4337 account benefits

* docs: fixing link

---------

Co-authored-by: Ava Robinson <[email protected]>

* docs: adds mode and 7702 info to smart-contracts docs (#1354)

* docs: moving 7702, updating link

* fix: running lint

* fix: broken links

* feat: add 7702 doc in smart-contracts (#1351)

* feat: add 7702 doc in smart-contracts

* fix: typo

* fix: review fixes

* docs: Apply suggestions from code review

* feat: move sc 7702 doc

* docs: changing desc

---------

Co-authored-by: avarobinson <[email protected]>
Co-authored-by: Ava Robinson <[email protected]>

* docs: fix code examples

* docs: temporarily remove accountParams from useSmartAccountClient reference

* docs: adds updated pregenerated docs

* docs: wraps sendUserOperation arguments in uo object

* Update site/pages/react/using-7702.mdx

Co-authored-by: Lisa Ma <[email protected]>

* Update site/pages/react/using-7702.mdx

Co-authored-by: Lisa Ma <[email protected]>

* Update site/pages/react/using-7702.mdx

Co-authored-by: Lisa Ma <[email protected]>

* Update site/pages/react/using-7702.mdx

Co-authored-by: Lisa Ma <[email protected]>

* Update site/pages/react/using-7702.mdx

Co-authored-by: Lisa Ma <[email protected]>

* fix: pr reviews

* Update site/pages/react/send-user-operations.mdx

Co-authored-by: Linna <[email protected]>

---------

Co-authored-by: howy <[email protected]>
Co-authored-by: Zer0dot <[email protected]>
Co-authored-by: Linna <[email protected]>
Co-authored-by: Adam Egyed <[email protected]>
Co-authored-by: linna <[email protected]>
Co-authored-by: Lisa Ma <[email protected]>
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.

4 participants