Skip to content

MinterTeam/minter-explorer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,037 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages