Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/offchainlabs/timeboost-test


https://github.com/offchainlabs/timeboost-test

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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
```

2. Install dependencies

```
yarn install
```

3. Set environment variables

```
cp .env.example .env
```

(change the values if needed)

4. Run nitro-testnode with timeboost enabled

5. 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
```

To withdraw the deposited funds

```
yarn withdrawFunds
```