Files
nerbus-explorer/settings.nerbus.example.json

816 lines
20 KiB
JSON

{
"locale": "locale/en.json",
"dbsettings": {
"user": "CHANGE_ME_DB_USER",
"password": "CHANGE_ME_DB_PASSWORD",
"database": "nerbus",
"address": "127.0.0.1",
"port": 27017
},
"wallet": {
"host": "127.0.0.1",
"port": 39441,
"username": "CHANGE_ME_RPC_USER",
"password": "CHANGE_ME_RPC_PASSWORD"
},
"webserver": {
"port": 3001,
"tls": {
"enabled": false,
"port": 443,
"always_redirect": true,
"cert_file": "/etc/letsencrypt/live/domain-name-here/cert.pem",
"chain_file": "/etc/letsencrypt/live/domain-name-here/chain.pem",
"key_file": "/etc/letsencrypt/live/domain-name-here/privkey.pem"
},
"cors": {
"enabled": false,
"corsorigin": "*"
}
},
"coin": {
"name": "Nerbus",
"symbol": "NRB"
},
"network_history": {
"enabled": true,
"max_saved_records": 120,
"max_hours": 24
},
"shared_pages": {
"theme": "Darkly",
"page_title": "Nerbus Explorer",
"favicons": {
"favicon32": "img/nerbus.svg",
"favicon128": "img/nerbus.svg",
"favicon180": "img/nerbus.svg",
"favicon192": "img/nerbus.svg"
},
"logo": "/img/nerbus.svg",
"date_time": {
"display_format": "LLL dd, yyyy HH:mm:ss ZZZZ",
"timezone": "utc",
"enable_alt_timezone_tooltips": false
},
"table_header_bgcolor": "",
"confirmations": 20,
"difficulty": "POW",
"show_hashrate": true,
"page_header": {
"menu": "top",
"sticky_header": true,
"bgcolor": "",
"home_link": "title",
"home_link_logo": "",
"home_link_logo_height": 50,
"panels": {
"network_panel": {
"enabled": true,
"display_order": 1,
"nethash": "getnetworkhashps",
"nethash_units": "M"
},
"difficulty_panel": {
"enabled": true,
"display_order": 2
},
"masternodes_panel": {
"enabled": false,
"display_order": 0
},
"coin_supply_panel": {
"enabled": true,
"display_order": 3
},
"price_panel": {
"enabled": false,
"display_order": 0
},
"usd_price_panel": {
"enabled": false,
"display_order": 0
},
"market_cap_panel": {
"enabled": false,
"display_order": 0
},
"usd_market_cap_panel": {
"enabled": false,
"display_order": 0
},
"logo_panel": {
"enabled": false,
"display_order": 0
},
"spacer_panel_1": {
"enabled": false,
"display_order": 0
},
"spacer_panel_2": {
"enabled": false,
"display_order": 0
},
"spacer_panel_3": {
"enabled": false,
"display_order": 0
}
},
"search": {
"enabled": true,
"position": "inside-header"
},
"page_title_image": {
"image_path": "/img/nerbus.svg",
"enable_animation": true
},
"network_charts": {
"nethash_chart": {
"enabled": true,
"chart_title": {
"enabled": false,
"title_text": "{coin_name} Network Hashrate History for the last {max_hours} hours\nHigh: {highest_nethash}\nCurrent: {current_nethash}\nLow: {lowest_nethash}\nBlock: {highest_block}",
"alignment": "center",
"color": "#666666",
"font": {
"family": "Arial",
"size": 20,
"weight": "bold"
}
},
"legend": {
"enabled": true,
"position": "bottom"
},
"bgcolor": "#ffffff",
"line_color": "rgba(54, 162, 235, 1)",
"fill_color": "rgba(54, 162, 235, 0.2)",
"crosshair_color": "#000000",
"block_line": {
"enabled": true,
"block_line_color": "rgba(0, 128, 0, 0.2)"
},
"round_decimals": 3,
"chart_height": 300,
"full_row": false,
"stretch_to_fit": false
},
"difficulty_chart": {
"enabled": true,
"chart_title": {
"enabled": false,
"title_text": "{coin_name} Difficulty Rate History for the last {max_hours} hours\nHigh: {highest_pos_difficulty}\nCurrent: {current_pos_difficulty}\nLow: {lowest_pos_difficulty}\nBlock: {highest_block}",
"alignment": "center",
"color": "#666666",
"font": {
"family": "Arial",
"size": 20,
"weight": "bold"
}
},
"legend": {
"enabled": true,
"position": "bottom"
},
"bgcolor": "#ffffff",
"pow_line_color": "rgba(255, 99, 132, 1)",
"pow_fill_color": "rgba(255, 99, 132, 0.2)",
"pos_line_color": "rgba(255, 161, 0, 1)",
"pos_fill_color": "rgba(255, 161, 0, 0.2)",
"crosshair_color": "#000000",
"block_line": {
"enabled": true,
"block_line_color": "rgba(0, 128, 0, 0.2)"
},
"round_decimals": 3,
"chart_height": 300,
"full_row": false,
"stretch_to_fit": false
},
"reload_chart_seconds": 60,
"sync_charts": true
}
},
"page_footer": {
"sticky_footer": false,
"bgcolor": "",
"footer_height_desktop": "50px",
"footer_height_tablet": "70px",
"footer_height_mobile": "70px",
"social_links": [
{
"enabled": true,
"tooltip_text": "Nerbus",
"url": "https://nerbus.com",
"fontawesome_class": "fa-solid fa-globe",
"image_path": ""
}
],
"social_link_percent_height_desktop": 70,
"social_link_percent_height_tablet": 42,
"social_link_percent_height_mobile": 40,
"powered_by_text": "<a class='nav-link poweredby' href='https://github.com/team-exor/eiquidus' target='_blank'>eIquidus v{explorer_version}</a>"
}
},
"index_page": {
"show_panels": true,
"show_nethash_chart": true,
"show_difficulty_chart": true,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"transaction_table": {
"page_length_options": [
10,
25,
50,
75,
100,
250,
500,
1000
],
"items_per_page": 10,
"reload_table_seconds": 60
},
"show_extracted_by": false
},
"block_page": {
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
},
"genesis_block": "0177ee4010f9617feb8e2956aa4dfb7a8df18b6e4f6cc3359bdb8cfef9d10bfd",
"multi_algorithm": {
"show_algo": false,
"key_name": "pow_algo"
},
"show_extracted_by": false
},
"transaction_page": {
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
},
"genesis_tx": "a85d32bf288837c4e308c848cd2b35d2eae962e576532be01d6978c67ca54bf8",
"show_op_return": false,
"show_extracted_by": false
},
"address_page": {
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
},
"show_sent_received": false,
"enable_hidden_address_view": false,
"enable_unknown_address_view": false,
"history_table": {
"page_length_options": [
10,
25,
50,
75,
100,
250,
500,
1000
],
"items_per_page": 50
}
},
"error_page": {
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
}
},
"masternodes_page": {
"enabled": false,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"masternode_table": {
"page_length_options": [
10,
25,
50,
75,
100,
250,
500,
1000
],
"items_per_page": 10
}
},
"movement_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"movement_table": {
"page_length_options": [
10,
25,
50,
75,
100,
250,
500,
1000
],
"items_per_page": 10,
"reload_table_seconds": 45,
"min_amount": 5000,
"low_warning_flag": 50000,
"high_warning_flag": 100000
}
},
"network_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"connections_table": {
"enabled": true,
"page_length_options": [
10,
25,
50,
75,
100
],
"items_per_page": 10,
"port_filter": -1,
"hide_protocols": []
},
"addnodes_table": {
"enabled": true,
"page_length_options": [
10,
25,
50,
75,
100
],
"items_per_page": 10,
"port_filter": -1,
"hide_protocols": []
},
"onetry_table": {
"enabled": true,
"page_length_options": [
10,
25,
50,
75,
100
],
"items_per_page": 10,
"port_filter": -1,
"hide_protocols": []
}
},
"richlist_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"show_current_balance": true,
"show_received_coins": true,
"wealth_distribution": {
"show_distribution_table": true,
"show_distribution_chart": true,
"colors": [
"#e73cbd",
"#00bc8c",
"#3498db",
"#e3ce3e",
"#adb5bd",
"#e74c3c"
],
"show_address_count": true
},
"burned_coins": {
"addresses": [
"EXorBurnAddressXXXXXXXXXXXXXW7cDZQ"
],
"include_burned_coins_in_distribution": false
}
},
"markets_page": {
"enabled": false,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_exchange_url": true,
"show_description": true
},
"show_market_dropdown_menu": true,
"show_market_select": true,
"exchanges": {
"dextrade": {
"enabled": false,
"trading_pairs": [
"LTC/BTC"
]
},
"dexomy": {
"enabled": false,
"trading_pairs": [
"BTC/USDT"
]
},
"freiexchange": {
"enabled": false,
"trading_pairs": [
"LTC/BTC"
]
},
"nestex": {
"enabled": false,
"trading_pairs": [
"BTC/USDT"
]
},
"nonkyc": {
"enabled": false,
"trading_pairs": [
"LTC/USDT"
]
},
"poloniex": {
"enabled": false,
"trading_pairs": [
"LTC/BTC"
]
},
"qutrade": {
"enabled": false,
"trading_pairs": [
"BTC/USDT"
]
},
"yobit": {
"enabled": false,
"trading_pairs": [
"LTC/BTC"
]
}
},
"market_price": "AVERAGE",
"coingecko_currency": "BTC",
"coingecko_api_key": "",
"default_exchange": {
"exchange_name": "freiexchange",
"trading_pair": "LTC/BTC"
}
},
"api_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
},
"show_logo": true,
"sample_data": {
"blockindex": 0,
"blockhash": "0177ee4010f9617feb8e2956aa4dfb7a8df18b6e4f6cc3359bdb8cfef9d10bfd",
"txhash": "a85d32bf288837c4e308c848cd2b35d2eae962e576532be01d6978c67ca54bf8",
"address": ""
},
"public_apis": {
"rpc": {
"getdifficulty": {
"enabled": true
},
"getconnectioncount": {
"enabled": true
},
"getblockcount": {
"enabled": true
},
"getblockhash": {
"enabled": true
},
"getblock": {
"enabled": true
},
"getrawtransaction": {
"enabled": true
},
"getnetworkhashps": {
"enabled": true
},
"getvotelist": {
"enabled": false
},
"getmasternodecount": {
"enabled": false
}
},
"ext": {
"getmoneysupply": {
"enabled": true
},
"getdistribution": {
"enabled": true
},
"getaddress": {
"enabled": true
},
"getaddresstxs": {
"enabled": true,
"max_items_per_query": 100
},
"gettx": {
"enabled": true
},
"getbalance": {
"enabled": true
},
"getlasttxs": {
"enabled": true,
"max_items_per_query": 100,
"show_extracted_by": false
},
"getcurrentprice": {
"enabled": true
},
"getnetworkpeers": {
"enabled": true
},
"getbasicstats": {
"enabled": true
},
"getsummary": {
"enabled": true
},
"getmasternodelist": {
"enabled": true
},
"getmasternoderewards": {
"enabled": true
},
"getmasternoderewardstotal": {
"enabled": true
}
}
}
},
"claim_address_page": {
"enabled": false,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_description": true
},
"show_header_menu": true,
"enable_bad_word_filter": true,
"enable_captcha": true
},
"orphans_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
},
"orphans_table": {
"page_length_options": [
10,
25,
50,
75,
100,
250,
500,
1000
],
"items_per_page": 10
}
},
"sync": {
"block_parallel_tasks": 1,
"update_timeout": 10,
"check_timeout": 250,
"save_stats_after_sync_blocks": 100,
"show_sync_msg_when_syncing_more_than_blocks": 1000,
"supply": "NRB_COINSUPPLY",
"batch_size": 1000,
"elastic_stack_size": 4096,
"wait_for_bulk_database_save": true,
"rate_limit": {
"peer_sync_rate_limit": 2000
}
},
"captcha": {
"google_recaptcha3": {
"enabled": false,
"pass_score": 0.5,
"site_key": "",
"secret_key": ""
},
"google_recaptcha2": {
"enabled": false,
"captcha_type": "checkbox",
"site_key": "",
"secret_key": ""
},
"hcaptcha": {
"enabled": false,
"site_key": "",
"secret_key": ""
}
},
"labels": {
"EJ6yc47cAZMGWHFccc9gfGbDLYuyNhP6wL": {
"enabled": false,
"label": "Development Budget",
"type": "success",
"url": ""
},
"EXorBurnAddressXXXXXXXXXXXXXW7cDZQ": {
"enabled": false,
"label": "Burn Address",
"type": "danger",
"url": ""
}
},
"default_coingecko_ids": [
{
"symbol": "btc",
"id": "bitcoin"
},
{
"symbol": "eth",
"id": "ethereum"
},
{
"symbol": "usdt",
"id": "tether"
},
{
"symbol": "ltc",
"id": "litecoin"
},
{
"symbol": "exor",
"id": "exor"
}
],
"api_cmds": {
"use_rpc": true,
"rpc_concurrent_tasks": 2,
"getnetworkhashps": "getnetworkhashps",
"getmininginfo": "getmininginfo",
"getdifficulty": "getdifficulty",
"getconnectioncount": "getconnectioncount",
"getblockcount": "getblockcount",
"getblockhash": "getblockhash",
"getblock": "getblock",
"getrawtransaction": "getrawtransaction",
"getinfo": "",
"getblockchaininfo": "getblockchaininfo",
"getpeerinfo": "getpeerinfo",
"gettxoutsetinfo": "",
"getvotelist": "",
"getmasternodecount": "",
"getmasternodelist": "",
"verifymessage": "verifymessage"
},
"blockchain_specific": {
"bitcoin": {
"enabled": false,
"api_cmds": {
"getdescriptorinfo": "getdescriptorinfo",
"deriveaddresses": "deriveaddresses"
}
},
"heavycoin": {
"enabled": false,
"reward_page": {
"enabled": true,
"show_panels": false,
"show_nethash_chart": false,
"show_difficulty_chart": false,
"page_header": {
"show_img": true,
"show_title": true,
"show_last_updated": true,
"show_description": true
}
},
"api_cmds": {
"getmaxmoney": "getmaxmoney",
"getmaxvote": "getmaxvote",
"getvote": "getvote",
"getphase": "getphase",
"getreward": "getreward",
"getsupply": "getsupply",
"getnextrewardestimate": "getnextrewardestimate",
"getnextrewardwhenstr": "getnextrewardwhenstr"
},
"public_apis": {
"getmaxmoney": {
"enabled": true
},
"getmaxvote": {
"enabled": true
},
"getvote": {
"enabled": true
},
"getphase": {
"enabled": true
},
"getreward": {
"enabled": true
},
"getsupply": {
"enabled": true
},
"getnextrewardestimate": {
"enabled": true
},
"getnextrewardwhenstr": {
"enabled": true
}
}
},
"zksnarks": {
"enabled": true
}
},
"plugins": {
"plugin_secret_code": "SET_ON_SERVER",
"allowed_plugins": []
},
"benchmark": {
"user": "eiquidus",
"password": "Nd^p2d77ceBX!L",
"database": "explorer-benchmark",
"address": "localhost",
"port": 27017,
"block_to_sync": 5000,
"auto_add_user": false
}
}