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
-
Submit bids to win an auction
yarn bidOnAuction
- Send transactions to the express lane
yarn sendELTransactions <roundNumber>
- To withdraw the deposited funds (optional)
yarn withdrawFunds