Categorygithub.com/MinterTeam/minter-explorer-api/v2

# README

Minter Explorer api

The official repository of Minter Explorer API service.

API Docs

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

Related services:

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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author