{"id":16559421,"url":"https://github.com/anders94/lido-balance-reader","last_synced_at":"2026-06-06T00:31:41.976Z","repository":{"id":149692769,"uuid":"579250437","full_name":"anders94/lido-balance-reader","owner":"anders94","description":"Reads the stETH balance of a given address.","archived":false,"fork":false,"pushed_at":"2022-12-24T13:43:43.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-14T12:44:23.706Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anders94.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-12-17T04:01:57.000Z","updated_at":"2024-01-16T05:50:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfa61801-6da5-492e-8766-c4e8a06fcce5","html_url":"https://github.com/anders94/lido-balance-reader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anders94/lido-balance-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Flido-balance-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Flido-balance-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Flido-balance-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Flido-balance-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anders94","download_url":"https://codeload.github.com/anders94/lido-balance-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Flido-balance-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33965591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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":[],"created_at":"2024-10-11T20:25:56.472Z","updated_at":"2026-06-06T00:31:41.956Z","avatar_url":"https://github.com/anders94.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lido-balance-reader\n\nReads the stETH balance of a given address. (or a popular whale address if one isn't given)\n\n## Prerequisites\n\n* Node.js\n* Access to a full ETH node (defaults to `http://localhost:8545`)\n\n## Setup\n\n```\ngit clone https://github.com/anders94/lido-balance-reader\ncd lido-balance-reader/\nnpm install\n```\n\n## Run\nUsing a local ETH node at `http://localhost:8545`:\n```\nnode app 0x7153d2ef9f14a6b1bb2ed822745f65e58d836c3f\n```\n\nSpecify `http://example.com:8545` as an ETH endpoint:\n```\nURI=http://example.com:8545 node app 0x7153d2ef9f14a6b1bb2ed822745f65e58d836c3f\n```\n\n## Output\n```\nSat, 17 Dec 2022 04:00:01 GMT balance 59416.3961092668570237 shares 53969.391556769290368068 totalPooledEther 4807173.129287314948053176 totalShares 4366475.011688289253384975\n```\n\n### Notes\n\nThe thing that makes this interesting is we are reading an upgradable contract. You'll see there\nare two ABI .json files in the repository. One is the proxy contract and the other is the\nimplementation. We have to read through the proxy contract as you can see in `app.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Flido-balance-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanders94%2Flido-balance-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Flido-balance-reader/lists"}