{"id":16962103,"url":"https://github.com/wangdahoo/coin","last_synced_at":"2025-04-05T15:43:19.403Z","repository":{"id":47398979,"uuid":"194016887","full_name":"wangdahoo/coin","owner":"wangdahoo","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-10T23:23:22.000Z","size":613,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T12:41:23.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wangdahoo.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":"2019-06-27T03:32:54.000Z","updated_at":"2019-11-05T09:53:59.000Z","dependencies_parsed_at":"2023-01-26T11:01:55.550Z","dependency_job_id":null,"html_url":"https://github.com/wangdahoo/coin","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/wangdahoo%2Fcoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2Fcoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2Fcoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2Fcoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangdahoo","download_url":"https://codeload.github.com/wangdahoo/coin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361598,"owners_count":20926642,"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-13T23:05:18.550Z","updated_at":"2025-04-05T15:43:19.385Z","avatar_url":"https://github.com/wangdahoo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coin\n\n\u003e cryptocurrency study.\n\n\n## Startup\n\n- install dependencies\n\n```bash\nyarn\n```\n\n- start a peer\n\n```bash\nyarn dev\n```\n\n- start another peer\n\n```bash\nWEB_PORT=5001 PEER_PORT=8001 yarn dev\n```\n\n- connect to peer\n\n```bash\ncurl -H \"content-type:application/json\" --data '{\"endpoint\" : \"ws://127.0.0.1:8001\"}' http://localhost:5000/peer\n```\n\n- mine a block\n\n```bash\ncurl -H \"content-type:application/json\" --data '{\"data\" : \"Not Enough Minerals\"}' http://localhost:5000/mine\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdahoo%2Fcoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangdahoo%2Fcoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdahoo%2Fcoin/lists"}