{"id":19365962,"url":"https://github.com/shawntabrizi/ethbalance","last_synced_at":"2025-07-01T08:07:49.827Z","repository":{"id":149747273,"uuid":"109249054","full_name":"shawntabrizi/ethbalance","owner":"shawntabrizi","description":"Ethereum and Web3.js “Hello World”: Get the ETH Balance of an Ethereum Address","archived":false,"fork":false,"pushed_at":"2021-01-27T21:40:14.000Z","size":114,"stargazers_count":28,"open_issues_count":0,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T14:41:20.256Z","etag":null,"topics":["ethereum","web3js"],"latest_commit_sha":null,"homepage":"http://shawntabrizi.com/ethbalance/","language":"HTML","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/shawntabrizi.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":"2017-11-02T10:17:21.000Z","updated_at":"2024-05-26T10:42:17.000Z","dependencies_parsed_at":"2023-04-25T03:22:25.797Z","dependency_job_id":null,"html_url":"https://github.com/shawntabrizi/ethbalance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shawntabrizi/ethbalance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fethbalance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fethbalance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fethbalance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fethbalance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shawntabrizi","download_url":"https://codeload.github.com/shawntabrizi/ethbalance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fethbalance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262924966,"owners_count":23385460,"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":["ethereum","web3js"],"created_at":"2024-11-10T07:42:55.624Z","updated_at":"2025-07-01T08:07:49.798Z","avatar_url":"https://github.com/shawntabrizi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETH-Balance\n### Ethereum and Web3.js “Hello World”: Get the ETH Balance of an Ethereum Address\n#### Using just 41 lines of HTML + JS, we create a Web3.JS application which can get the ETH Balance of an Ethereum Address\n\nRead my Blog Post here: http://shawntabrizi.com/ethereum/ethereum-web3-js-hello-world-get-eth-balance-ethereum-address/\n\nRead my correction to my original sample here: http://shawntabrizi.com/ethereum/correcting-ethereum-web3-js-hello-world/\n\nTry it out here: http://shawntabrizi.com/ethbalance/\n\nUsing Web3.js: https://github.com/ethereum/web3.js\n\nUsing Infura.io: https://infura.io/\n\n## How To Use\n\nThis project relies on an Ethereum provider to access data from the main network.\n\nThis app will first try to access any injected Web3 provider like that included with [Metamask](https://metamask.io/) or the [Brave browser](https://brave.com/).\n\nDo note though, that if you want to use the injected Web3 provider, you [must host this page on a local webserver](https://ethereum.stackexchange.com/questions/46399/unable-to-connect-to-metamask-using-web3), not just open the html file on your local filesystem.\n\nOtherwise, you can provide an HTTP Web3 provider using a free API key generated by [Infura](https://infura.io/) or similar services. You will need to replace `\u003cAPIKEY\u003e` in this project.\n\n\n## Check out other simple Web3.js samples\nhttps://github.com/shawntabrizi/ERC-20-Token-Balance\n\nhttps://github.com/shawntabrizi/ETH-Balance-Graph\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawntabrizi%2Fethbalance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshawntabrizi%2Fethbalance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawntabrizi%2Fethbalance/lists"}