{"id":19887080,"url":"https://github.com/m-nathani/bitpoint-blockchain","last_synced_at":"2026-04-12T01:40:08.070Z","repository":{"id":52063409,"uuid":"154579013","full_name":"m-nathani/BitPoint-Blockchain","owner":"m-nathani","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-12T07:15:46.000Z","size":47,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-11T19:12:12.603Z","etag":null,"topics":["bitpoint","blockchain","blockchain-demos","blockchain-technology","bootstrap","javascript","nodejs","p2p","socket-io","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-nathani.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":"2018-10-24T22:49:45.000Z","updated_at":"2020-12-27T00:33:21.000Z","dependencies_parsed_at":"2023-02-09T10:31:24.524Z","dependency_job_id":null,"html_url":"https://github.com/m-nathani/BitPoint-Blockchain","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/m-nathani%2FBitPoint-Blockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-nathani%2FBitPoint-Blockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-nathani%2FBitPoint-Blockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-nathani%2FBitPoint-Blockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-nathani","download_url":"https://codeload.github.com/m-nathani/BitPoint-Blockchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241315470,"owners_count":19942837,"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":["bitpoint","blockchain","blockchain-demos","blockchain-technology","bootstrap","javascript","nodejs","p2p","socket-io","typescript"],"created_at":"2024-11-12T17:40:33.989Z","updated_at":"2026-04-12T01:40:03.019Z","avatar_url":"https://github.com/m-nathani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BitPoint - For the People, by the Government. \n\n\n## Transfer of Points by Government to public. How ? \n```\n1. Bills\n2. Tax payer\n3. Trafics Rules\n4. Banking miscounduct\n5. Physically or Mentally disabled persons points would be more then average. (Good to have)\n6. Street Crime\n7. Theft\n8. Other Criminal Activites\n9. Government setting a threshold to give access to a specific persons.\n   ...\n```\n\n\n## Benefits:\n```\n1. Bank Loans preference on the basis.\n2. Discounts on goverment tickets.\n3. Points used when applying for visa.\n   etc\n```\n\n\n## Benefits of Blockchain for BitPoint\n```\n1. Greater transparency\n\tIs a type of distributed ledger.\n\tMore accurate, consistent.\n\tAvailable to all users.\n2. Enhanced security by helping to prevent fraud and unauthorized activity\n\tIt is encrypted and linked to the previous transaction.\n\tDecentralized.\n\tAuthentic/Trusted.\n3. Improved traceability\n\t Historical transaction of points can help to verify the authenticity and prevent fraud.\n4. Reduced costs\n\tFor Datacenters\n\tFor managing security\n\tAny fees that are paid to trusted third parties.\n5. Immutability\n\tonce the data is pushed to the chain its very difficult to the change it back\n```\n\n\n## Installation with Docker\n```\ndocker-compose up --build\n```\n\n## Installation\n```\nnpm install\n```\n\n### Useful commands\n```\nHTTP_PORT=3003 P2P_PORT=6003 npm start\n```\n\n##### Get blockchain\n```\ncurl http://localhost:3003/blocks\n```\n\n##### Mine the block with a bitpoint transaction\n```\ncurl -H \"Content-type:application/json\" --data '{\"data\" : { \"to\": \"1234\", \"from\": \"4321\", \"point\": 20, \"reason\": \"bla bla\" } }' http://localhost:3003/mineBlock\n``` \n\n##### Get points for a bitpoint user\n```\ncurl  http://localhost:3003/points/:nic\n``` \n\n##### Add peer\n```\ncurl -H \"Content-type:application/json\" --data '{\"peers\" : [\"ws://bitpoint-node-1:6003\", \"ws://bitpoint-node-3:6005\"]}' http://localhost:3004/addPeers\n```\n#### Query connected peers\n```\ncurl http://localhost:3003/peers\n```\n\n\n#### A tutorial and credits for building a cryptocurrency \n\n```\nhttps://lhartikk.github.io/\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-nathani%2Fbitpoint-blockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-nathani%2Fbitpoint-blockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-nathani%2Fbitpoint-blockchain/lists"}