[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10483":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":15,"starSnapshotCount":15,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},10483,"blockchain","dvf\u002Fblockchain","dvf","A simple Blockchain in Python",null,"C#",8053,2800,415,82,0,1,3,66.8,"MIT License",false,"master",true,[24,5,25,26,27],"bitcoin","cryptocurrency","flask","python","2026-06-12 04:00:50","# Are you looking for the source code for my book?\n\nPlease find it here: https:\u002F\u002Fgithub.com\u002Fdvf\u002Fblockchain-book\n\nThe book is available on Amazon: https:\u002F\u002Fwww.amazon.com\u002FLearn-Blockchain-Building-Understanding-Cryptocurrencies\u002Fdp\u002F1484251709\n\n# Learn Blockchains by Building One\n\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fdvf\u002Fblockchain.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fdvf\u002Fblockchain)\n\nThis is the source code for my post on [Building a Blockchain](https:\u002F\u002Fmedium.com\u002Fp\u002F117428612f46). \n\n## Installation\n\n1. Make sure [Python 3.6+](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F) is installed. \n2. Install [pipenv](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Fpipenv). \n\n```\n$ pip install pipenv \n```\n3. Install requirements  \n```\n$ pipenv install \n``` \n\n4. Run the server:\n    * `$ pipenv run python blockchain.py` \n    * `$ pipenv run python blockchain.py -p 5001`\n    * `$ pipenv run python blockchain.py --port 5002`\n    \n## Docker\n\nAnother option for running this blockchain program is to use Docker.  Follow the instructions below to create a local Docker container:\n\n1. Clone this repository\n2. Build the docker container\n\n```\n$ docker build -t blockchain .\n```\n\n3. Run the container\n\n```\n$ docker run --rm -p 80:5000 blockchain\n```\n\n4. To add more instances, vary the public port number before the colon:\n\n```\n$ docker run --rm -p 81:5000 blockchain\n$ docker run --rm -p 82:5000 blockchain\n$ docker run --rm -p 83:5000 blockchain\n```\n\n## Installation (C# Implementation)\n\n1. Install a free copy of Visual Studio IDE (Community Edition):\nhttps:\u002F\u002Fwww.visualstudio.com\u002Fvs\u002F\n\n2. Once installed, open the solution file (BlockChain.sln) using the File > Open > Project\u002FSolution menu options within Visual Studio.\n\n3. From within the \"Solution Explorer\", right click the BlockChain.Console project and select the \"Set As Startup Project\" option.\n\n4. Click the \"Start\" button, or hit F5 to run. The program executes in a console window, and is controlled via HTTP with the same commands as the Python version.\n\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n","该项目是一个用Python实现的简单区块链系统。它通过使用Flask框架构建了一个基本的区块链网络，支持创建交易、挖矿和共识机制等核心功能，并且提供了C#版本实现以供不同开发者选择。项目具有良好的可读性和扩展性，适合初学者学习区块链原理及实践操作，也适用于教育场景中作为教学示例。此外，该代码库还支持Docker部署，方便用户在本地快速搭建测试环境。",2,"2026-06-11 03:28:47","top_topic"]