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

docs: add ma v2 page #1340

Merged
merged 14 commits into from
Feb 12, 2025
Merged

docs: add ma v2 page #1340

merged 14 commits into from
Feb 12, 2025

Conversation

howydev
Copy link
Collaborator

@howydev howydev commented Feb 9, 2025

Pull Request Checklist


PR-Codex overview

This PR introduces the Modular Account V2 section to the sidebar and updates the documentation to include installation instructions and usage examples for the @account-kit/smart-contracts package.

Detailed summary

  • Added Modular Account V2 link to the sidebar in site/sidebar/smart-contracts.ts.
  • Updated installation commands from yarn to npm in site/pages/smart-contracts/modular-account/getting-started.mdx.
  • Created a new documentation section for Modular Account V2 with prerequisites, installation instructions, and code examples.

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

Copy link

vercel bot commented Feb 9, 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 Feb 12, 2025 0:39am
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 0:39am

Copy link

graphite-app bot commented Feb 9, 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
Copy link
Collaborator Author

howydev commented Feb 9, 2025

error is docs:build: [2724] 9 - '"@account-kit/smart-contracts"' has no exported member named 'createModularAccountV2Client'. Did you mean 'createModularAccountAlchemyClient'?

Zer0dot
Zer0dot previously approved these changes Feb 11, 2025
Copy link
Collaborator

@avarobinson avarobinson left a comment

Choose a reason for hiding this comment

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

lgtm

@avarobinson avarobinson changed the base branch from main to docs-staging February 12, 2025 00:44
@avarobinson avarobinson merged commit ef1b3ae into docs-staging Feb 12, 2025
7 checks passed
@avarobinson avarobinson deleted the howy/add-mav2-doc-page branch February 12, 2025 00:44
howydev added a commit that referenced this pull request Feb 14, 2025
* 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]>
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