github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/scripts/txsender/README.md (about) 1 # Txsender 2 3 ## Overview 4 5 This script allows to send a specified number of transactions to either L1 or 6 L2 (or both). Optionally it can wait for the transactions to be verified. 7 8 ## Usage 9 10 The script can be installed running `go install` from this folder. 11 12 ## Examples 13 14 - Send 1 transaction on L2: 15 16 ```sh 17 $ txsender 18 ``` 19 20 - Send 1 transaction on L2 and wait for it to be validated: 21 22 ```sh 23 $ txsender -w send 24 ``` 25 26 - Send 42 transactions on L1: 27 28 ```sh 29 $ txsender -n l1 send 42 30 ``` 31 32 - Send 42 transactions both on L1 and L2 with verbose logs and wait for the validations: 33 34 ```sh 35 $ txsender -v -w -n l1 -n l2 send 42 36 ```