Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This file must be valid JSON. But comments are allowed
- [D] Denarius settings for ciquidus explorer -> https://github.com/suprnurd/ciquidus/
- how to bind port 80 https://eladnava.com/binding-nodejs-port-80-using-nginx/
- easy setup guide https://www.reddit.com/r/BiblePay/comments/7elm7r/iquidus_block_explorer_guide/
- # sample denarius.conf
- rpcuser=changeusername
- rpcpassword=changepassword
- server=1
- listen=1
- daemon=1
- txindex=1
- rpcport=32369
- rpcallowip=127.0.0.1
- #
- Please edit settings.json, not settings.json.template
- */
- {
- // name your instance!
- "title": "Denarius Block Explorer",
- "address": "https://your.domain",
- // coin name
- "coin": "Denarius",
- // coin symbol
- "symbol": "D",
- // logo
- "logo": "/images/denarius-128x128.png",
- // favicon
- "favicon": "public/favicon.ico",
- // Uses bootswatch themes (http://bootswatch.com/)
- // Valid options:
- // Cerulean, Cosmo, Cyborg, Darkly, Flatly, Journal, Lumen, Paper,
- // Readable, Sandstone, Simplex, Slate, Spacelab, Superhero, United, Yeti
- // theme (see /public/themes for available themes)
- "theme": "Cyborg",
- // port to listen for requests on.
- "port" : 3001,
- // database settings (MongoDB)
- "dbsettings": {
- "user": "3changeusername",
- "password": "3changepassword",
- "database": "explorerdb",
- "address": "localhost",
- "port": 27017
- },
- //update script settings
- "update_timeout": 10,
- "check_timeout": 250,
- // wallet settings
- "wallet": {
- "host": "localhost",
- "port": 32369,
- "user": "changeusername",
- "pass": "changepass"
- },
- // confirmations
- "confirmations": 10,
- // language settings
- "locale": "locale/en.json",
- // menu settings
- "display": {
- "api": true,
- "markets": true,
- "richlist": true,
- "twitter": true,
- "facebook": false,
- "googleplus": false,
- "bitcointalk": true,
- "website": true,
- "slack": false,
- "github": true,
- "search": true,
- "movement": true,
- "network": true
- },
- // index page (valid options for difficulty are POW, POS or Hybrid)
- "index": {
- "show_hashrate": true,
- "difficulty": "Hybrid",
- "last_txs": 100
- },
- // ensure links on API page are valid
- "api": {
- "blockindex": 1337,
- "blockhash": "000000000661c86bf89e652eb142093bd9123006f3085595dee183bfe1c24570",
- "txhash": "000000000661c86bf89e652eb142093bd9123006f3085595dee183bfe1c24570",
- "address": "DABQj7yoQuvfxVVWMf2mqWhoHLDMUqUJsc"
- },
- // market settings
- //supported markets: bittrex, poloniex, yobit, empoex, bleutrade, cryptopia, ccex, coinexchange
- //default market is loaded by default and determines last price in header
- "markets": {
- "coin": "D",
- "exchange": "BTC",
- "enabled": ["coinexchange"],
- "cryptopia_id": "5265",
- "ccex_key" : "Get-Your-Own-Key",
- "coinexchange_id": "371",
- "default": "coinexchange"
- },
- // richlist/top100 settings
- "richlist": {
- "distribution": true,
- "received": true,
- "balance": true
- },
- // movement page settings
- // min amount: show transactions greater than this value
- // low flag: greater than this value flagged yellow
- // high flag: greater than this value flagged red
- "movement": {
- "min_amount": 100,
- "low_flag": 1000,
- "high_flag": 5000
- },
- // twitter, facebook, googleplus, bitcointalk, github, slack, website
- "twitter": "denariuscoin",
- "facebook": "yourfacebookpage",
- "googleplus": "yourgooglepluspage",
- "bitcointalk": "1967207",
- "github": "carsenk/denarius",
- "slack": "yourfullslackinviteurl",
- "website": "https://denarius.io/",
- //genesis
- "genesis_tx": "c6d8e8f56c25cac33567e571a3497bfc97f715140fcfe16d971333b38e4ee0f2",
- "genesis_block": "00000d5dbbda01621cfc16bbc1f9bf3264d641a5dbf0de89fd0182c2c4828fcd",
- //heavy (enable/disable additional heavy features)
- "heavy": false,
- //amount of txs to index per address (stores latest n txs)
- "txcount": 100,
- //show total sent & received on address page (set false if PoS)
- "show_sent_received": true,
- // how to calculate current coin supply
- // COINBASE : total sent from coinbase (PoW)
- // GETINFO : retreive from getinfo api call (PoS)
- // HEAVY: retreive from heavys getsupply api call
- // BALANCES : total of all address balances
- // TXOUTSET : retreive from gettxoutsetinfo api call
- "supply": "GETINFO",
- // how to acquire network hashrate
- // getnetworkhashps: uses getnetworkhashps api call, returns in GH/s
- // netmhashps: uses getmininginfo.netmhashpsm returns in MH/s
- "nethash": "netmhashps",
- // nethash unitd: sets nethash API return units
- // valid options: "P" (PH/s), "T" (TH/s), "G" (GH/s), "M" (MH/s), "K" (KH/s)
- "nethash_units": "G",
- // Address labels
- // example : "CGTta3M4t3yXu8uRgkKvaWd2d8DQvDPnpL": {"label": "This is a burn address", "type":"danger", "url":"http://example.com"}
- // label (required) = test to display
- // type (optional) = class of label, valid types: default, primary, warning, danger, success
- // url (optional) = url to link to for more information
- "labels": {
- // "CLkWg5YSLod772uLzsFRxHgHiWVGAJSezm": {"label": "Donation Address", "type":"primary", "url":"http://example.com"},
- // "CaxX1HVWzbQ516w61XbtHR63vNmp2mvLMZ": {"label": "Max Lee War Chest"}
- }
- }
Add Comment
Please, Sign In to add comment