{"id":16559562,"url":"https://github.com/dvf/blockchain-book","last_synced_at":"2025-04-13T05:22:26.460Z","repository":{"id":38617708,"uuid":"339460259","full_name":"dvf/blockchain-book","owner":"dvf","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-31T20:32:28.000Z","size":1562,"stargazers_count":227,"open_issues_count":13,"forks_count":72,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-24T09:45:08.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dvf.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}},"created_at":"2021-02-16T16:29:48.000Z","updated_at":"2025-02-12T04:10:38.000Z","dependencies_parsed_at":"2022-09-21T09:01:17.196Z","dependency_job_id":null,"html_url":"https://github.com/dvf/blockchain-book","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/dvf%2Fblockchain-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvf%2Fblockchain-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvf%2Fblockchain-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvf%2Fblockchain-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvf","download_url":"https://codeload.github.com/dvf/blockchain-book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248666922,"owners_count":21142344,"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":"2024-10-11T20:26:25.603Z","updated_at":"2025-04-13T05:22:26.437Z","avatar_url":"https://github.com/dvf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Blockchain by Building One\n\nThis is the full source code for my book, [Learn Blockchain by Building One](https://www.amazon.com/Learn-Blockchain-Building-Understanding-Cryptocurrencies/dp/1484251709/ref=sr_1_3?crid=1TB6LKK9INSJC\u0026dchild=1\u0026keywords=learn+blockchain+by+building+one\u0026qid=1613493701\u0026sprefix=learn+blockchain+%2Caps%2C144\u0026sr=8-3) (Apress / Amazon).\n\nPlease submit any issues found in the code here: https://github.com/dvf/blockchain-book/issues\n\nAnd if I haven't responded to them, please get my attention at hi@dvf.nyc and I'll do my best to help you out.\n\n# The Code\n\nThe finalized blockchain is located in /chapters/chapter_7.\n\nPlease ensure all dependencies are installed:\n\n```bash\ncd chapters/chapter_7\npoetry install\n```\n```\nCreating virtualenv chapter-7-uY9ygsE2-py3.8 in /home/dan3x/.cache/pypoetry/virtualenvs\nInstalling dependencies from lock file\n\nPackage operations: 50 installs, 0 updates, 0 removals\n\n  • Installing pyparsing (2.4.7)\n  • Installing six (1.15.0)\n  • Installing attrs (20.2.0)\n  • Installing colorama (0.4.3)\n  • Installing idna (2.10)\n  • Installing iniconfig (1.0.1)\n...\n```\nThen you can run the node:\n```\n$ poetry shell\n(chapter-7-py3.8) $ python node.py\n\n2021-02-16 11:37.35 Creating genesis block\n2021-02-16 11:37.35 Server listening on 0.0.0.0:8888\n2021-02-16 11:37.35 Found external IP: XXX.XXX.XXX.XXX\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvf%2Fblockchain-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvf%2Fblockchain-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvf%2Fblockchain-book/lists"}