Overview
An extension to replace every mention of a US$ amount by its equivalent in Bitcoin, using the most up-to-date exchange rate.
# Bitcoin, Unit of Account A chrome extension to replace amounts of US$ by Bitcoin. When reading the news or shopping online you constantly see the price of things in US$ and mentions of US$ amounts spent by corporations and the government. This Chrome extension converts US$ -> bitcoin in some of the most popular online newspapers available in English, as well as Amazon and Wikipedia. ## Why? In the discussions about cryptocurrencies one of the most prominent topics is whether Bitcoin will ever become a unit of account, in other words, will currency amounts ever be expressed in BTC, not US$? I created this extension for fun, and to let you experience such hypothetical future where bitcoin is used as a unit of account. In no way it reflects a belief this future will happen so do not interpret it financial advice. If you ever had the curiosity to know how would it feel reading news and shopping online with bitcoin as a unit of account, this extension is for you. ## How does it work? When you turn on this extension, and browse an enabled website, at each webpage it will: 1. wait a few seconds, so most of the dollar amounts become available. This is especially important on online stores, as they typically make personalised recommendations for you by loading the products and prices on the fly, while you browse the website. 2. retrieve the current bitcoin price from https://api.coindesk.com/v1/bpi/currentprice/USD.json ("powered by Coindesk") 3. run a script that reads all dollar amounts on the page and convert them to bitcoin. The replacement of US$ amounts by the bitcoin equivalent happens only once to avoid consuming too much resources on your browser and computer. Therefore, if the webpage is constantly refreshing the prices, you will start seeing the bitcoin amount replaced by US$ amounts again. I believe this is the right design decision as it is enough to demonstrate a concept. You may not see dollar amounts being replaced in: - ads - images - anywhere where they are not placed after a dollar identifier ($, US$, USD, etc) ## Where? In its initial release, the extension only works on the most popular online store and newspapers. ## Examples Let me give you 2 examples, the 1st one from a news page that originally reads: "Stocks mixed as June begins, oil nears $68 per barrel AMC Entertainment Holdings plans to raise $230.5M through a share sale" On June 1st, 2021, this text was replaced by: "Stocks mixed as June begins, oil nears m₿ 1.87 per barrel AMC Entertainment Holdings plans to raise ₿ 6,354 through a share sale" The 2nd example is an Amazon's deal of the day: "$157.50 Price: $196.99 (20% off)" which was replaced by: "m₿ 4.34 Price: m₿ 5.42 (20% off)" To view the original prices, you need to disable the extension and reload the page. ## Disclaimers I'm not associated in any way with these companies and any text replacement will happen only in your browser, without their knowledge. You won't be able to pay in bitcoins if the online store does not accept it. Even if it does accept bitcoin, this extension's calculations may differ, thus make sure you rely on the online store's own conversion rate. ## Contributions Feel free to submit pull requests on https://github.com/fbitti/bitcoin-unit-of-account ## Contact You may reach me out at https://twitter.com/f_bitti
0 out of 5No ratings
Google doesn't verify reviews. Learn more about results and reviews.
Details
- Version0.0.2
- UpdatedJune 10, 2021
- Offered byfernando.bitti
- Size47.12KiB
- LanguagesEnglish
- Developer
Email
fernando.bitti@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser