Skip to content

Commit 6a8e88f

Browse files
alexandratranhannahwy0922AyushBherwani1998
authored
"MetaMask Smart Accounts" rebranding (#2134)
* "MetaMask Smart Accounts" rebranding * follow new rebrand guidelines * fix changelog title * Apply suggestions from code review Co-authored-by: hannahwy0922 <[email protected]> * minor edit * Apply suggestions from code review Co-authored-by: Ayush Bherwani <[email protected]> * update delegations paragraph --------- Co-authored-by: hannahwy0922 <[email protected]> Co-authored-by: Ayush Bherwani <[email protected]>
1 parent f10e8e4 commit 6a8e88f

File tree

20 files changed

+70
-73
lines changed

20 files changed

+70
-73
lines changed

delegation-toolkit/concepts/delegation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_position: 2
55

66
# Delegation
77

8-
*Delegation* is the ability for a [smart account](smart-accounts.md) to grant permission to another smart account
8+
*Delegation* is the ability for a [MetaMask smart account](smart-accounts.md) to grant permission to another smart account
99
or externally owned account (EOA) to perform specific executions on their behalf, under defined rules and restrictions.
1010
The account that grants the permission is called the *delegator account*, while the account that receives the permission
1111
is called the *delegate account*.

delegation-toolkit/concepts/smart-accounts.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
---
2-
description: Learn about MetaMask smart accounts.
2+
description: Learn about MetaMask Smart Accounts.
33
sidebar_position: 1
44
---
55

6-
# Smart accounts
6+
# MetaMask Smart Accounts
77

8-
The MetaMask Delegation Toolkit enables you to create and manage MetaMask *smart accounts*.
9-
Smart accounts are [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) smart contract accounts
8+
The MetaMask Delegation Toolkit enables you to create and manage MetaMask Smart Accounts.
9+
MetaMask Smart Accounts are [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) smart contract accounts
1010
that support programmable account behavior and advanced features such as multi-signature approvals,
1111
automated transaction batching, and custom security policies.
12-
Unlike traditional wallets, which rely on private keys for every transaction, MetaMask smart
13-
accounts use smart contracts to govern account logic.
12+
Unlike traditional wallets, which rely on private keys for every transaction, MetaMask Smart Accounts use smart contracts to govern account logic.
1413

15-
Smart accounts are referenced in the toolkit as `MetaMaskSmartAccount`.
14+
MetaMask Smart Accounts are referenced in the toolkit as `MetaMaskSmartAccount`.
1615

1716
## Account abstraction (ERC-4337)
1817

1918
Account abstraction, specified by [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337), is a
20-
mechanism that enables users to manage smart accounts containing arbitrary verification logic.
19+
mechanism that enables users to manage smart contract accounts containing arbitrary verification logic.
2120
ERC-4337 enables smart contracts to be used as primary accounts in place of traditional private key-based
2221
accounts, or externally owned accounts (EOAs).
2322

@@ -38,7 +37,7 @@ ERC-4337 introduces the following concepts:
3837

3938
## Smart account implementation types
4039

41-
The MetaMask Delegation Toolkit supports three types of smart accounts, each offering unique features and use cases.
40+
The MetaMask Delegation Toolkit supports three types of MetaMask Smart Accounts, each offering unique features and use cases.
4241

4342
See [Configure accounts and signers](../how-to/create-smart-account/configure-accounts-signers.md) to learn how to use these different account types.
4443

@@ -65,7 +64,7 @@ This type is referenced in the toolkit as `Implementation.Stateless7702`.
6564

6665
## Smart account flow
6766

68-
The MetaMask smart account flow is as follows:
67+
The MetaMask Smart Accounts flow is as follows:
6968

7069
1. **Account setup** - A user creates a smart account by deploying a smart contract, and initializing it with
7170
ownership and security settings.
@@ -91,6 +90,6 @@ The MetaMask smart account flow is as follows:
9190

9291
## Delegator accounts
9392

94-
Delegator accounts are a type of smart account that allows users to grant permission to other smart accounts or EOAs
93+
Delegator accounts are a type of MetaMask smart account that allows users to grant permission to other smart accounts or EOAs
9594
to perform specific executions on their behalf, under defined rules and restrictions.
9695
Learn more about [delegation](delegation.md).

delegation-toolkit/experimental/erc-7710-redeem-delegations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import TabItem from "@theme/TabItem";
1212
This is an experimental feature and may change in future releases.
1313
:::
1414

15-
[ERC-7710](https://eip.tools/eip/7710) introduces a standard way for smart accounts to delegate capabilities to other
15+
[ERC-7710](https://eip.tools/eip/7710) introduces a standard way for MetaMask Smart Accounts to delegate capabilities to other
1616
smart accounts or externally owned accounts (EOAs).
1717

1818
The MetaMask Delegation Toolkit provides two experimental functions, `erc7710BundlerActions()` and `erc7710WalletActions()`, that let
@@ -80,11 +80,11 @@ If you redeem delegations in any other way, it is your responsibility to validat
8080

8181
## Redeem the permission
8282

83-
Redeem a delegation with a [smart account](#redeem-with-a-smart-account) or an [externally owned account (EOA)](#redeem-with-an-eoa).
83+
Redeem a delegation with a [MetaMask smart account](#redeem-with-a-metamask-smart-account) or an [externally owned account (EOA)](#redeem-with-an-eoa).
8484

85-
### Redeem with a smart account
85+
### Redeem with a MetaMask smart account
8686

87-
To redeem a delegation with a smart account, create a [`MetaMaskSmartAccount`](../how-to/create-smart-account/index.md#create-a-metamasksmartaccount)
87+
To redeem a delegation with a MetaMask smart account, create a [`MetaMaskSmartAccount`](../how-to/create-smart-account/index.md#create-a-metamasksmartaccount)
8888
and a [Viem Bundler Client](https://viem.sh/account-abstraction/clients/bundler).
8989

9090
After setting up your Bundler Client, you can extend its functionality with `erc7710BundlerActions` actions to support ERC-7710. Once extended, use [`sendUserOperationWithDelegation`](../reference/api/experimental-actions/bundler-client.md#senduseroperationwithdelegation) to redeem the permission.

delegation-toolkit/experimental/erc-7715-request-permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The MetaMask Delegation Toolkit provides the experimental actions for ERC-7715 t
2222

2323
To request permissions, extend your [Viem Wallet Client](https://viem.sh/docs/clients/wallet) with `erc7715ProviderActions` actions.
2424
You'll need a session account to request the permission, which can be either a smart account or an externally owned account (EOA).
25-
This example uses a smart account:
25+
This example uses a MetaMask smart account:
2626

2727
<Tabs>
2828
<TabItem value="example.ts">

delegation-toolkit/get-started/eip7702-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: EIP-7702 quickstart
66

77
# EIP-7702 quickstart
88

9-
This page demonstrates how to upgrade your externally owned account (EOA) to support MetaMask smart account
9+
This page demonstrates how to upgrade your externally owned account (EOA) to support MetaMask Smart Accounts
1010
functionality using an [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) transaction. This enables your EOA to leverage the benefits of account
1111
abstraction, such as batch transactions, gas sponsorship, and [ERC-7710 delegation capabilities](./../concepts/delegation.md).
1212

delegation-toolkit/get-started/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TabItem from "@theme/TabItem";
99

1010
# Install and set up the Delegation Toolkit
1111

12-
This page provides instructions to install and set up the MetaMask Delegation Toolkit.
12+
This page provides instructions to install and set up the MetaMask Delegation Toolkit, enabling you to integrate [MetaMask Smart Accounts](../concepts/smart-accounts.md) into your dapp.
1313

1414
## Prerequisites
1515

@@ -44,5 +44,5 @@ Add `@metamask/delegation-framework/=lib/metamask/delegation-framework/` in your
4444

4545
### 3. Get started
4646

47-
You're now ready to start using the MetaMask Delegation Toolkit.
48-
Check out the [Delegation Toolkit quickstart](quickstart.md) to walk through a simple example.
47+
You're now ready to start using MetaMask Smart Accounts.
48+
Check out the [quickstart](quickstart.md) to walk through a simple example.

delegation-toolkit/how-to/configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Configure the toolkit
66

77
# Configure the Delegation Toolkit
88

9-
The MetaMask Delegation Toolkit enables you to easily integrate [smart accounts](../concepts/smart-accounts.md) into your dapp,
9+
The MetaMask Delegation Toolkit enables you to easily integrate [MetaMask Smart Accounts](../concepts/smart-accounts.md) into your dapp,
1010
enabling a more flexible, secure, and frictionless experience for your users.
1111

1212
The toolkit is highly configurable, allowing you to tailor it to your project's specific needs. It includes support for custom signers, multiple signatory schemes, custom paymasters and bundlers, and more.

delegation-toolkit/how-to/create-delegation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Learn how to [restrict a delegation](./restrict-delegation.md) using caveat enfo
2828

2929
- [Install and set up the Delegation Toolkit.](../../get-started/install.md)
3030
- [Configure the Delegation Toolkit.](../configure.md)
31-
- [Create a smart account.](../create-smart-account/index.md)
31+
- [Create a MetaMask smart account.](../create-smart-account/index.md)
3232

3333
## Create a root delegation
3434

delegation-toolkit/how-to/create-smart-account/configure-accounts-signers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
22
sidebar_label: Configure accounts and signers
3-
description: Learn how to configure different types of delegator accounts and signers using Viem.
3+
description: Learn how to configure different types of MetaMask Smart Accounts and signers using Viem.
44
sidebar_position: 1
55
---
66

77
import Tabs from "@theme/Tabs";
88
import TabItem from "@theme/TabItem";
99

10-
# Configure smart accounts and signers
10+
# Configure MetaMask Smart Accounts and signers
1111

12-
The MetaMask Delegation Toolkit supports different [smart account types](../../concepts/smart-accounts.md#smart-account-implementation-types),
12+
The MetaMask Delegation Toolkit supports different [MetaMask smart account types](../../concepts/smart-accounts.md#smart-account-implementation-types),
1313
each with its own configuration and support for different signing mechanisms.
1414
You can create flexible and secure delegator accounts tailored to your specific needs.
1515

1616
## Prerequisites
1717

1818
- [Install and set up the Delegation Toolkit.](../../get-started/install.md)
1919
- [Configure the Delegation Toolkit.](../configure.md)
20-
- [Create a smart account.](index.md)
20+
- [Create a MetaMask smart account.](index.md)
2121

2222
## Configure a Hybrid smart account
2323

@@ -222,7 +222,7 @@ import {
222222
} from "viem/account-abstraction";
223223

224224
export const credential = await createWebAuthnCredential({
225-
name: "MetaMask Smart Account",
225+
name: "MetaMask smart account",
226226
});
227227

228228
export const webAuthnAccount = toWebAuthnAccount({ credential });
@@ -318,7 +318,7 @@ The number of signers in the signatories must be at least equal to the threshold
318318

319319
## Configure a Stateless 7702 smart account
320320

321-
The [Stateless 7702 smart account](../../concepts/smart-accounts.md#stateless-7702-smart-account) represents an EOA that has been upgraded to support smart account
321+
The [Stateless 7702 smart account](../../concepts/smart-accounts.md#stateless-7702-smart-account) represents an EOA that has been upgraded to support MetaMask Smart Accounts
322322
functionality as defined by [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702). This implementation does not handle the upgrade process; see the [EIP-7702 quickstart](./../../get-started/eip7702-quickstart.md) to learn how to upgrade.
323323

324324
To configure a Stateless 7702 smart account, provide the following parameters:

delegation-toolkit/how-to/create-smart-account/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
description: Learn how to create a delegator account using Viem.
2+
description: Learn how to create a MetaMask smart account using Viem.
33
sidebar_position: 2
44
---
55

66
import Tabs from "@theme/Tabs";
77
import TabItem from "@theme/TabItem";
88

9-
# Create a smart account
9+
# Create a MetaMask smart account
1010

1111
The MetaMask Delegation Toolkit is embedded, meaning that the end user can instantly interact with a dapp without wallet authorization, confirmations, or corporate logos.
12-
Enable users to create a [smart account](../../concepts/smart-accounts.md) directly in your dapp.
12+
Enable users to create a [MetaMask smart account](../../concepts/smart-accounts.md) directly in your dapp.
1313

1414
## Prerequisites
1515

@@ -18,7 +18,7 @@ Enable users to create a [smart account](../../concepts/smart-accounts.md) direc
1818

1919
## Create a `MetaMaskSmartAccount`
2020

21-
The following is an example of creating a smart account using Viem Core SDK.
21+
The following is an example of creating a MetaMask smart account using Viem Core SDK.
2222
Viem Core SDK provides low-level interfaces to offer flexibility and control over the smart
2323
account creation lifecycle.
2424

0 commit comments

Comments
 (0)