github.com/minterteam/minter-explorer-api
go get github.com/minterteam/minter-explorer-api

github.com/minterteam/minter-explorer-api

by MinterTeam

v1.4.0 (see all)
go get github.com/minterteam/minter-explorer-api
Readme

Minter Explorer api

The official repository of Minter Explorer API service.

API Docs

https://app.swaggerhub.com/apis-docs/GrKamil/minter-explorer_api

BUILD

  • go mod download

  • go build ./cmd/explorer.go

USE

Requirement

  • PostgresSQL

  • Centrifugo (WebSocket server) GitHub

  • Explorer Extender GitHub

Setup

  • be sure explorer-extender has been installed and work correctly

  • build and move the compiled file to the directory e.g. /opt/minter/explorer

  • copy .env file in extender's directory and fill with own values

Run

./explorer

Env file

EXPLORER_DEBUG=1
APP_BASE_COIN=BIP
CENTRIFUGO_LINK=wss://exporer-rtm.minter.network/connection/websocket
CENTRIFUGO_BLOCK_CHANNEL=blocks
DB_HOST=localhost
DB_PORT=5432
DB_POOL_SIZE=20
DB_NAME=explorer
DB_USER=minter
DB_PASSWORD=password
EXPLORER_PORT=8080
MARKET_HOST=https://api.coingecko.com

GitHub Stars

12

LAST COMMIT

6mos ago

MAINTAINERS

0

CONTRIBUTORS

6

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v1.4.1-0.20200824091026-125bd02ad8b1
10mos ago
v1.4.1-0.20200914093326-1827a4f9cca9
10mos ago
v1.4.1-0.20200217154737-9559063da7c0
10mos ago
v1.4.1-0.20200914093500-e2194588a92a
10mos ago
No alternatives found
No tutorials found
Add a tutorial