Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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 on

Cosmscan 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.yml

2023-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.