{"id":19168837,"url":"https://github.com/nikoshet/noobchain","last_synced_at":"2025-05-07T14:43:13.521Z","repository":{"id":43047794,"uuid":"248088608","full_name":"nikoshet/noobchain","owner":"nikoshet","description":"Blockchain Application - Noobcash - for 'Distributed Systems' M.Sc. Course at NTUA","archived":false,"fork":false,"pushed_at":"2022-03-21T22:19:01.000Z","size":3615,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T23:32:01.627Z","etag":null,"topics":["ajax","blockchain","docker","flask","html","jquery","python"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/nikoshet.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":"2020-03-17T22:49:14.000Z","updated_at":"2025-03-20T00:59:22.000Z","dependencies_parsed_at":"2022-09-10T12:42:22.450Z","dependency_job_id":null,"html_url":"https://github.com/nikoshet/noobchain","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/nikoshet%2Fnoobchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikoshet%2Fnoobchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikoshet%2Fnoobchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikoshet%2Fnoobchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikoshet","download_url":"https://codeload.github.com/nikoshet/noobchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252897651,"owners_count":21821484,"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":["ajax","blockchain","docker","flask","html","jquery","python"],"created_at":"2024-11-09T09:43:57.593Z","updated_at":"2025-05-07T14:43:13.483Z","avatar_url":"https://github.com/nikoshet.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Noobchain (A Fullstack Blockchain App With Flask)\n\nBlockchain Project for 'Distributed Systems' M.Sc. Course 2019-2020.\n\nUsed: **Python, Flask, Docker, HTML, Ajax, Jquery, css**\n\n## REST API Implementation\n\n##### Backend\n| URL                        | Type | Action  |\n|:--------------------------:|:----:|:-------:|\n|/chain                      | GET  |Get the blockchain from other nodes to resolve conflict|\n|/transactions/view \t     | GET \t|View transactions from last verified block|\n|/transactions/create/browser| POST |Create a transaction via browser client|\n|/transactions/money/sent \t | GET \t|Get money sent from verified transactions|\n|/transactions/money/received| GET |Get money received from verified transactions|\n|/transactions/create        | POST |Create a transaction|\n|/broadcast/transaction      | POST |Broadcast a transaction to other nodes|\n|/broadcast/ring \t         | POST |Broadcast the node to other nodes (for Bootstrap node)|\n|/broadcast/block            | POST |Broadcast a block to other nodes|\n|/nodes/register             | POST |Register node to bootstrap ring|\n\n##### Frontend\n| URL      | Type| Action                     |\n|:--------:|:---:|:--------------------------:|\n| /        | GET | Home Page                  |\n| /wallet  | GET | Node's wallet              |\n| /help    | GET | User Manual                |\n| /about   | GET | Application Information    |\n| /contact | GET | Contact page               |\n| /blockchain | GET | View Current Blockchain |\n\n## Project Structure\n```\n~/noobchain\n│\n└── backend\n|   | block.py\n|   | blockchain.py\n|   | node.py\n|   | transaction.py\n|   | wallet.py\n│\n└── public_keys\n│\n└── static\n|   └─ js\n|   └─ css\n│\n└── templates\n│   └─ layout\n│   │   │ base.html\n│   │   │ footer.html\n│   │   │ navbar.html\n│   │ about.html\n│   │ contact.html\n│   │ help.html\n│   │ home.html\n│   │ wallet.html\n│\n└── transactions\n│   └─ 3 nodes\n│   └─ 5 nodes\n│   └─ 10 nodes\n│\n│  main.py\n```\n\n## Web Interface\n\n\u003cdiv style=\"display:block;margin:auto;height:80%;width:80%\"\u003e\n  \u003cimg src=\"./noobchain/static/noobchain.gif\"\u003e\n\u003c/div\u003e\n\n## Setup \n\n```\npip install -r requirements.txt\n```\n#### Run Application\n##### Parameters\n| Parameter      | Info|\n|:--------------:|:---:|\n| -ip            | IP of node | \n| -p             | Port of node | \n| -bootstrap     | Boolean - if the node is bootstrap |\n| -ip_bootstrap  | IP of bootstrap node | \n| -port_bootstrap| Port of bootstrap |\n| -nodes         | number of nodes in network | \n| -cap           | capacity of each block in transactions | \n| -dif           | difficulty in mining of blocks | \n##### Run Example\n```\npython3 noobchain/main.py -ip 0.0.0.0 -p 1000 -bootstrap True -ip_bootstrap 0.0.0.0-port_bootstrap 1000 -nodes 5 -cap 4 -dif 4\n```\n\n## Contributors\n\n\n[Nick Nikitas](https://github.com/nikoshet)\n\n[Dimitris Zografakis](https://github.com/dimzog) \n\n[Dimitris Lamprakis](https://github.com/amra13579)\n\n---\n### Licence\n\nThe css code used is under the MIT License and can be found here: [darkly](https://bootswatch.com/darkly/).\n\nThe logo of the web interface is based on Bitcoin logo, and can be found [here](https://bitcoin.org/en/).\n\nNick Nikitas, Dimitris Zografakis, Dimitris Lamprakis.\n\nCopyright © 2020\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikoshet%2Fnoobchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikoshet%2Fnoobchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikoshet%2Fnoobchain/lists"}