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: delegation-toolkit/get-started/cli-quickstart.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,17 @@ Upon installation, you'll be asked the following prompts:
26
26
❯ nextjs
27
27
vite-react
28
28
? Pick a template: (Use arrow keys)
29
-
❯ Basic Delegator app with NextJS
30
-
Experimental: Basic Gator app to try out ERC7715 Permissions
29
+
❯ MetaMask Smart Accounts Starter
30
+
MetaMask Smart Accounts & Delegation Starter
31
+
Experimental: ERC7715 Permissions starter
31
32
? Pick a package manager: (Use arrow keys)
32
33
❯ npm
33
34
yarn
34
35
pnpm
35
36
```
36
37
37
-
Once you've answered the prompts with the required configuration and selected a template, the CLI will create the project using the specified name and settings.
38
+
Once you've answered the prompts with the required configuration and selected a template, the CLI will create the
39
+
project using the specified name and settings.
38
40
See the following section to learn more about available CLI configurations.
39
41
40
42
## Options
@@ -46,14 +48,15 @@ The CLI provides the following options to display CLI details, and further custo
46
48
|`-v` or `--version`| Check the current version of the `@metamask/create-gator-app` CLI. |
47
49
|`-h` or `--help`| Display the available options. |
48
50
|`--skip-install`| Skip the installation of dependencies. |
49
-
|`--add-web3auth`| Add Web3Auth Embedded Wallet as a signer for the delegator account.<br/>Supported templates: <ul><li>Next.js starter</li><li> Vite React starter</li></ul>|
50
-
|`--add-llm-rules`| Add LLM rules for your IDE. Supported templates: <ul><li>Next.js ERC-7715 starter</li></ul>|
51
+
|`--add-web3auth`| Add [Web3Auth Embedded Wallet](https://web3auth.io/docs) as a signer for the delegator account.<br/>Supported templates:<br/>- MetaMask Smart Accounts Starter<br/>- MetaMask Smart Accounts & Delegation Starter|
52
+
|`--add-llm-rules`| Add LLM rules for your IDE. Supported in the Experimental: ERC7715 Permissions Starter template.|
51
53
52
54
## Examples
53
55
54
56
### Web3Auth configuration
55
57
56
-
To create a project that uses [Web3Auth](https://web3auth.io/docs/) Embedded Wallet as the signer for your delegator account, use the `--add-web3auth` option with `@metamask/create-gator-app`:
58
+
To create a project that uses [Web3Auth](https://web3auth.io/docs/) Embedded Wallet as the signer for your delegator
59
+
account, use the `--add-web3auth` option with `@metamask/create-gator-app`:
57
60
58
61
```bash
59
62
npx @metamask/create-gator-app --add-web3auth
@@ -89,5 +92,6 @@ Currently, only Cursor and Windsurf are supported.
0 commit comments