cosmoscan-api

command module
v0.0.0-...-e01acf0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

Cosmoscan API (backend)

Website: https://cosmoscan.net Frontend repo: https://github.com/everstake/cosmoscan-front

Cosmoscan is the first data and statistics explorer for the Cosmos network. It provides information oт the overall network operations, governance details, validators and much more. This is still an MVP, so if you have any suggestions, please reach out.

Dependency:

  • Clickhouse
  • Mysql
  • Cosmos node
  • Golang

How to run ?

At first you need to configure the config.json file.

cp config.example.json config.json

Next step you need to build and run application.

Docker-compose way:
cp docker-compose.example.yml docker-compose.yml
cp docker/.env.example .env
cp docker/clickhouse-users.xml.example docker/clickhouse-users.xml

don`t forget set your passwords

docker-compose build && docker-compose up -d
Native way:

at first setup your dependency and set passwords

go build && ./cosmoscan-api

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cosmos-sdk
internal/conv
Package conv provides internal functions for convertions and data manipulation
Package conv provides internal functions for convertions and data manipulation
types/bech32/legacybech32
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.
types/errors
Package errors implements custom error interfaces for cosmos-sdk.
Package errors implements custom error interfaces for cosmos-sdk.
types/module
Package module contains application module patterns and associated "manager" functionality.
Package module contains application module patterns and associated "manager" functionality.
types/rest
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
types/tx
Package tx is a reverse proxy.
Package tx is a reverse proxy.
dao
cmc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL