Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/offchainlabs/timeboost-test
https://github.com/offchainlabs/timeboost-test
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/offchainlabs/timeboost-test
- Owner: OffchainLabs
- Created: 2024-10-24T15:26:50.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-10-24T19:23:46.000Z (24 days ago)
- Last Synced: 2024-10-25T21:05:39.824Z (23 days ago)
- Language: TypeScript
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```