{"id":26583011,"url":"https://github.com/digixglobal/info-server","last_synced_at":"2026-04-09T01:32:52.353Z","repository":{"id":75750904,"uuid":"151514588","full_name":"DigixGlobal/info-server","owner":"DigixGlobal","description":"Server for blockchain-related queries regarding DigixDAO","archived":false,"fork":false,"pushed_at":"2025-06-24T05:25:17.000Z","size":1008,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-07-02T17:09:43.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DigixGlobal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2018-10-04T03:39:47.000Z","updated_at":"2020-07-30T12:58:49.000Z","dependencies_parsed_at":"2023-06-07T14:00:15.694Z","dependency_job_id":null,"html_url":"https://github.com/DigixGlobal/info-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DigixGlobal/info-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigixGlobal%2Finfo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigixGlobal%2Finfo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigixGlobal%2Finfo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigixGlobal%2Finfo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DigixGlobal","download_url":"https://codeload.github.com/DigixGlobal/info-server/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigixGlobal%2Finfo-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-03-23T08:19:40.648Z","updated_at":"2026-04-09T01:32:52.325Z","avatar_url":"https://github.com/DigixGlobal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Info Server\nInfo-server is a NodeJS server responsible for maintaining an off-chain replica of the DigixDAO storage contracts. Essentially, it watches for newly mined Ethereum blocks and updates its own database.\n\n### Setup\n##### Prerequisites\n* [MongoDB](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition-using-deb-packages)\n* [Ganache](https://github.com/trufflesuite/ganache-cli) (Ethereum RPC client for development/testing)\n* [DigixDAO Contracts](https://github.com/DigixGlobal/dao-contracts)\n\n##### Run info-server\n* Get the source\n```\n$ git clone https://github.com/DigixGlobal/info-server.git\n$ git checkout develop\n```\n* Install dependencies\n```\n$ npm install\n```\n* Run MongoDB\n```\n$ sudo service mongod start\n```\n* Run info-server\n\n  Info-server can be started with multiple configurations, that are included in the `development.config.js` file. A few `npm` scripts have been added in the `package.json` file, also listed below:\n  * Forcefully drop database and restart info-server with a fresh instance. This also starts watching blocks from the `START_BLOCK` config value.\n  ```\n  $ npm run dev:force\n  ```\n  * Re-sync all transactions from the blockchain, and then process them. This does not drop the database.\n  ```\n  $ npm run dev:resync\n  ```\n  * Only re-process the transactions that already exist in the database. You may want to choose this option if you have modified certain logic in the `scripts/` directory, but do not want to re-sync all transactions from the blockchain\n  ```\n  $ npm run dev:reprocess\n  ```\n\n### DigixDAO Architecture\n\n![DigixDAO Architecture](docs/digixdao-architecture.png)\n\n### Contributing\nRefer [CONTRIBUTING.md](./CONTRIBUTING.md) for the process for submitting pull requests to us.\n\n### [License](./LICENSE.md)\nCopyright DIGIXGLOBAL PRIVATE LIMITED.\n\nThe code in this repository is licensed under the [BSD-3 Clause](https://opensource.org/licenses/BSD-3-Clause) BSD-3-clause, 2017.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigixglobal%2Finfo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigixglobal%2Finfo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigixglobal%2Finfo-server/lists"}