Skip to content

Conversation

@AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Dec 8, 2025

Description

  • Adds a guide for Dynamic as a signer
  • Hot fixes for Advanced Permissions TOC

Issue(s) fixed

Part of #2424

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Adds a Dynamic signer guide and sidebar entry, and fixes Advanced Permissions docs by adding a Steps section.

  • Docs:
    • Smart Accounts:
      • Add new Dynamic signer guide smart-accounts-kit/guides/smart-accounts/signers/dynamic.md (setup with Dynamic + Wagmi, provider/config, create smart account).
      • Update sidebar gator-sidebar.js with a new "Configure signers" category linking to guides/smart-accounts/signers/dynamic.
    • Advanced Permissions:
      • Insert ## Steps heading in "Execute on a MetaMask user's behalf" (both versioned and unversioned) to fix TOC structure.

Written by Cursor Bugbot for commit 9578808. This will update automatically on new commits. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners December 8, 2025 10:15
@vercel
Copy link

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
metamask-docs Ready Ready Preview Comment Dec 9, 2025 3:05am


## Prerequisites

- Install [Yarn](https://yarnpkg.com/),
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
- Install [Yarn](https://yarnpkg.com/),
- Package manager such as [Yarn](https://yarnpkg.com/) or

Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldnt even bother mentioning yarn, given that the bash example is for npm, the "such as" can do the "go do this with yarn if that pleases you" part

Copy link
Member Author

Choose a reason for hiding this comment

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

The bash command covers npm, yarn, bun and pnpm. One of the ref.
Screenshot 2025-12-08 at 8 00 13 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, my laser focus! I would still just such as and mention 1 ... everyone has a fav, so the important part is "package manager"

Copy link
Member Author

Choose a reason for hiding this comment

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

We follow this pattern through out the docs and it's been working so far, so would prefer keeping same.

## Prerequisites

- Install [Yarn](https://yarnpkg.com/),
[npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), or another package manager
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
[npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), or another package manager
[npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)

Copy link
Member Author

Choose a reason for hiding this comment

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

Already mentioned above.

Copy link
Contributor

Choose a reason for hiding this comment

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

per comment

View the complete code for this guide at [gator-examples repository](https://github.com/MetaMask/gator-examples/tree/main/examples/smart-accounts/signers/dynamic).

## Prerequisites

Copy link
Contributor

@m4sterbunny m4sterbunny Dec 8, 2025

Choose a reason for hiding this comment

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

Suggested change
- [Node.js](https://nodejs.org/en/download/)
- React app
:::note
This guide uses React. However, by installing different dependencies, developers are free to leverage other Dynamic-supported frameworks.
:::

Copy link
Member Author

@AyushBherwani1998 AyushBherwani1998 Dec 8, 2025

Choose a reason for hiding this comment

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

Already mentioned, also react app is not Prerequisite. They can use any framework React, Next JS, etc.

Copy link
Member Author

Choose a reason for hiding this comment

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

Pushed a commit for Node.js requirement.

Copy link
Contributor

Choose a reason for hiding this comment

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

The dependencies presented in the guide are specifically related to react: @dynamic-labs/sdk-react-core
to use vue or alt, user must adjust, hence suggestion to make clear this is react example AND to state that other frameworks are supported

Copy link
Member Author

Choose a reason for hiding this comment

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

The sdk-react-core is supported for react and other frameworks built on top of it like next js, remix, gatsby, and many others. I'll try to add a note rather than a prerequisite that guide is created for frameworks based on react.

Copy link
Member Author

@AyushBherwani1998 AyushBherwani1998 Dec 8, 2025

Choose a reason for hiding this comment

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

Add an info note at top of the guide to make sure readers are aware.

AyushBherwani1998 and others added 2 commits December 8, 2025 20:03
Co-authored-by: m4sterbunny <m4sterbunny@gmail.com>
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.

Minor nitpicks.

Co-authored-by: Byron Gravenorst <50852695+bgravenorst@users.noreply.github.com>
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