{"id":20911634,"url":"https://github.com/naruno/blockchain-lab","last_synced_at":"2025-05-13T07:32:27.729Z","repository":{"id":37969279,"uuid":"444438629","full_name":"Naruno/Blockchain-Lab","owner":"Naruno","description":"A fully functional blockchain lab.","archived":false,"fork":false,"pushed_at":"2023-03-03T22:14:31.000Z","size":80,"stargazers_count":4,"open_issues_count":5,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-29T06:06:08.450Z","etag":null,"topics":["blockchain","blockchain-lab","laboratory","naruno"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naruno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-04T13:57:01.000Z","updated_at":"2023-03-11T13:07:19.000Z","dependencies_parsed_at":"2023-01-31T23:20:10.586Z","dependency_job_id":null,"html_url":"https://github.com/Naruno/Blockchain-Lab","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naruno%2FBlockchain-Lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naruno%2FBlockchain-Lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naruno%2FBlockchain-Lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naruno%2FBlockchain-Lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naruno","download_url":"https://codeload.github.com/Naruno/Blockchain-Lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225189169,"owners_count":17435198,"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":["blockchain","blockchain-lab","laboratory","naruno"],"created_at":"2024-11-18T14:23:02.315Z","updated_at":"2024-11-18T14:23:02.922Z","avatar_url":"https://github.com/Naruno.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockchain Lab | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Naruno/Blockchain-Lab/blob/master/blockchain_lab.ipynb) [![Open in Cloud Shell](https://img.shields.io/badge/Google-Open%20In%20Cloud%20Shell-blue)](https://ssh.cloud.google.com/cloudshell/open?shellonly=true\u0026cloudshell_git_repo=https://github.com/Naruno/Blockchain-Lab\u0026cloudshell_tutorial=blockchain_lab.md)\n\n\nA fully functional blockchain lab.\n\n# Install\n\n```\npip3 install blockchain_lab\n```\n\n# Using\n\n## In another script\n\nYou can give these parameters in blockchain_lab()\n\n- Node number with \"node_number\"\n- Security circle number with \"security_circle_number\"\n- Path with \"path\"\n\n### Docker | Create \u0026 Delete\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab().create_docker()\n```\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab().delete_docker()\n```\n\n### Local | Create \u0026 Delete\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab().create_local()\n```\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab().delete_local()\n```\n\n### Status\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab.status()\n```\n\n### Test with a transaction\n\n```python\nfrom blockchain_lab import blockchain_lab\n\nblockchain_lab.send_transaction(receiver = \"naruno\", amount = 5000, data = \"blockchain-lab\")\n```\n\n## In command line\n\nYou can give these parameters in command line arguments of\ncreate and delete functions.\n\n- Node number with \"-nn\" or \"--nodenumber\"\n- Security circle number with \"-scn\" or \"--securitycirclenumber\"\n- Path with \"-p\" or \"--path\"\n\n### Docker | Create \u0026 Delete\n\n```console\nblockchain_lab_create_docker\n```\n\n```console\nblockchain_lab_delete_docker\n```\n\n### Local | Create \u0026 Delete\n\n```console\nblockchain_lab_create_local\n```\n\n```console\nblockchain_lab_delete_local\n```\n\n### Status\n\n```console\nblockchain_lab_status\n```\n\n### Test with a transaction\n\n```console\nblockchain_lab_send_transaction -r naruno -a 5000 -d blockchain-lab\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaruno%2Fblockchain-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaruno%2Fblockchain-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaruno%2Fblockchain-lab/lists"}