{"id":20843422,"url":"https://github.com/sadham-hussian/blockchain","last_synced_at":"2026-04-24T10:34:41.929Z","repository":{"id":85042595,"uuid":"277605825","full_name":"Sadham-Hussian/Blockchain","owner":"Sadham-Hussian","description":"A simplified Blockchain implementation in Go","archived":false,"fork":false,"pushed_at":"2020-08-02T14:07:22.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-26T21:53:02.815Z","etag":null,"topics":["bitcoin","blockchain","distributed-ledger","go"],"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/Sadham-Hussian.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":"2020-07-06T17:25:51.000Z","updated_at":"2022-09-18T16:02:23.000Z","dependencies_parsed_at":"2023-03-03T00:30:58.735Z","dependency_job_id":null,"html_url":"https://github.com/Sadham-Hussian/Blockchain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sadham-Hussian/Blockchain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sadham-Hussian%2FBlockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sadham-Hussian%2FBlockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sadham-Hussian%2FBlockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sadham-Hussian%2FBlockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sadham-Hussian","download_url":"https://codeload.github.com/Sadham-Hussian/Blockchain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sadham-Hussian%2FBlockchain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32219270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bitcoin","blockchain","distributed-ledger","go"],"created_at":"2024-11-18T01:29:57.009Z","updated_at":"2026-04-24T10:34:41.902Z","avatar_url":"https://github.com/Sadham-Hussian.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockchain\n\nBlockchain implemented in Go which replicates the Bitcoin Blockchain. It is an open, distributed ledger that can record transactions efficiently by undergoing proof of work and consensus algorithm.\n\n## Instructions to run\n\n1. Clone this repo\n    ```\n    git clone https://github.com/Sadham-Hussian/Blockchain.git\n    ```\n2. Set environment variable\n\n    - In windows\n        ```\n        $ set NODE_ID:3000\n        ```\n\n    - In Linux\n        ```\n        $ export NODE_ID:3000\n        ```\n\n3. Create a wallet\n\n    ```\n    $ go run main.go createwallet\n    ```\n4. Create Blockchain and Genesis Block\n    ```\n    $ go run main.go CreateBlockchain -address ADDRESS\n    ```\n    Replace the address created by createwallet for ADDRESS in the above command\n\n5. Start other nodes within a localnetwork \n\nIf you have trouble setting up, please feel free to open an issue at GitHub\n\n## Interactive Commands\n\n```\n1. $ go run main.go CreateBlockchain -address ADDRESS\n2. $ go run main.go getBalance -address ADDRESS\n3. $ go run main.go send -from FROM -to TO -amount AMOUNT -mine\n4. $ go run main.go print\n5. $ go run main.go createwallet\n6. $ go run main.go listaddresses\n7. $ go run main.go startnode \n```\nTo start a miner node enter the following command\n```\n$ go run main.go startnode -miner ADDRESS\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadham-hussian%2Fblockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadham-hussian%2Fblockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadham-hussian%2Fblockchain/lists"}