Skip to content

Commit bb660bb

Browse files
fix: replace the batcher start with the gateway+poller one
1 parent 037e615 commit bb660bb

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

examples/l2/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ You can also run this example on a local devnet. To get started, navigate to the
132132
```shell
133133
# This will start the local net
134134
make ethereum_package_start
135-
# Start the batcher
136-
make batcher_start_ethereum_package
135+
# Start the payments poller
136+
make agg_mode_payments_poller_start_ethereum_package
137+
# Start the gateway
138+
make agg_mode_gateway_start_ethereum_package
137139
```
138140

139141
- Navigate back to the example directory:
@@ -156,6 +158,17 @@ make gen_env_l2_devnet
156158
make gen_devnet_owner_wallet
157159
```
158160

161+
- Transfer funds to the aggregation mode payments contract:
162+
163+
```shell
164+
cd aggregation_mode/cli
165+
166+
cargo run --release -- deposit \
167+
--private-key 0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a \
168+
--network devnet \
169+
--rpc-url http://localhost:8545
170+
```
171+
159172
- Generate the program ID of the program that is going to be proven:
160173

161174
```shell

0 commit comments

Comments
 (0)