https://github.com/code-monad/spore-search
A very tiny program shows how to index Spore and Cluster cells from chain using indexer.
https://github.com/code-monad/spore-search
Last synced: 7 months ago
JSON representation
A very tiny program shows how to index Spore and Cluster cells from chain using indexer.
- Host: GitHub
- URL: https://github.com/code-monad/spore-search
- Owner: code-monad
- Created: 2023-08-01T20:40:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T21:23:50.000Z (over 2 years ago)
- Last Synced: 2025-05-18T15:11:58.395Z (9 months ago)
- Language: Rust
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spore Search
A very tiny example program shows how to index Spore and Cluster cells from chain using indexer.
## Quick Start
Just Run `cargo run`, it will run and listen at default port `8000`
## API
- `/api/v1/spore/all`: Get all Spore cells on chain.
- `/api/v1/spore/id/`: Get Spore with specific ID.
- `/api/v1/cluster/all`: Get all Cluster cells on chain.
- `/api/v1/cluster/id/`: Get Cluster with specific ID.