README ¶
Batchsender
Overview
This script allows to send a specified number of (empty) batch transactions to L1. Optionally it can wait for the batch to be verified. The script interacts with L1 only. Basically it acts like a sequencer but without building a real rollup. It can be useful to test the Synchronizer and the Aggregator.
Usage
The script can be installed running go install
from this folder.
Examples
- Send 1 batch:
$ batchsender
- Send 42 batches:
$ batchsender send 42
Flags
--sequences, -s <nsequences>
Send the specified number of sequences, each one filled with the provided number of batches.
Examples
- Send 2 sequences with 42 batches each:
$ batchsender -s 2 send 42
--wait, -w
Wait for batches to be verified on L1.
Examples
- Send 1 batch and wait for its proof:
$ batchsender -w send
- Send 2 sequences with 42 batches each and wait for the proofs:
$ batchsender -w -s 2 send 42
--verbose, -v
Prints verbose output to the console.
Examples
- Send 42 batches with verbose logs and wait for the proofs:
$ batchsender -v -w send 42
Documentation ¶
There is no documentation for this package.
Click to show internal directories.
Click to hide internal directories.