{"id":25794222,"url":"https://github.com/generic-matrix/test-chain","last_synced_at":"2026-07-01T18:32:27.971Z","repository":{"id":150440411,"uuid":"420972941","full_name":"generic-matrix/test-chain","owner":"generic-matrix","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-30T14:16:41.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T03:35:28.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/generic-matrix.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":"2021-10-25T10:12:03.000Z","updated_at":"2021-10-30T16:21:13.000Z","dependencies_parsed_at":"2023-07-15T00:31:38.011Z","dependency_job_id":null,"html_url":"https://github.com/generic-matrix/test-chain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/generic-matrix/test-chain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generic-matrix%2Ftest-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generic-matrix%2Ftest-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generic-matrix%2Ftest-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generic-matrix%2Ftest-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/generic-matrix","download_url":"https://codeload.github.com/generic-matrix/test-chain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generic-matrix%2Ftest-chain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35019032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-27T13:56:55.354Z","updated_at":"2026-07-01T18:32:27.966Z","avatar_url":"https://github.com/generic-matrix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- TABLE OF CONTENTS --\u003e\n### About The Project\n\n\u003e This is a blockchain project from scratch , using the custom made blockchain have created a cryptocurrency. \n\n### The project features:\n* P2P connections to create a blockchain\n\n### To install \nRun \n```\nnpm install .\n```\n### To Run test\n```\nnpm run test\n```\n\n### How to use\nYou can open two terminal \n\n```\nTerminal 1 : npm run dev\nTerminal 2 : HTTP_PORT=3002 P2P_PORT=5002 PEERS=ws://localhost:5001  npm run dev\n```\nThis ports were given for an exampple, you can use any\n\nYou can head over to cURL or Postman to check the blocks in the blockchain:\n```\ncurl --location --request GET 'http://\u003chost\u003e:\u003cport\u003e/blocks'\n```\n\nTo mine a block in blockchain:\n```\ncurl --location --request POST 'http://\u003chost\u003e:\u003cport\u003e/mine' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"data\" : \"your data\"\n}'\n```\n\n### Functional Requirements\n* To create a distributed and decentrilized blockchain \n* To implement POW algo\n* To use SHA256 algo to generate hash\n* To implement variable mine rate\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneric-matrix%2Ftest-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneric-matrix%2Ftest-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneric-matrix%2Ftest-chain/lists"}