{"id":17134530,"url":"https://github.com/tiagocavalcante/walletchain","last_synced_at":"2025-07-25T12:31:31.640Z","repository":{"id":55510646,"uuid":"324272636","full_name":"TiagoCavalcante/walletChain","owner":"TiagoCavalcante","description":"A centralized cryptocurrency based on wallet chain technology made in TypeScript with Deno","archived":true,"fork":false,"pushed_at":"2022-11-15T19:34:08.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T06:16:53.609Z","etag":null,"topics":["cryptocurrency","deno","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TiagoCavalcante.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":"2020-12-25T02:32:58.000Z","updated_at":"2024-11-21T17:18:01.000Z","dependencies_parsed_at":"2023-01-23T07:31:30.719Z","dependency_job_id":null,"html_url":"https://github.com/TiagoCavalcante/walletChain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TiagoCavalcante/walletChain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2FwalletChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2FwalletChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2FwalletChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2FwalletChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TiagoCavalcante","download_url":"https://codeload.github.com/TiagoCavalcante/walletChain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2FwalletChain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267007444,"owners_count":24020257,"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-07-25T02:00:09.625Z","response_time":70,"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":["cryptocurrency","deno","typescript"],"created_at":"2024-10-14T19:45:01.590Z","updated_at":"2025-07-25T12:31:31.119Z","avatar_url":"https://github.com/TiagoCavalcante.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# walletChain\nA centralized cryptocurrency based on wallet chain technology made in TypeScript with Deno\n\n## Run\nTo run the server: `export PORT=xxxx \u0026\u0026 deno run --allow-read --allow-env --allow-net src/server.ts`. The default port is `3000`\n\n## Testing\nTo run the tests: `deno test --allow-net test/*`\n\n## Routes\n| method | path           | description |\n| ------ | -------------- | ----------- |\n| GET    | /newWallet     | create a new wallet and return its `number` and its one time password `uri` |\n| POST   | /newBlock      | create a new block, receives a `application/json` body with the required paramenters `oneTimePassword`, `lastHash`, `walletNumber`, `proofNumber`\n| POST   | /transferBlock | transfer a block, receives a `application/json` body with the required paramenters `senderOneTimePassword`, `senderWalletNumber`, `receiverWalletNumber`, `blockNumber` |\n| GET    | /difficulty    | return the number of 0s on the start of the hash |\n| GET    | /lastBlock     | return the `hash` and the `blockNumber` of the last block |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagocavalcante%2Fwalletchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagocavalcante%2Fwalletchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagocavalcante%2Fwalletchain/lists"}