Explorer (Block-sync)
The block sync requires the block sync app and db, The ixo-cosmos blockchain and the blockchain rest interface also runs on this vm.
These services are built using docker-compose - except for ixo-cosmos (see above)
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
The docker compose files contain environmental variables used by the relevant containers:
PORT
The port that the block sync will listen on e.g. 8080, but will need to be mapped to port 80
CHAIN_URI
This must point to the IP and port of the ixo-cosmos service e.g.
172.20.1.37:26657
BC_REST
This must point to the IP and port of the ixo rest service using the relevant protocol http/https e.g.
http://172.20.1.37:1317
MONGODB_URI
The mongo container should be left as is on the same vm
NODEDID_LIST
Space separated list of NODEDIDs. For Projects and claims included in the blockchain, only those with the listed NODEDIDs will be included in the block_sync for listing.
ETH_URL
The location of the JSON RPC endpoint for the ixo smart contracts :
https://ropsten.infura.io/sq19XM5Eu2ANGAzwZ4yk
command node
The node argument must be set to the ixo-cosmos ip and port using the tcp protocol e.g.
tcp://172.20.1.37:26657
Last modified 2yr ago