{"id":31745013,"url":"https://github.com/dotbithq/das-account-indexer","last_synced_at":"2025-10-09T12:28:48.842Z","repository":{"id":37438468,"uuid":"438542112","full_name":"dotbitHQ/das-account-indexer","owner":"dotbitHQ","description":"Mapping relationship between multi-chain's addresses and accounts","archived":false,"fork":false,"pushed_at":"2025-01-23T01:55:00.000Z","size":8728,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-23T02:34:04.760Z","etag":null,"topics":["data-analysis","docker","golang","nervos","server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotbitHQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-12-15T07:53:46.000Z","updated_at":"2025-01-23T01:55:04.000Z","dependencies_parsed_at":"2023-02-10T03:31:34.363Z","dependency_job_id":"43315f84-e538-43b8-ba77-705ebcd51754","html_url":"https://github.com/dotbitHQ/das-account-indexer","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/dotbitHQ/das-account-indexer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotbitHQ%2Fdas-account-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotbitHQ%2Fdas-account-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotbitHQ%2Fdas-account-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotbitHQ%2Fdas-account-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotbitHQ","download_url":"https://codeload.github.com/dotbitHQ/das-account-indexer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotbitHQ%2Fdas-account-indexer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001445,"owners_count":26083078,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data-analysis","docker","golang","nervos","server"],"created_at":"2025-10-09T12:28:24.067Z","updated_at":"2025-10-09T12:28:48.834Z","avatar_url":"https://github.com/dotbitHQ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"* [Prerequisites](#prerequisites)\n* [Install \u0026amp; Run](#install--run)\n    * [Source Compile](#source-compile)\n    * [Docker](#docker)\n* [API Usage](#api-usage)\n* [Others](#others)\n\n# Das-Account-Indexer\n\nThis repo introduces a simple server, which provided some APIs for search DAS account's records or reverse records\n\n## Prerequisites\n\n* Ubuntu \u003e= 18.04\n* MYSQL \u003e= 8.0\n* go version \u003e= 1.21.3\n* Redis \u003e= 5.0 (for cache, not necessary)\n* [ckb-node](https://github.com/nervosnetwork/ckb) (Must be synced to latest height and add `Indexer` module to ckb.toml)\n* If the version of the dependency package is too low, please install `gcc-multilib` (apt install gcc-multilib)\n* Machine configuration: 4c8g200G\n## Install \u0026 Run\n\n### Source Compile\n\n```shell\n# get the code\ngit clone https://github.com/dotbitHQ/das-account-indexer.git\n\n# init config/config.yaml for your own convenient\ncp config/config.example.yaml config/config.yaml\n\n# create mysql database\nmysql -uroot -p\n\u003e create database das_account_indexer;\n\u003e quit;\n\n# compile and run\ncd das-account-indexer\nmake default\n./das_account_indexer_server --config=config/config.yaml\n# it will take about 3 hours to synchronize to the latest data(Dec 15, 2021)\n```\n\n### Docker\n\n* docker \u003e= 20.10\n* docker-compose \u003e= 2.2.2\n\n```bash\nsudo curl -L \"https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)\" -o /usr/local/bin/docker-compose\nsudo chmod +x /usr/local/bin/docker-compose\nsudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose\ndocker-compose up -d\n```\n\n_if you already have a mysql installed, just run_\n\n```bash\ndocker run -dp 8122:8122 -v $PWD/config/config.yaml:/app/config/config.yaml --name das-indexer-server admindid/das-account-indexer:latest\n```\n\n## API Usage\n\n[Here](https://github.com/dotbitHQ/das-account-indexer/blob/main/API.md) are the APIs details.\n\n* If you are a newcomer, just read [API List](https://github.com/dotbitHQ/das-account-indexer/blob/main/API.md)\n* If you are come from [das_account_indexer](https://github.com/dotbitHQ/das_account_indexer), you probably need do\n  nothing, the new APIs are compatible with the old ones. More details\n  see [deprecated-api-list](https://github.com/dotbitHQ/das-account-indexer/blob/main/API.md#deprecated-api-list), but\n  we still suggest you replace with the corresponding new APIs\n\n## Others\n\n* [What is DAS](https://github.com/dotbitHQ/did-contracts/blob/docs/docs/en/design/Overview-of-DAS.md)\n* [What is a DAS transaction on CKB](https://github.com/dotbitHQ/did-contracts/blob/docs/docs/en/developer/Transaction-Structure.md)\n* [How to install MySQL8.0](https://github.com/dotbitHQ/das-database/wiki/How-To-Install-MySQL-8.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotbithq%2Fdas-account-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotbithq%2Fdas-account-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotbithq%2Fdas-account-indexer/lists"}