These scripts are meant to test how Timeboost works, and how to use it, in a local environment.
- Clone repository
git clone https://github.com/OffchainLabs/timeboost-test.git
- Install dependencies
yarn install
- Set environment variables
cp .env.example .env
(change the values if needed)
-
Run nitro-testnode with timeboost enabled
-
Test the timeboost flow
yarn testTimeboost
NOTE: this script submit bids and sends a few transactions to the express lane to test the different timeboost flows
There's a bash script available to send transactions to the express lane
yarn sendELTransactions <roundNumber>
To withdraw the deposited funds
yarn withdrawFunds