Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 780 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 780 Bytes

Timeboost test script

These scripts are meant to test how Timeboost works, and how to use it, in a local environment.

Usage

  1. Clone repository
git clone https://github.com/OffchainLabs/timeboost-test.git
  1. Install dependencies
yarn install
  1. Set environment variables
cp .env.example .env

(change the values if needed)

  1. Run nitro-testnode with timeboost enabled

  2. 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

Extra scripts

There's a bash script available to send transactions to the express lane

yarn sendELTransactions <roundNumber>

To withdraw the deposited funds

yarn withdrawFunds