{"id":16640257,"url":"https://github.com/ysm-dev/ts-coin","last_synced_at":"2025-08-25T22:07:30.104Z","repository":{"id":112752753,"uuid":"119177274","full_name":"ysm-dev/ts-coin","owner":"ysm-dev","description":"⛓ Simple Blockchain implementation with Express, TypeScript.","archived":false,"fork":false,"pushed_at":"2018-01-28T01:56:14.000Z","size":84,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T08:40:02.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysm-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-01-27T15:42:49.000Z","updated_at":"2025-03-25T10:35:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"77a6763a-a7a4-430b-a97d-4ee8897e9504","html_url":"https://github.com/ysm-dev/ts-coin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ysm-dev/ts-coin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fts-coin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fts-coin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fts-coin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fts-coin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysm-dev","download_url":"https://codeload.github.com/ysm-dev/ts-coin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fts-coin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272138793,"owners_count":24880182,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":"2024-10-12T07:08:18.256Z","updated_at":"2025-08-25T22:07:30.068Z","avatar_url":"https://github.com/ysm-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTS-Coin\u003c/h1\u003e\n\n[golbin](https://github.com/golbin)님의 [G-Coin](https://github.com/golbin/g-coin)\n을 보고 [Express](http://expressjs.com), [TypeScript](https://www.typescriptlang.org)\n로 작성한 TS-Coin 입니다.\n\nSimple BlockChain implementation with [Express](http://expressjs.com), [TypeScript](https://www.typescriptlang.org).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Endpoints](#endpoints)\n- [References](#references)\n\n\n## Installation\n\n```sh\n$ git clone https://github.com/ysm0622/ts-coin.git\n$ npm i\n$ node index.js\n```\n\nAnd go to [http://localhost:3000](http://localhost:3000)\n\n## Usage\n\nUsing [Postman](https://www.getpostman.com/apps) which is API test tool.\n\n![Postman](https://www.getpostman.com/img/v2/postman/gifs/import-file.gif)\n\n## Endpoints\n\n- `POST` /transaction\n    - Add transaction.\n    - Transaction format :\n    ```json\n    {\n      \"sender\": \"0\",\n      \"recipient\": \"foo\",\n      \"amount\": 0\n    }\n    ```\n    \n- `GET` /transaction\n    - Get pending transactions.\n\n- `POST` /mine\n    - Mining. Find proof and make block with rewards.\n    \n- `GET` /chain\n    - Get full chain to validate.\n    \n- `POST` /node\n    - Add a node.\n    \n- `GET` /node\n    - Get all nodes.\n    \n- `GET` /chain/valid\n    - Valid chain.\n    \n## References\n\n- [https://tykimos.github.io/2018/01/21/g_coin_analysis_part1/](https://tykimos.github.io/2018/01/21/g_coin_analysis_part1/) (Korean)\n- [https://github.com/golbin/g-coin](https://github.com/golbin/g-coin)\n- [http://ecomunsing.com/build-your-own-blockchain](http://ecomunsing.com/build-your-own-blockchain)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysm-dev%2Fts-coin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysm-dev%2Fts-coin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysm-dev%2Fts-coin/lists"}