harrywong / evtscan

everiToken BlockChain Explorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EvtScan

FOSSA Status

A NG of EveriToken Explorer.

Docker Build

Build The Server

docker build . -t nhibiki/evtscan

or you can directly pull the latest image from docker hub.

docker pull nhibiki/evtscan

Run The Server

docker run --rm -it nhibiki/evtscan -a 0.0.0.0 -m mongodb://{YOUR_MONGO_SERVER_IP}:{YOUR_MONGO_SERVER_PORT}

Now, you can get access to http://172.17.0.x if you run docker on linux or docker-machine for both windows and mac. (x indicates for the number of docker instance you are running. For example, if it is my first time run docker image, then x = 2. The URL should be http://172.17.0.2)

Also, you can definitely proxy the port out to host machine. :)

API Entry Points

Get Recent Blocks

curl http://{SERVER_ADDRESS}/api/block?since={SOMETIME}&page={PAGEOFFSET}&size={PAGESIZE}

Get Recent Transactions

curl http://{SERVER_ADDRESS}/api/transaction?since={SOMETIME}&page={PAGEOFFSET}&size={PAGESIZE}

Get Details

curl http://{SERVER_ADDRESS}/api/{ZONE}

License

FOSSA Status

About

everiToken BlockChain Explorer

License:Apache License 2.0


Languages

Language:Vue 47.0%Language:JavaScript 46.5%Language:CSS 5.7%Language:HTML 0.5%Language:Dockerfile 0.3%