Skip to content

Commit 89b3fb6

Browse files
committed
edits
1 parent a80c390 commit 89b3fb6

File tree

6 files changed

+180
-172
lines changed

6 files changed

+180
-172
lines changed

delegation-toolkit/concepts/smart-accounts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ ERC-4337 introduces the following concepts:
3737

3838
## Smart account implementation types
3939

40-
The MetaMask Delegation Toolkit supports three types of MetaMask Smart Accounts, each offering unique features and use cases.
40+
The MetaMask Delegation Toolkit supports three types of MetaMask Smart Accounts, each offering different signature schemes for verifying access to the smart account.
4141

4242
See [Create a smart account](../guides/smart-accounts/create-smart-account.md) to learn how to use these different account types.
4343

4444
### 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.
46+
The Hybrid smart account is a flexible implementation that supports both an externally owned account (EOA) owner and any number of passkey (WebAuthn) signers.
4747
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

5151
### Multisig smart account
5252

5353
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.
54-
The signatory must have at least as many signers include as the threshold is configured for the account.
54+
The signatory, which signs on behalf of the smart account, must have at least as many signers as the configured threshold.
5555

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

delegation-toolkit/get-started/smart-account-quickstart/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const bundlerClient = createBundlerClient({
4646
[Create a MetaMask smart account](../../guides/smart-accounts/create-smart-account.md) to send the first user operation.
4747

4848
This example configures a Hybrid smart account,
49-
which is a flexible smart account implementation that supports both an externally owned account (EOA) owner and any number of P256 (passkey) signers:
49+
which is a flexible smart account implementation that supports both an externally owned account (EOA) owner and any number of passkey (WebAuthn) signers:
5050

5151
```typescript
5252
import { Implementation, toMetaMaskSmartAccount } from "@metamask/delegation-toolkit";

delegation-toolkit/guides/smart-accounts/create-smart-account.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import TabItem from "@theme/TabItem";
99
# Create a smart account
1010

1111
You can enable users to create a [MetaMask smart account](../../concepts/smart-accounts.md) directly in your dapp.
12-
This page provides examples of using [`toMetaMaskSmartAccount`](../../reference/api/smart-account.md#tometamasksmartaccount) with Viem Core SDK to create different types of smart accounts with different types of signatories.
12+
This page provides examples of using [`toMetaMaskSmartAccount`](../../reference/api/smart-account.md#tometamasksmartaccount) with Viem Core SDK to create different types of smart accounts with different signature schemes.
13+
An account's supported *signatories* can sign data on behalf of the smart account.
1314

1415
## Prerequisites
1516

@@ -18,7 +19,7 @@ This page provides examples of using [`toMetaMaskSmartAccount`](../../reference/
1819

1920
## Create a Hybrid smart account
2021

21-
A Hybrid smart account supports both an externally owned account (EOA) owner and any number of P256 (passkey) signers.
22+
A Hybrid smart account supports both an externally owned account (EOA) owner and any number of passkey (WebAuthn) signers.
2223
You can create a Hybrid smart account with the following types of signatories.
2324

2425
### Create a Hybrid smart account with an Account signatory
@@ -138,9 +139,9 @@ export const walletClient = createWalletClient({
138139
</TabItem>
139140
</Tabs>
140141

141-
### Create a Hybrid smart account with a WebAuthn (passkey) signatory
142+
### Create a Hybrid smart account with a passkey signatory
142143

143-
Use [`toMetaMaskSmartAccount`](../../reference/api/smart-account.md#tometamasksmartaccount) and Viem's [`toWebAuthnAccount`](https://viem.sh/account-abstraction/accounts/webauthn) to create a Hybrid smart account with a WebAuthn Account signatory:
144+
Use [`toMetaMaskSmartAccount`](../../reference/api/smart-account.md#tometamasksmartaccount) and Viem's [`toWebAuthnAccount`](https://viem.sh/account-abstraction/accounts/webauthn) to create a Hybrid smart account with a passkey (WebAuthn) signatory:
144145

145146
:::info Installation required
146147
To work with WebAuthn, install the [Ox SDK](https://oxlib.sh/).

delegation-toolkit/reference/api/smart-account.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,9 @@ All Hybrid deploy parameters are required:
544544
| Name | Type | Description |
545545
| ---- | ---- | ----------- |
546546
| `owner` | `Hex` | The owner's account address. The owner can be the zero address, indicating that there is no owner configured. |
547-
| `p256KeyIds` | `Hex[]` | An array of key identifiers for P256 signers. |
548-
| `p256XValues` | `bigint[]` | An array of public key x-values for P256 signers. |
549-
| `p256YValues` | `bigint[]` | An array of public key y-values for P256 signers. |
547+
| `p256KeyIds` | `Hex[]` | An array of key identifiers for passkey signers. |
548+
| `p256XValues` | `bigint[]` | An array of public key x-values for passkey signers. |
549+
| `p256YValues` | `bigint[]` | An array of public key y-values for passkey signers. |
550550

551551
#### Example
552552

delegation-toolkit/tutorials/passkey-signer.md

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)