Skip to content

Configuration

Tuan Pham Anh edited this page Feb 12, 2017 · 2 revisions

Glogchain

The config file is config.json, which should be located in the current folder when launching.

Sample content

{
  "WebRootDir": "./",
  "GlogchainWebAddr": "10.0.0.11:8000",
  "TmspAddr": "tcp://10.0.0.11:46658",
  "TmRpcLaddr" : "http://10.0.0.11:46657"
}

Params

  • WebRootDir: path to the Glogchain RootDir which stores the web resource static files, WebRootDir/web
  • GlogchainWebAddr
  • TmspAddr
  • TmRpcLaddr

IPFS

Need to config CORS: https://github.com/INFURA/tutorials/wiki/IPFS-and-CORS

Clone this wiki locally