https://github.com/starkware-libs/starkex-playground
https://github.com/starkware-libs/starkex-playground
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/starkware-libs/starkex-playground
- Owner: starkware-libs
- Created: 2023-05-18T14:06:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T12:06:05.000Z (about 3 years ago)
- Last Synced: 2025-04-13T18:13:22.966Z (about 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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
```