/evtscan

everiToken BlockChain Explorer

Primary LanguageVueApache License 2.0Apache-2.0

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