{"id":24979992,"url":"https://github.com/sajaltimilsina/blockchain","last_synced_at":"2025-03-29T09:45:27.883Z","repository":{"id":160804444,"uuid":"449953908","full_name":"SajalTimilsina/blockchain","owner":"SajalTimilsina","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-30T06:04:35.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T04:31:14.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/SajalTimilsina.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-01-20T04:28:45.000Z","updated_at":"2022-01-20T04:30:02.000Z","dependencies_parsed_at":"2025-02-04T04:39:44.092Z","dependency_job_id":null,"html_url":"https://github.com/SajalTimilsina/blockchain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SajalTimilsina%2Fblockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SajalTimilsina%2Fblockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SajalTimilsina%2Fblockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SajalTimilsina%2Fblockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SajalTimilsina","download_url":"https://codeload.github.com/SajalTimilsina/blockchain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246168086,"owners_count":20734389,"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":[],"created_at":"2025-02-04T04:29:04.012Z","updated_at":"2025-03-29T09:45:27.867Z","avatar_url":"https://github.com/SajalTimilsina.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n\nWelcome to the Basic Blockchain Function project in Python! This project aims to demonstrate the fundamental concepts of blockchain by implementing a simplified version of a blockchain system. The program is divided into three main components: Miner Node, User Node, and Blockchain Node.\n\nProject Overview\n\nThe project is inspired by the concepts found in Bitcoin and Ethereum but is simplified for educational purposes. It allows users to create transactions, miners to verify and approve transactions, and the blockchain to store and manage the chain of validated transactions.\n\nThe three main components are:\n\n1) Miner Node: Responsible for mining new blocks and validating pending transactions. Miners play a crucial role in securing the network by solving computational puzzles (proof-of-work) to add new blocks to the blockchain.\n\n2) User Node: Represents the users or participants who can create transactions by sending/receiving tokens. Users can interact with the blockchain by submitting their transactions to be included in the next block.\n\n3) Blockchain Node: The heart of the system, this component manages the entire blockchain. It stores the complete chain of blocks, approves and validates transactions, and allows new nodes to join the network.\n\nInstallation\n\nFollow the steps below to set up the project on your local machine:\n\n1) Clone the repository to your local machine using the following command:\n    git clone https://github.com/SajalTimilsina/blockchain.git\n2) Navigate to the project directory:\n\n   cd blockchain-python\n4) Create a virtual Environment (optional, but recommended)\n\n    python -m venv venv\n\n6) Activate the virtual environment\n\n   On Windows:\n       venv\\Scripts\\activate\n\n    On MacOS and Linux:\n    source venv/bin/activate\n\n8) Install the required dependencies:\n\n   pip install -r requirement.txt\n   \n\nFeatures:\n\nThe basic blockchain function project offers the following features:\n\nTransaction Approval: \n\nTransactions are verified and approved by miner nodes through a proof-of-work mechanism, ensuring the integrity of the blockchain.\n\nChain Storage: \n\nThe blockchain node stores the entire chain of validated blocks, enabling transparent and secure transaction history.\n\nJoin the Chain: \n\nNew nodes can join the blockchain network, enhancing the decentralized nature of the system.\n\nReferences\n\nThis project is created with reference to the concepts found in the Bitcoin and Ethereum whitepapers:\n\nBitcoin Whitepaper\nEthereum Whitepaper\n\nNote: This project is intended for educational purposes only and should not be used for production-level implementations.\n\nFeel free to contribute to this project and explore the fascinating world of blockchain!\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajaltimilsina%2Fblockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajaltimilsina%2Fblockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajaltimilsina%2Fblockchain/lists"}