Skip to content

Commit 585529f

Browse files
committed
follow new rebrand guidelines
1 parent bef9cd0 commit 585529f

File tree

21 files changed

+107
-107
lines changed

21 files changed

+107
-107
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/environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The delegator environment serves several key purposes:
1818

1919
## Resolve the delegator environment
2020

21-
When you create a [MetaMask Smart Account](smart-accounts.md), the Delegation Toolkit automatically
21+
When you create a [MetaMask smart account](smart-accounts.md), the Delegation Toolkit automatically
2222
resolves the environment based on the version it requires and the chain configured.
2323
If no environment is found for the specified chain, it throws an error.
2424

@@ -70,7 +70,7 @@ See the changelog of the toolkit version you are using (in the left sidebar) for
7070
:::
7171

7272
Alternatively, you can use the [`getDelegatorEnvironment`](../reference/api/delegation.md#getdelegatorenvironment) function to resolve the environment.
73-
This function is especially useful if your delegator is not a Smart Account when
73+
This function is especially useful if your delegator is not a smart account when
7474
[creating a redelegation](../how-to/create-delegation/index.md#create-a-redelegation).
7575

7676
```typescript

delegation-toolkit/concepts/smart-accounts.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ sidebar_position: 1
66
# MetaMask Smart Accounts
77

88
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
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 Accounts use smart contracts to govern account logic.
12+
Unlike traditional wallets, which rely on private keys for every transaction, smart accounts use smart contracts to govern account logic.
1313

14-
Smart Accounts are referenced in the toolkit as `MetaMaskSmartAccount`.
14+
Smart accounts are referenced in the toolkit as `MetaMaskSmartAccount`.
1515

1616
## Account abstraction (ERC-4337)
1717

@@ -23,7 +23,7 @@ accounts, or externally owned accounts (EOAs).
2323
ERC-4337 introduces the following concepts:
2424

2525
- **User operation** - A package of instructions signed by a user, specifying executions for
26-
the Smart Account to perform.
26+
the smart account to perform.
2727
User operations are collected and submitted to the network by bundlers.
2828

2929
- **Bundler** - A service that collects multiple user operations, packages them into a single transaction,
@@ -33,42 +33,42 @@ ERC-4337 introduces the following concepts:
3333
adhere to the required rules and security checks.
3434

3535
- **Paymasters** - Entities that handle the payment of gas fees on behalf of users, often integrated
36-
into Smart Accounts to facilitate gas abstraction.
36+
into smart accounts to facilitate gas abstraction.
3737

38-
## Smart Account implementation types
38+
## Smart account implementation types
3939

40-
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.
4141

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

44-
### Hybrid Smart Account
44+
### Hybrid smart account
4545

46-
The Hybrid Smart Account is a flexible implementation that supports both an externally owned account (EOA) "owner" and any number of P256 (passkey) signers.
47-
You can configure any of these signers as the signatory, and use them to sign any data, including user operations, on behalf of the Smart Account.
46+
The Hybrid smart account is a flexible implementation that supports both an externally owned account (EOA) "owner" and any number of P256 (passkey) signers.
47+
You can configure any of these signers as the signatory, and use them to sign any data, including user operations, on behalf of the smart account.
4848

4949
This type is referenced in the toolkit as `Implementation.Hybrid`.
5050

51-
### Multisig Smart Account
51+
### Multisig smart account
5252

53-
The Multisig Smart Account is an implementation that supports multiple signers with a configurable threshold for valid signatures, allowing for enhanced security and flexibility in account management.
53+
The Multisig smart account is an implementation that supports multiple signers with a configurable threshold for valid signatures, allowing for enhanced security and flexibility in account management.
5454
The signatory must have at least as many signers include as the threshold is configured for the account.
5555

5656
This type is referenced in the toolkit as `Implementation.Multisig`.
5757

58-
### Stateless 7702 Smart Account
58+
### Stateless 7702 smart account
5959

60-
The Stateless 7702 Smart Account implementation represents an externally owned account (EOA) upgraded to
61-
support Smart Account functionality as defined by [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702). This implementation enables EOAs to perform Smart Account operations, including the creation and management of delegations.
60+
The Stateless 7702 smart account implementation represents an externally owned account (EOA) upgraded to
61+
support smart account functionality as defined by [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702). This implementation enables EOAs to perform smart account operations, including the creation and management of delegations.
6262

6363
This type is referenced in the toolkit as `Implementation.Stateless7702`.
6464

65-
## Smart Account flow
65+
## Smart account flow
6666

67-
The MetaMask Smart Account flow is as follows:
67+
The MetaMask Smart Accounts flow is as follows:
6868

69-
1. **Account setup** - A user creates a Smart Account by deploying a smart contract, and initializing it with
69+
1. **Account setup** - A user creates a smart account by deploying a smart contract, and initializing it with
7070
ownership and security settings.
71-
The user can customize the Smart Account in the following ways:
71+
The user can customize the smart account in the following ways:
7272

7373
- **Account logic** - They can configure custom logic for actions such as multi-signature
7474
approvals, spending limits, and automated transaction batching.
@@ -90,6 +90,6 @@ The MetaMask Smart Account flow is as follows:
9090

9191
## Delegator accounts
9292

93-
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
9494
to perform specific executions on their behalf, under defined rules and restrictions.
9595
Learn more about [delegation](delegation.md).

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ 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
16-
Smart Accounts or externally owned accounts (EOAs).
15+
[ERC-7710](https://eip.tools/eip/7710) introduces a standard way for MetaMask Smart Accounts to delegate capabilities to other
16+
smart accounts or externally owned accounts (EOAs).
1717

1818
The MetaMask Delegation Toolkit provides two experimental functions, `erc7710BundlerActions()` and `erc7710WalletActions()`, that let
1919
a caller redeem delegations granted by MetaMask's permissions system.
@@ -57,7 +57,7 @@ const permissionsResponse = [{
5757

5858
const permissionsContext = permissionsResponse[0].context;
5959
const delegationManager = permissionsResponse[0].signerMeta.delegationManager;
60-
// accountMeta is only present when the Smart Account is not deployed.
60+
// accountMeta is only present when the smart account is not deployed.
6161
const accountMetadata = permissionsResponse[0].accountMeta;
6262
```
6363

@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ The MetaMask Delegation Toolkit provides the experimental actions for ERC-7715 t
2121
## Request permissions
2222

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

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
description: Upgrade an externally owned account (EOA) to a Smart Account
2+
description: Upgrade an externally owned account (EOA) to a smart account
33
sidebar_position: 3
44
sidebar_label: EIP-7702 quickstart
55
---
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

@@ -73,7 +73,7 @@ does not support JSON-RPC accounts.
7373

7474
This example uses [`EIP7702StatelessDeleGator`](https://github.com/MetaMask/delegation-framework/blob/main/src/EIP7702/EIP7702StatelessDeleGator.sol) as the EIP-7702 delegator contract.
7575
It follows a stateless design, as it does not store signer data in the contract's state. This approach
76-
provides a lightweight and secure way to upgrade an EOA to a Smart Account.
76+
provides a lightweight and secure way to upgrade an EOA to a smart account.
7777

7878
```typescript
7979
import {
@@ -108,9 +108,9 @@ const hash = await walletClient.sendTransaction({
108108
});
109109
```
110110

111-
### 6. Create a MetaMask Smart Account
111+
### 6. Create a MetaMask smart account
112112

113-
Create a Smart Account instance for the EOA and start
113+
Create a smart account instance for the EOA and start
114114
leveraging the benefits of account abstraction.
115115

116116
```ts

delegation-toolkit/get-started/install.md

Lines changed: 1 addition & 1 deletion
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, enabling you to integrate [Smart Accounts](../concepts/smart-accounts.md) into your dapp.
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

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: 3 additions & 3 deletions
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

@@ -44,7 +44,7 @@ import { createDelegation } from "@metamask/delegation-toolkit";
4444
import { delegatorSmartAccount } from "./config.ts";
4545

4646
// The address to which the delegation is granted. It can be an EOA address, or
47-
// Smart Account address.
47+
// smart account address.
4848
const delegate = "0x2FcB88EC2359fA635566E66415D31dD381CF5585";
4949

5050
const delegation = createDelegation({
@@ -298,7 +298,7 @@ import { createDelegation } from "@metamask/delegation-toolkit";
298298
import { delegatorSmartAccount } from "./config.ts";
299299

300300
// The address to which the delegation is granted. It can be an EOA address, or
301-
// Smart Account address.
301+
// smart account address.
302302
const delegate = "0x2FcB88EC2359fA635566E66415D31dD381CF5585";
303303

304304
const delegation = createDelegation({

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
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 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

22-
## Configure a Hybrid Smart Account
22+
## Configure a Hybrid smart account
2323

24-
The [Hybrid Smart Account](../../concepts/smart-accounts.md#hybrid-smart-account) supports both an EOA "owner" and any number of P256 (passkey) signers.
24+
The [Hybrid smart account](../../concepts/smart-accounts.md#hybrid-smart-account) supports both an EOA "owner" and any number of P256 (passkey) signers.
2525

26-
To configure a Hybrid Smart Account, provide the following parameters:
26+
To configure a Hybrid smart account, provide the following parameters:
2727

2828
- `owner`: The owner's account address as a hex string.
2929
The owner can be the zero address, indicating that there is no owner configured.
3030
- `p256KeyIds`: An array of key identifiers for P256 signers as hex strings.
3131
- `p256XValues`: An array of public key x-values for P256 signers as `bigint`s.
3232
- `p256YValues`: An array of public key y-values for P256 signers as `bigint`s.
33-
- `signatory`: A signer that will sign on behalf of the Smart Account.
33+
- `signatory`: A signer that will sign on behalf of the smart account.
3434

3535
:::note
3636
You can set all `p256` parameters to empty arrays to configure no WebAuthn signer.
3737
However, we recommend configuring at least one signer for account recoverability.
3838
:::
3939

40-
For a Hybrid Smart Account, you can configure the following types of signatories:
40+
For a Hybrid smart account, you can configure the following types of signatories:
4141

4242
### Configure an account signatory
4343

@@ -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 });
@@ -232,19 +232,19 @@ export const webAuthnAccount = toWebAuthnAccount({ credential });
232232
</Tabs>
233233

234234

235-
## Configure a Multisig Smart Account
235+
## Configure a Multisig smart account
236236

237-
The [Multisig Smart Account](../../concepts/smart-accounts.md#multisig-smart-account) supports multiple EOA signers with a configurable threshold for execution.
237+
The [Multisig smart account](../../concepts/smart-accounts.md#multisig-smart-account) supports multiple EOA signers with a configurable threshold for execution.
238238

239-
To configure a Multisig Smart Account, provide the following parameters:
239+
To configure a Multisig smart account, provide the following parameters:
240240

241241
- `signers`: An array of EOA signer addresses as hex strings.
242242
- `threshold`: The number of signers required to execute a transaction, as a `bigint`.
243-
- `signatory`: A signer that will sign on behalf of the Smart Account.
243+
- `signatory`: A signer that will sign on behalf of the smart account.
244244

245245
### Configure signatories
246246

247-
For a Multisig Smart Account, you can use a combination of account signatories and Wallet Client signatories.
247+
For a Multisig smart account, you can use a combination of account signatories and Wallet Client signatories.
248248
For example:
249249

250250
<Tabs>
@@ -316,17 +316,17 @@ export const walletClient = createWalletClient({
316316
The number of signers in the signatories must be at least equal to the threshold for valid signature generation.
317317
:::
318318

319-
## Configure a Stateless 7702 Smart Account
319+
## 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

324-
To configure a Stateless 7702 Smart Account, provide the following parameters:
324+
To configure a Stateless 7702 smart account, provide the following parameters:
325325

326-
- `address`: The address of the EOA that has been upgraded to a Smart Account.
327-
- `signatory`: A signer that will sign on behalf of the Smart Account.
326+
- `address`: The address of the EOA that has been upgraded to a smart account.
327+
- `signatory`: A signer that will sign on behalf of the smart account.
328328

329-
For a Stateless 7702 Smart Account, you can configure the following types of signatories:
329+
For a Stateless 7702 smart account, you can configure the following types of signatories:
330330

331331
### Configure an account signatory
332332

0 commit comments

Comments
 (0)