Skip to content

[Delegation Toolkit] Add MetaMask Smart Accounts quickstart#2132

Merged
AyushBherwani1998 merged 4 commits intomainfrom
feat/mm-smart-account-quickstart
Jul 8, 2025
Merged

[Delegation Toolkit] Add MetaMask Smart Accounts quickstart#2132
AyushBherwani1998 merged 4 commits intomainfrom
feat/mm-smart-account-quickstart

Conversation

@AyushBherwani1998
Copy link
Member

Description

Adds quickstart for MetaMask Smart Accounts

Issue(s) fixed

Fixes #

Preview

Checklist

Complete this checklist before merging your PR:

  • If this PR contains a major change to the documentation content, I have added an entry to the top of the "What's new?" page.
  • The proposed changes have been reviewed and approved by a member of the documentation team.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners July 1, 2025 06:09
@vercel
Copy link

vercel bot commented Jul 1, 2025

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

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2025 5:32am

Copy link
Contributor

@alexandratran alexandratran left a comment

Choose a reason for hiding this comment

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

Added minor suggestions. If we are introducing "MetaMask Smart Account" branding here, I think we should keep it consistent throughout the page and also make consistent changes across the rest of the DTK docs. I will work on a PR for the latter today.

import { createPublicClient, http } from "viem";
import { sepolia as chain } from "viem/chains";
import { createPublicClient, http } from 'viem'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
import { createPublicClient, http } from 'viem'
import { createPublicClient, http } from "viem"

We try to use double quotes consistently throughout the doc site. This applies to the rest of the code samples on this page.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's my habit of saving files frequently, and since Prettier is configured to use single quotes, it keeps formatting them that way. Maybe we should consider changing the config?

Prettier configuration: https://github.com/MetaMask/metamask-docs/blob/main/.prettierrc

@alexandratran
Copy link
Contributor

@AyushBherwani1998 Here's a follow up PR: #2134

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

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

lgtm

@AyushBherwani1998 AyushBherwani1998 merged commit f10e8e4 into main Jul 8, 2025
19 checks passed
@AyushBherwani1998 AyushBherwani1998 deleted the feat/mm-smart-account-quickstart branch July 8, 2025 09:25
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