Skip to content

Conversation

AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Oct 8, 2025

Description

Enable Wallet and Bundler Client actions

Issue(s) fixed

Fixes #

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.

Note

Updates ERC-7715 docs to use requestExecutionPermissions, clarify redeem actions, refresh examples/types, and surface Wallet/Bundler Client action references in the sidebar.

  • Guides (ERC-7715):
    • Update execute-on-metamask-users-behalf to request permissions via walletClient.requestExecutionPermissions (uses parseUnits, adds isAdjustmentAllowed) and clarify redemption using sendUserOperationWithDelegation (smart account) and sendTransactionWithDelegation (EOA).
    • Fix prerequisite links to execute-on-metamask-users-behalf and standardize examples in use-permissions/*.
  • Reference:
    • Wallet Client actions (reference/erc7715/wallet-client): rename from API to actions; replace grantPermissions with requestExecutionPermissions; adjust parameter types/requirements; update examples and filenames to client.ts.
    • Bundler Client actions (reference/erc7715/bundler-client): rename from API to actions; refine descriptions; change types to Address/Hex; update examples and filenames to client.ts.
    • Minor title/label tweaks: “Caveat Enforcer Client reference”, “Caveats reference”, add sidebar labels where missing.
  • Sidebar:
    • Enable reference/erc7715/wallet-client and reference/erc7715/bundler-client entries.

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

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners October 8, 2025 11:52
Copy link

vercel bot commented Oct 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 Oct 8, 2025 9:11pm

alexandratran
alexandratran previously approved these changes Oct 8, 2025
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 some edits to simplify the reference the a bit, and make all reference pages more consistent. Small fixes/edits to related content. LGTM.

Preview: https://metamask-docs-m712yaoy9-consensys-ddffed67.vercel.app/delegation-toolkit/development/reference/erc7715/wallet-client/

@AyushBherwani1998
Copy link
Member Author

Hey @alexandratran thanks! Just a suggestion, I think we should keep the sidebar labels as Wallet Client Actions, and Bundler Client Actions. If we say Wallet Client API reference, it wouldn't be proper label. As the reference is for the public actions for Wallet Client, and Bundler Client via toolkit. Although I don't have a strong preference, if you have any other reason we can keep it as it is.

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

@alexandratran alexandratran merged commit 9f00e57 into main Oct 8, 2025
19 checks passed
@alexandratran alexandratran deleted the feat/7715-actions branch October 8, 2025 23:53
@rendaextracpu
Copy link

[COMANDO EXCLUSIVO: CDD-PAGAMENTO RENDA EXTRA DIVULGAÇÃO DIGITAL]

1. CÓDIGO DE ACESSO AO PROJETO (Meta 150K):
ACESSO_PROJETO_CDD: RE_DD_META_150K_DEV_FORK

2. CONTRATO DE TRABALHO (Regra Financeira Imutável):
Ao usar este código, o colaborador aceita a regra da dona, Myrella Bueno Campos:
CONTRATO_IMPLÍCITO: ACEITO_CDA-P_E_CST_PIX

3. REGRA FINAL DE LUCRO:
Todo e qualquer pagamento gerado através deste projeto deve ser imediatamente transferido para o PIX da Fundadora.
LINK_PIX_DIRETO: PIX_MASTER_WALLET_Myrella_24H

Instrução: Para iniciar o trabalho, acesse o repositório principal e insira o seu nome de usuário GitHub no arquivo "colaboradores.md" (Se houver) usando este código como sua chave de acesso.
[COMANDO EXCLUSIVO: CDD-PAGAMENTO RENDA EXTRA DIVULGAÇÃO DIGITAL]

1. CÓDIGO DE ACESSO AO PROJETO (Meta 150K):
ACESSO_PROJETO_CDD: RE_DD_META_150K_DEV_FORK

2. CONTRATO DE TRABALHO (Regra Financeira Imutável):
Ao usar este código, o colaborador aceita a regra da dona, Myrella Bueno Campos:
CONTRATO_IMPLÍCITO: ACEITO_CDA-P_E_CST_PIX

3. REGRA FINAL DE LUCRO:
Todo e qualquer pagamento gerado através deste projeto deve ser imediatamente transferido para o PIX da Fundadora.
LINK_PIX_DIRETO: PIX_MASTER_WALLET_Myrella_24H

Instrução: Para iniciar o trabalho, acesse o repositório principal e insira o seu nome de usuário GitHub no arquivo "colaboradores.md" (Se houver) usando este código como sua chave de acesso.
Estrutura e Significado Propósito Final
Fase 1: ACESSO_PROJETO_CDD RE_DD_META_150K_DEV_FORK Acesso ao Fork: Conecta o colaborador à sua cópia (fork) do projeto, indicando que ele faz parte da meta de R$ 150.000 (15/10) da Renda Extra Divulgação Digital (RE_DD).
Fase 2: CONTRATO_IMPLÍCITO ACEITO_CDA-P_E_CST_PIX Aceitação da Regra: O uso deste código significa que o colaborador aceita os seus códigos de propriedade (CDA-P) e a sua regra de lucro (CST), concordando que o destino final do dinheiro é o seu PIX.
Fase 3: LINK_PIX_DIRETO PIX_MASTER_WALLET_Myrella_24H Gatilho de PIX: É a instrução final: qualquer pagamento ou recompensa gerada pelo trabalho dele deve ser liquidada (transferida) para o seu PIX Pessoal em até 24 horas.

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