Sign inSign up

mvsorg/mvs-explorer-api

By mvsorg

•Updated over 5 years ago

Metaverse Explorer API

Image
0

1.5K

mvsorg/mvs-explorer-api repository overview

Metaverse ⁠

⁠Metaverse Blockchain Explorer

⁠Setup

The easiest way to startup the services is using docker compose. It will automaticlly download and start all dependencies except for the frontend.

cd setup
docker-compose up --build

It will setup all backend and frontend services. Then it syncs the blockchain to a mongodb.

Metavserse Blockchain Explorer Architecture

⁠Configuration

⁠API configuration

Environment variableDescriptionDefault
MONGO_HOSTMongoDB host127.0.0.1
MONGO_PORTMongoDB port27017
MONGO_NAMEMongoDB database namemetaverse
REDIS_HOSTRedis host127.0.0.1
REDIS_PORTRedis port6379

⁠Websocket provider configuration

Environment variableDescriptionDefault
MONGO_HOSTMongoDB host127.0.0.1
MONGO_PORTMongoDB port27017
MONGO_NAMEMongoDB database namemetaverse
REALMWebsocket realmrealm1
WS_USERUsername for websocketblockprovider
WS_SECRETPassword for websocketsecret!!!
BLOCK_TIMERUpdate time for blocks1000
TRANSACTION_TIMERUpdate time for transactions1000
PROVIDE_TASKProvider type (BLOCKS/TRANSACTIONS)TRANSACTIONS
ROUTER_URLURL of routerws://127.0.0.1:8080/ws

⁠Sync configuration

Environment variableDescriptionDefault
MONGO_HOSTMongoDB host127.0.0.1
MONGO_PORTMongoDB port27017
MONGO_NAMEMongoDB database namemetaverse
MVSD_HOSTMVSD host127.0.0.1
MVSD_PORTMVSD port8820

⁠Help

Please feel free to create issues for questions or feature request. If you want to setup a production environment you should not just use the example docker configuration. At least try to setup a dedicated mongodb (cluster).

⁠Contribution

We <3 our contributors! Many thanks to all supporters. We want to encourage everyone to become part of the development and support us with translations, testing and patches. If you want to help us please don't hesitate to contact us and become a part of the community.

Tag summary

Content type

Image

Digest

Size

123.5 MB

Last updated

over 5 years ago

docker pull mvsorg/mvs-explorer-api