{"id":21850812,"url":"https://github.com/metaspartan/diquidus-explorer","last_synced_at":"2025-04-14T15:03:09.404Z","repository":{"id":88631626,"uuid":"200335127","full_name":"metaspartan/diquidus-explorer","owner":"metaspartan","description":"Diquidus Explorer - Open Source iquidus based explorer with sendrawtransaction, masternodes, and utxo APIs","archived":false,"fork":false,"pushed_at":"2020-04-04T00:36:22.000Z","size":1381,"stargazers_count":5,"open_issues_count":3,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T03:51:10.636Z","etag":null,"topics":["blockchain","blockchain-explorer","d","denarii","denarius","explorer","masternodes","sendrawtransaction","sendrawtx","utxos"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metaspartan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-03T05:19:13.000Z","updated_at":"2020-02-07T17:45:01.000Z","dependencies_parsed_at":"2023-07-22T06:10:14.956Z","dependency_job_id":null,"html_url":"https://github.com/metaspartan/diquidus-explorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaspartan%2Fdiquidus-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaspartan%2Fdiquidus-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaspartan%2Fdiquidus-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaspartan%2Fdiquidus-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaspartan","download_url":"https://codeload.github.com/metaspartan/diquidus-explorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248903978,"owners_count":21180830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","blockchain-explorer","d","denarii","denarius","explorer","masternodes","sendrawtransaction","sendrawtx","utxos"],"created_at":"2024-11-28T00:20:13.058Z","updated_at":"2025-04-14T15:03:09.392Z","avatar_url":"https://github.com/metaspartan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Diquidus Explorer - 1.6.9.1\n================\n\nAn open source block explorer written in node.js based off original iquidus and ciquidus explorers.\n\nDiquidus features sendrawtx API and UTXO APIs as well as masternode counts. CoinExchange and TradeOgre market APIs available.\n\n### Requires\n\n*  node.js \u003e= 0.10.28\n*  mongodb 2.6.x\n*  libzmq-dev\n*  libkrb5-dev\n*  *coind\n\n### Create database\n\nEnter MongoDB cli:\n\n    $ mongo\n\nCreate databse:\n\n    \u003e use explorerdb\n\nCreate user with read/write access:\n\n    \u003e db.createUser( { user: \"iquidus\", pwd: \"3xp!0reR\", roles: [ \"readWrite\" ] } )\n\n*note: If you're using mongo shell 2.4.x, use the following to create your user:\n\n    \u003e db.addUser( { user: \"username\", pwd: \"password\", roles: [ \"readWrite\"] })\n\n### Get the source\n\n    git clone https://github.com/carsenk/diquidus-explorer explorer\n\t\n### Install deps\n\n\tsudo apt-get install build-essential pkg-config libzmq-dev libkrb5-dev\n\n### Install node modules\n\n    cd explorer \u0026\u0026 npm install --production\n\n### Configure\n\n    cp ./settings.json.template ./settings.json\n\n*Make required changes in settings.json*\n\n### Start Explorer\n\n    npm start\n\n*note: mongod must be running to start the explorer*\n\nAs of version 1.4.0 the explorer defaults to cluster mode, forking an instance of its process to each cpu core. This results in increased performance and stability. Load balancing gets automatically taken care of and any instances that for some reason die, will be restarted automatically. For testing/development (or if you just wish to) a single instance can be launched with\n\n    node --stack-size=10000 bin/instance\n\nTo stop the cluster you can use\n\n    npm stop\n\n### Syncing databases with the blockchain\n\nsync.js (located in scripts/) is used for updating the local databases. This script must be called from the explorers root directory.\n\n    Usage: node scripts/sync.js [database] [mode]\n\n    database: (required)\n    index [mode] Main index: coin info/stats, transactions \u0026 addresses\n    market       Market data: summaries, orderbooks, trade history \u0026 chartdata\n\n    mode: (required for index database only)\n    update       Updates index from last sync to current block\n    check        checks index for (and adds) any missing transactions/addresses\n    reindex      Clears index then resyncs from genesis to current block\n\n    notes:\n    * 'current block' is the latest created block when script is executed.\n    * The market database only supports (\u0026 defaults to) reindex mode.\n    * If check mode finds missing data(ignoring new data since last sync),\n      index_timeout in settings.json is set too low.\n\n\n*It is recommended to have this script launched via a cronjob at 1+ min intervals.*\n\n**crontab**\n\n*Example crontab; update index every minute and market data every 2 minutes*\n\n    */1 * * * * cd /path/to/explorer \u0026\u0026 /usr/bin/nodejs scripts/sync.js index update \u003e /dev/null 2\u003e\u00261\n    */2 * * * * cd /path/to/explorer \u0026\u0026 /usr/bin/nodejs scripts/sync.js market \u003e /dev/null 2\u003e\u00261\n    */5 * * * * cd /path/to/explorer \u0026\u0026 /usr/bin/nodejs scripts/peers.js \u003e /dev/null 2\u003e\u00261\n\n### Wallet\n\nDiquidus Explorer is intended to be generic so it can be used with any wallet following the usual standards. The wallet must be running with atleast the following flags\n\n    -daemon -txindex\n\n### Known Issues\n\n**script is already running.**\n\nIf you receive this message when launching the sync script either a) a sync is currently in progress, or b) a previous sync was killed before it completed. If you are certian a sync is not in progress remove the index.pid from the tmp folder in the explorer root directory.\n\n    rm tmp/index.pid\n\n**exceeding stack size**\n\n    RangeError: Maximum call stack size exceeded\n\nNodes default stack size may be too small to index addresses with many tx's. If you experience the above error while running sync.js the stack size needs to be increased.\n\nTo determine the default setting run\n\n    node --v8-options | grep -B0 -A1 stack_size\n\nTo run sync.js with a larger stack size launch with\n\n    node --stack-size=[SIZE] scripts/sync.js index update\n\nWhere [SIZE] is an integer higher than the default.\n\n*note: SIZE will depend on which blockchain you are using, you may need to play around a bit to find an optimal setting*\n\n### License\n\nCopyright (c) 2015, Iquidus Technology  \nCopyright (c) 2015, Luke Williams  \nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of Iquidus Technology nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaspartan%2Fdiquidus-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaspartan%2Fdiquidus-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaspartan%2Fdiquidus-explorer/lists"}