You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: smart-accounts-kit/get-started/use-with-openclaw.md
+58-8Lines changed: 58 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,63 @@ import TabItem from "@theme/TabItem";
9
9
10
10
# Use the Smart Accounts Kit with OpenClaw
11
11
12
-
Use the MetaMask Smart Accounts Kit [OpenClaw skill](https://docs.openclaw.ai/tools/skills) to interact with the Smart Accounts Kit using natural language prompts.
12
+
Use the MetaMask Smart Accounts Kit [OpenClaw skills](https://docs.openclaw.ai/tools/skills) to interact with the Smart Accounts Kit using natural language prompts.
13
13
14
-
[OpenClaw](https://openclaw.ai/) is an open-source platform for AI agents that enables you to build, deploy, and
15
-
manage AI assistants with access to various tools and skills. The skill enables you to create smart accounts,
16
-
delegations, and request advanced permissions through an AI assistant.
14
+
[OpenClaw](https://openclaw.ai/) is an open-source platform for AI agents that enables you to build, deploy, and
15
+
manage AI assistants with access to various tools and skills. The Smart Accounts Kit provides the below two skills.
17
16
18
-
## Install the skill
17
+
## Gator CLI skill
18
+
19
+
This skill enables your agent to grant, redeem, inspect and revoke ERC-7710 delegations using the [@metamask/gator-cli](https://www.npmjs.com/package/@metamask/gator-cli) package.
20
+
21
+
:::warning Alpha version
22
+
23
+
This CLI is in alpha version, and stores agent's private key in a local
24
+
JSON file (`~/.gator-cli/`). Please proceed with caution, and do not use
25
+
it with accounts holding significant funds.
26
+
27
+
:::
28
+
29
+
### Install
30
+
31
+
<Tabs>
32
+
<TabItemvalue="clawhub-ap"label="ClawHub">
33
+
34
+
```bash
35
+
clawhub install gator-cli
36
+
```
37
+
38
+
</TabItem>
39
+
<TabItemvalue="prompt-ap"label="OpenClaw prompt">
40
+
41
+
```txt
42
+
Install the skill from https://github.com/MetaMask/openclaw-skills/blob/main/metamask/gator-cli/SKILL.md
43
+
```
44
+
45
+
</TabItem>
46
+
</Tabs>
47
+
48
+
### Reference
49
+
50
+
The skill provides access to the following commands:
|`init`| Generate a private key and save config. |
55
+
|`create`| Upgrade an EOA to an EIP-7702 smart account. |
56
+
|`show`| Display the EOA address. |
57
+
|`status`| Check config and on chain account status. |
58
+
|`balance`| Show native or ERC-20 balance. |
59
+
|`grant`| Create, sign, and store a delegation. |
60
+
|`redeem`| Redeem a delegation using an action type. |
61
+
|`revoke`| Revoke a delegation on chain. |
62
+
|`inspect`| View delegations for your account. |
63
+
64
+
## Smart Accounts Kit skill
65
+
66
+
This skill helps your agent learn about the Smart Accounts Kit and its capabilities, and integrate them into your applications.
67
+
68
+
### Install
19
69
20
70
<Tabs>
21
71
<TabItemvalue="clawhub"label="ClawHub">
@@ -42,12 +92,12 @@ Install the skill from https://github.com/smartgator/smart-accounts-kit-skills.g
42
92
</TabItem>
43
93
</Tabs>
44
94
45
-
##Skill reference
95
+
### Reference
46
96
47
-
The skill helps your agent learn about the Smart Accounts Kit and its capabilities, and integrate them into your applications. The skill provides access to the following capabilities:
97
+
The skill provides access to the following capabilities:
48
98
49
99
| Capability | Description |
50
100
|------------|-------------|
51
-
|[`Smart accounts`](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/smart-accounts.md)| Helps you integrate MetaMask smart accounts to support batch transactions, multi-sig signatures, and gas sponsorship.|
101
+
|[`Smart accounts`](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/smart-accounts.md)| Helps you integrate MetaMask smart accounts to support batch transactions, multi-sig signatures, and gas sponsorship.|
52
102
|[`Delegation`](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/delegations.md)| Helps you integrate delegations with scopes and caveats. |
53
103
|[`Advanced Permissions`](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/advanced-permissions.md)| Helps you integrate Advanced Permissions. |
0 commit comments