Skip to content

Commit 20e9c17

Browse files
cli: update add bridge command instructions (#17)
1 parent e5dbfdb commit 20e9c17

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/pages/build/cli/add-bridge.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# `add-bridge` [Deploy a bridge and register with AppInbox]
1+
# `add bridge` [Deploy a bridge and register with AppInbox]
22

3-
The `add-bridge` command is used to set the Bridge contract in your AppInbox on-chain. This is helpful as the AppInbox only accepts ticket requests for L1 to L2 bridging from the known Bridge contract.
3+
The `add bridge` command is used to set the Bridge contract in your AppInbox on-chain. This is helpful as the AppInbox only accepts ticket requests for L1 to L2 bridging from the known Bridge contract.
44

55
## Usage
66

77
```bash
8-
npx @stackr/cli@latest add-bridge
8+
npx @stackr/cli@latest add bridge
99
```
1010

1111
## Output

docs/pages/build/cli/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ USAGE
2626
$ stackr [COMMAND]
2727

2828
COMMANDS
29-
add-bridge Set the bridge address to the AppInbox contract of your MRU
29+
init Init an MRU from templates
3030
compile Compile yours Stackr State Machines to portable WASM modules.
3131
deploy Deploy your MRU to Vulcan
32+
add Sets the bridge or hook address to the AppInbox contract of your MRU
3233
help Display help for stackr.
33-
init Init an MRU from templates
3434
register Register your MicroRollup with Stackr
3535
```

docs/pages/build/plugins/bridging.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Next up, you need to update the `AppInbox` to know which `Bridge` contract to ac
6969

7070
Run the CLI command:
7171
```bash [terminal]
72-
npx @stackr/cli add-bridge
72+
npx @stackr/cli add bridge
7373
```
7474

7575
You'll be prompted with the bridge address:

0 commit comments

Comments
 (0)