{"id":21207380,"url":"https://github.com/saikrishnareddy1919/simple-blockchain-demo-using-javascript","last_synced_at":"2026-05-19T08:02:08.628Z","repository":{"id":183646251,"uuid":"301759651","full_name":"SaikrishnaReddy1919/Simple-Blockchain-demo-using-Javascript","owner":"SaikrishnaReddy1919","description":"Simple blockchiain demonstration using blockhain.","archived":false,"fork":false,"pushed_at":"2020-10-06T14:48:26.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T15:49:47.044Z","etag":null,"topics":["blockchain","blockchain-demos","cryptojs","javascript"],"latest_commit_sha":null,"homepage":"","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/SaikrishnaReddy1919.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}},"created_at":"2020-10-06T14:45:23.000Z","updated_at":"2020-10-06T14:50:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"79020d7e-84d4-435b-8a12-00d33218cdf5","html_url":"https://github.com/SaikrishnaReddy1919/Simple-Blockchain-demo-using-Javascript","commit_stats":null,"previous_names":["saikrishnareddy1919/simple-blockchain-demo-using-javascript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaikrishnaReddy1919%2FSimple-Blockchain-demo-using-Javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaikrishnaReddy1919%2FSimple-Blockchain-demo-using-Javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaikrishnaReddy1919%2FSimple-Blockchain-demo-using-Javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaikrishnaReddy1919%2FSimple-Blockchain-demo-using-Javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaikrishnaReddy1919","download_url":"https://codeload.github.com/SaikrishnaReddy1919/Simple-Blockchain-demo-using-Javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243659626,"owners_count":20326714,"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":["blockchain","blockchain-demos","cryptojs","javascript"],"created_at":"2024-11-20T20:58:36.179Z","updated_at":"2025-12-30T11:39:38.562Z","avatar_url":"https://github.com/SaikrishnaReddy1919.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## getBalanceOfAddress()\n\nunlike tradational method of getting a balance of an account, in blockchain we have to loop through every block in the blockchain. While looping, if txn is 'from' that address then we hv to reduce to the amount otherwise if txn is 'to' that address then we have to add that amount to that address and return the result.\n\nTo run this -\u003e\n\n### -\u003e npm install\n### -\u003e node block.js\n\nafter entering above commands try playing with this.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaikrishnareddy1919%2Fsimple-blockchain-demo-using-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaikrishnareddy1919%2Fsimple-blockchain-demo-using-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaikrishnareddy1919%2Fsimple-blockchain-demo-using-javascript/lists"}