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

https://github.com/starkware-libs/starkex-playground


https://github.com/starkware-libs/starkex-playground

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

### StarkEx playground

#### Usage
1. Install `docker`:
```
apt install -y docker.io
```
2. Build the docker image:
```
docker build -t . --no-cache
```
3. Run the docker:
```
docker run -it
```
4. In the docker container, run `./player.py --help` for further instructions.

#### Examples for querying the feeder gateway

To print the last batch ID to console, run:
```
wget -nv -q -O- https://gw.playground-v2.starkex.co/feeder_gateway/v2/get_last_batch_id
```

Given the batch ID (say, batch ID 23), fetch the batch info by running:
```
wget -nv -q -O- https://gw.playground-v2.starkex.co/feeder_gateway/v2/get_batch_info?batch_id=23
```