Skip to content

Commit 6136b58

Browse files
committed
updates
1 parent 5eb6b3e commit 6136b58

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 3
44
sidebar_label: Delegation quickstart
55
---
66

7-
# Delegation Toolkit quickstart
7+
# Delegation quickstart
88

99
This page demonstrates how to get started quickly with [delegations](../concepts/delegation.md).
1010
Delegation is the ability for a [MetaMask smart account](../concepts/smart-accounts.md) to grant permission to another account to perform executions on their behalf.
@@ -96,7 +96,9 @@ const delegateSmartAccount = await toMetaMaskSmartAccount({
9696

9797
### 5. Create a delegation
9898

99-
[Create a delegation](../how-to/create-delegation/index.md) from Alice to Bob.
99+
[Create a root delegation](../how-to/create-delegation/index.md#create-a-root-delegation) from Alice to Bob.
100+
A root delegation is a delegation that doesn't derive its authority from another delegation.
101+
Alice is delegating her own authority away, as opposed to *redelegating* permissions she received from a previous delegation.
100102

101103
This example passes an empty `caveats` array, which means Bob can perform any action on Alice's behalf. We recommend [restricting the delegation](../how-to/create-delegation/restrict-delegation.md) by adding caveat enforcers.
102104
For example, Alice can delegate the ability to sepnd her USDC to Bob, limiting the amount to 100 USDC.

delegation-toolkit/index.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,28 @@ Check out the following guides to get started with the MetaMask Delegation Toolk
4747
},
4848
{
4949
href: "get-started/quickstart",
50-
title: "Quickstart",
50+
title: "MetaMask Smart Accounts quickstart",
5151
description: "Create a MetaMask smart account and send a user operation.",
52+
},
53+
{
54+
href: "get-started/delegation-quickstart",
55+
title: "Delegation quickstart",
56+
description: "Create, sign, and redeem a delegation.",
57+
},
58+
{
59+
href: "get-started/eip7702-quickstart",
60+
title: "EIP-7702 quickstart",
61+
description: "Upgrade an externally owned account to a smart account.",
62+
},
63+
{
64+
href: "get-started/erc7715-quickstart",
65+
title: "ERC-7715 quickstart",
66+
description: "Request permissions from MetaMask and execute transactions on a user's behalf.",
67+
},
68+
{
69+
href: "get-started/cli-quickstart",
70+
title: "CLI quickstart",
71+
description: "Use the Delegation Toolkit CLI to bootstrap a project.",
5272
}
5373
]}
5474
/>

0 commit comments

Comments
 (0)