Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eshaan7/ctf-scoring-ephemeral-mru
Ephemeral rollup built using @stackr/sdk
https://github.com/eshaan7/ctf-scoring-ephemeral-mru
micro-rollup rollup stackr
Last synced: 6 days ago
JSON representation
Ephemeral rollup built using @stackr/sdk
- Host: GitHub
- URL: https://github.com/eshaan7/ctf-scoring-ephemeral-mru
- Owner: eshaan7
- Created: 2024-04-13T09:52:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T12:30:51.000Z (3 months ago)
- Last Synced: 2024-10-29T06:27:55.221Z (about 2 months ago)
- Topics: micro-rollup, rollup, stackr
- Language: TypeScript
- Homepage: https://docs.stf.xyz
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ctf-scoring-ephemeral-mru
Initialized using [@stackr/sdk](https://www.stackrlabs.xyz/).
It is an Ephemeral Micro-Rollup that can be used as a Scoring System for games like Capture The Flag.
Ephemeral rollups are short-lived i.e. only for the duration of the game but preserve state roots and tx data on the L1 for future retraceability and verifiability of user's data (in this case, game score). Learn more about Ephemeral rollups [here](https://mirror.xyz/stackrlabs.eth/B-3hUw4Y8L3yWAqzsYWn9KddwluR0oZSHZ3c4K7r9VY).
> A video demo is available [here](https://twitter.com/zkcat_eth/status/1776645571928850770).
## Usage
### Setup
- `cp .env.example .env`
- Add values in `.env`.
- Add an address to the `admins` list in `genesis-state.json` file. This should be the same `ADDRESS` you added in `.env`.### Install
```bash
$ stackr register
$ stackr deploy
```### Run
```bash
$ bun run src/cli.ts
```