{"id":26964352,"url":"https://github.com/mimani68/blockchain-explorer","last_synced_at":"2026-02-14T00:45:56.645Z","repository":{"id":133774693,"uuid":"539792649","full_name":"mimani68/blockchain-explorer","owner":"mimani68","description":"Fast and efficient block explorer","archived":false,"fork":false,"pushed_at":"2022-09-22T04:08:12.000Z","size":273,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T06:36:52.160Z","etag":null,"topics":["blockchain","docker-swarm","explorer","go","grpc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimani68.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-09-22T04:07:46.000Z","updated_at":"2023-02-06T09:20:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d5445e4-ba46-4b5c-92e4-847e374376c2","html_url":"https://github.com/mimani68/blockchain-explorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mimani68/blockchain-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimani68%2Fblockchain-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimani68%2Fblockchain-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimani68%2Fblockchain-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimani68%2Fblockchain-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimani68","download_url":"https://codeload.github.com/mimani68/blockchain-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimani68%2Fblockchain-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29427069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: 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":["blockchain","docker-swarm","explorer","go","grpc"],"created_at":"2025-04-03T06:30:41.042Z","updated_at":"2026-02-14T00:45:56.405Z","avatar_url":"https://github.com/mimani68.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mini blockchain explorer\n\nBlock explorer and the most powerful API for the most popular blockchains that allows you to find, sort, and filter blockchain blocks, transactions, ... In this blueprint we try to demonstrate the some basic functionality of blockexplorer.\n\n![](mini-blockexploror-screen.png)\n\n## Specs\n\n* Golang \u003e 1.18\n* Two microservices\n* Using docker-swarm as orchestrator\n* gRPC internal connection\n\n\n# Architecture\n\n![](./arch.jpg)\n\n\n\n\n## Services\n\nThe two microservices should be:\n1. Indexer (blockchain scanner)\n2. Public facing REST API\n\n## A) Indexer\n\nThis backend service should scan for transactions and capture block information: \n- number of transactions\n- transaction details (hash, from, to, amount)\nCaptured data can\n be inserted into the database.\n\nThe indexer can be able to scan the range if given from-to parameters, or simply subscribe\nto the latest blocks.\n\nExamples:\n- `Indexer 100 200` should scan all blocks from 100 to 200 (inclusive)\n- `Indexer 100` should scan all blocks starting from 100 to the latest, once reached the top it should subscribe to new incoming blocks\n- `Indexer` should scan for all blocks if they don't already exist in the database\n\n## B) Restful api delivery\n\n\n# Usage\n\n```bash\ndocker-compose -p mini-indexer up -d\n```\n\n## Public API\n\nREST API with the following endpoints:\n- /block `[GET]`\n- /stats `[GET]`\n- /tx `[GET]`\n- /index `[POST]`\n \nExamples:\n- `/block` - returns the latest block and all associated transactions\n- `/block/100` - returns the block number 100 and all associated transactions\n- `/stats` - returns sum of all amounts and transactions\n- `/stats/100:200` - return sum of all amounts and transactions between blocks 100 and 200\n- `/tx` - return latest transaction\n- `/tx/0x...` - return the transactions with the specified hash\n- `index/?auth_token\u0026scan=100:200` - instructs our service to trigger indexer for a fresh scan of blocks between 100 and 200 \n\n\n## To Do\n\n[X] Fix problem in `energy_indexing-srv` once disconnected from `index-engine`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimani68%2Fblockchain-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimani68%2Fblockchain-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimani68%2Fblockchain-explorer/lists"}