{"id":22150866,"url":"https://github.com/sadiksunbul/go-blockchain-simulation","last_synced_at":"2026-03-11T15:12:45.093Z","repository":{"id":244384372,"uuid":"815066994","full_name":"SadikSunbul/GO-BlockChain-Simulation","owner":"SadikSunbul","description":" 🔵 A simple blockchain will be simulated with the Go language","archived":false,"fork":false,"pushed_at":"2025-04-13T14:43:25.000Z","size":220,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T09:11:14.088Z","etag":null,"topics":["blockchain","blockchain-demos","blockchain-simulation","blockchain-technology","btc","go","go-blockchain-example","go-blockchain-simulation","golang","merkle-tree","prof-of-work"],"latest_commit_sha":null,"homepage":"","language":"Go","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/SadikSunbul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-14T09:25:59.000Z","updated_at":"2025-04-13T14:43:28.000Z","dependencies_parsed_at":"2025-07-26T04:32:16.070Z","dependency_job_id":"17b0dea6-c7c7-44fb-bce9-a8fb3d8883c0","html_url":"https://github.com/SadikSunbul/GO-BlockChain-Simulation","commit_stats":null,"previous_names":["sadiksunbul/go-blockchain-simulation"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SadikSunbul/GO-BlockChain-Simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadikSunbul%2FGO-BlockChain-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadikSunbul%2FGO-BlockChain-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadikSunbul%2FGO-BlockChain-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadikSunbul%2FGO-BlockChain-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SadikSunbul","download_url":"https://codeload.github.com/SadikSunbul/GO-BlockChain-Simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadikSunbul%2FGO-BlockChain-Simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272451984,"owners_count":24937463,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"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":["blockchain","blockchain-demos","blockchain-simulation","blockchain-technology","btc","go","go-blockchain-example","go-blockchain-simulation","golang","merkle-tree","prof-of-work"],"created_at":"2024-12-02T00:22:12.019Z","updated_at":"2026-03-11T15:12:40.068Z","avatar_url":"https://github.com/SadikSunbul.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go](https://github.com/SadikSunbul/GO-BlockChain-Simulation/actions/workflows/go.yml/badge.svg)](https://github.com/SadikSunbul/GO-BlockChain-Simulation/actions/workflows/go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/SadikSunbul/GO-BlockChain-Simulation)](https://goreportcard.com/report/github.com/SadikSunbul/GO-BlockChain-Simulation)\n[![Version](https://img.shields.io/badge/Version-1.0-blue)]()\n\n# GO-BlockChain-Simulation\n\nGO-BlockChain-Simulation is a blockchain simulation written in Go. This project is developed to understand and implement the fundamentals of blockchain technology.\n***\n\n\u003cimg src=\"https://repository-images.githubusercontent.com/815066994/a67ad049-f2ce-4276-8f24-5f01ceefaf30\"\u003e\n\n## Project Pictures\n\n\u003cimg src=\"images/1736098905012.jpeg\" width=\"400\"\u003e\n\n\u003cimg src=\"images/1736098987330.jpeg\" width=\"400\"\u003e\n\n\u003cimg src=\"images/1736099220240.jpeg\" width=\"400\"\u003e\n\n## Project Structure\n\nThe project consists of the following components:\n\n- **cli**: Contains necessary code for the command-line interface.\n- **blockchain**: Defines the structure and operations of the blockchain.\n- **wallet**: Provides operations to manage cryptocurrency wallets.\n- **main.go**: Main application file of the project.\n***\n\n## Installation\n\nClone the project to your local machine:\n\n+ ```bash\n   $ git clone https://github.com/SadikSunbul/GO-BlockChain-Simulation.git\n   $ cd GO-BlockChain-Simulation \n***\n\n## Usage\n\n### Creating a Blockchain\n\nTo create a new blockchain:\n\n+ ```bash \n   $ go run main.go createblockchain -address \u003cADDRESS\u003e \n***\n\n### Checking Balance\n\nTo check the balance for a specific address:\n\n+ ```bash\n   $ go run main.go getbalance -address \u003cADDRESS\u003e\n***\n\n### Sending Transactions\n\nTo send a transaction on the blockchain:\n\n+ ```bash\n   $ go run main.go send -from \u003cFROM_ADDRESS\u003e -to \u003cTO_ADDRESS\u003e -amount \u003cAMOUNT\u003e -mine\n***\n\n### Viewing the Blockchain\n\nTo print all blocks in the blockchain:\n\n+ ```bash\n   $ go run main.go printchain \n***\n\n### Creating a New Wallet\n\nTo create a new wallet:\n\n+  ```bash\n   $ go run main.go createwallet\n***\n\n### List Wallets\n\nLists the public keys of the wallets you created on your device:\n\n+ ```bash\n   $ go run main.go listaddresses\n***\n\n### Reindex UTXO\n\n+ ```bash\n   $ go run main.go reindexutxo\n***\n\n### Start Node\n\n+ ```bash\n   $ go run main.go startnode -miner \u003cADDRESS\u003e\n***\n\n## Contributing\n\nIf you would like to contribute, please open a pull request on [GitHub](https://github.com/SadikSunbul/GO-BlockChain-Simulation). We welcome contributions of any kind to the project.\nThis project follows a [Code of Conduct](CODE_OF_CONDUCT.md). Please review and adhere to it in all interactions within the project.\n***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadiksunbul%2Fgo-blockchain-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadiksunbul%2Fgo-blockchain-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadiksunbul%2Fgo-blockchain-simulation/lists"}