{"id":14980147,"url":"https://github.com/santoshlite/bitcoinpaymentterminal","last_synced_at":"2025-04-12T12:50:49.907Z","repository":{"id":107401013,"uuid":"364679751","full_name":"santoshlite/BitcoinPaymentTerminal","owner":"santoshlite","description":"This is a smarter bitcoin payment terminal that updates the price of the transaction based on the actual price of bitcoin","archived":false,"fork":false,"pushed_at":"2023-08-11T22:15:13.000Z","size":486,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T07:36:05.963Z","etag":null,"topics":["bitcoin","bitcoin-payment","bitcoin-payment-gateway","bitcoin-payments","cryptocurrency","payment"],"latest_commit_sha":null,"homepage":"","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/santoshlite.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-05-05T19:04:33.000Z","updated_at":"2023-08-26T00:54:51.000Z","dependencies_parsed_at":"2024-06-11T06:11:24.600Z","dependency_job_id":"67ba7135-0f2d-429c-9b1c-438cb6e88b2e","html_url":"https://github.com/santoshlite/BitcoinPaymentTerminal","commit_stats":null,"previous_names":["santoshlite/bitcoinpaymentterminal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FBitcoinPaymentTerminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FBitcoinPaymentTerminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FBitcoinPaymentTerminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FBitcoinPaymentTerminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshlite","download_url":"https://codeload.github.com/santoshlite/BitcoinPaymentTerminal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571329,"owners_count":21126516,"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":["bitcoin","bitcoin-payment","bitcoin-payment-gateway","bitcoin-payments","cryptocurrency","payment"],"created_at":"2024-09-24T14:01:22.030Z","updated_at":"2025-04-12T12:50:49.882Z","avatar_url":"https://github.com/santoshlite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitcoin Payment Terminal 💸\n\u003ci\u003eDisclaimer : It's just a frontend, no backend. \u003c/i\u003e\n\nThis is a smarter **bitcoin payment terminal** that **updates** the price of the transaction **based on the actual price of bitcoin**. It doesn't actually make the transaction.\n\n## The Why ✔️\n\nThis solves the problem of **Bitcoin's volatility** when selling/buying something in Bitcoin. It also avoids the need to use security funds to compensate customers for the loss of Bitcoin in a transaction due to volatility.\n\nFor example, let's say a seller want to sell something for $1 to one of his customer in BTC. Imagine that bitcoin increases suddenly. As a result of this increase, the bitcoin price he is offering is probably not in line with the real price of bitcoin. And so it is as if he has sold his product for less than $1.\n\nGenerally, to avoid this, there are security funds that can compensate for these losses. Here I present my approach to solve this problem.\n\n## What does it look like ✨\n\n![](bit.gif)\n\nAs you can see, when I refresh the page, the price of bitcoin updates. So the price adapts to the actual Bitcoin Price. \n\n## How to use it ⚒️\n\n- Download the folder on an empty file\n- Open the ```pay.html``` file\n- In our case, the transaction is $10 as we can see it here:\n```\n\u003cbody id=\"body\" ng-init=\"stdbtc=1;stdusd=0;_btc=10;\"\u003e\n```\n- If you want to change the value of the transaction, you just have to change the value of the ```_btc```\n## Acknowledgement 🙏\n\nIt was mainly made possible due to this repo that inspired me a lot :  [USD-BTC-Converter](https://github.com/ManuelVargas1251/USD-BTC-Converter) made by @ManuelVargas1251\n\n## Contribution\n\nWhatever you want, idea, suggestions, corretions, improvements... :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshlite%2Fbitcoinpaymentterminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshlite%2Fbitcoinpaymentterminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshlite%2Fbitcoinpaymentterminal/lists"}