Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosmscan/cosmscan-go
Indexer engine with PostgreSQL for cosmos based blockchain
https://github.com/cosmscan/cosmscan-go
Last synced: 6 days ago
JSON representation
Indexer engine with PostgreSQL for cosmos based blockchain
- Host: GitHub
- URL: https://github.com/cosmscan/cosmscan-go
- Owner: cosmscan
- License: mit
- Created: 2022-12-20T07:47:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T00:30:25.000Z (12 months ago)
- Last Synced: 2024-01-25T04:52:29.666Z (10 months ago)
- Language: Go
- Size: 669 KB
- Stars: 23
- Watchers: 2
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cosmos - Cosmscan - An indexer engine for Cosmos chains. (Indexers / Terminal Block Explorers)
README
## Cosmscan
## What is Cosmscan?
Cosmscan is a indexer engine for cosmos based blockchain.Builders often want to serve a indexed query such as aggregation, search, and so on.
The native query on Cosmos RPC is not enough for this purpose, basically it stores all the data on the LSM tree [(LevelDB)](https://github.com/google/leveldb) which is efficient to perform high write throughput.
On the other side, it has an inefficiency to answer the following questions.
- How many transactions are there in the last 24 hours?
- What tokens the holder has? and How many tokens the holder has?
- Number of active accounts in the last 24 hours?
- Top 10 holders of the coin?
- and so onCosmscan is here to solve this problem. 🚀🚀
## Features
- Store the all data from cosmos based blockchain into PostgreSQL
- Support default useful queries with `gRPC` / `HTTP 2.0`
- Easy installation and configuration## Test on the local machine
```shell
$ cd ./example/docker
$ docker-compose up -d
```## Launch API Server
```shell
$ make build
$ ./bin/server --config-file ./config-server.yml2023-01-04T13:39:35.588+0900 INFO api api/server.go:41 starting api server
```## Docs
- [System Design](./docs/design.md)
- [Project Structure](./docs/project_structure.md)## Contribution
If you are interested in contributing to this project,
Please feel free to open issue or pull request.