I made a Bitcoin Calculator. Would love some feedback 🙏.

https://sugiro.io/mybtc/

Reply to this note

Please Login to reply.

Discussion

I get error fetching price on screen

Can you send a screenshot please

Occurs on iOS (phone) and iPad. Using Brave browser, everything is up to date

Yep. I can see here, Brave is blocking the access to Binance’s price. Will see if I can get around this. Thanks for the heads up!!!

Chrome, Safari and Firefox are working fine (to make Brave work I had to uncheck the Block Suspicious Sites 😬 in Settings > Shields & Privacy)

Hmmm the site loads, so I’m not presented with the suspicious sites issue, simply that price does t LPs and therefore can’t execute an action

I can’t tell is a suspicious site issue because I turned off “Block Dangerous Websites” in Bravee’s settings >shilds &privacy and it worked.

Now I’m looking into it. Seems like the best approach will be to set up a proxy server for the current price avoiding a third party api call. Hoping to fix this soon. Many thanks for the feedback 🤝

Made a new version more intuitive. Thanks to nostr:nprofile1qqs044j5pj8jl54pdgjapkpdm9wnhttcjr2rt5tfppy2pfma9zp6g3cpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uq3wamnwvaz7tmjv4kxz7fwwpexjmtpdshxuet59uqzjat8 feedback 🤝 / still have to fix cache issues so if you’re visiting for a second time please give it a hard reload or open in an incognito window. (there’s always room for improvement so I’m working on a custom keypad - coming soon) thought? ✌️

https://sugiro.io/mybtc

Clicking all over the screen, keyboard on android doesn't show

The keypad prototype is at

sugiro.io/mybtc/key.html

Or maybe I misunderstood if you’re looking at sugiro.io/mybtc and tapping the amount field doesn’t bring on the default keypad on android could you please share what browser are you using. Many thanks

Price does not load

Using Brave? Please what system/browser are you using - if it is Brave I’m sorry it is a real issue. Looking into a solution to fix this. ✌️

Same.

Get it off CloudFlare or whatever is causing the endless cycle of captchas. Would love to give it a go.

Hummm Will look into this first thing tomorrow. May I ask what iOS/browser are you using? Brave?

Nice, reminds me of nostr:nprofile1qqs2zqnq524z7zfdsh3vpwpwjh4vt7xxp6sec68y3xr3ndvve23ru0spzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgkwaehxw309aex2mrp0yh8qunfd4skctnwv46qzrthwden5te0dehhxtnvdakq4nr825 's calculator at https://bullishcalc.vercel.app/

Thanks! And thanks for the link will look into it right now 🤝

Very nice

Thanks 🙏

Nice, any plans to display price in GBP £ soon?

Right now Im working on a better keypad but I'll definitely look into adding more currencies. I lived in London for two years so GBP is top of the list!

Cool, having a £ sat calculator would be useful

Marc nostr:npub1marc26z8nh3xkj5rcx7ufkatvx6ueqhp5vfw9v5teq26z254renshtf3g0

Did one that has GBP

Check it out!

Scroll a little bit down and you’ll see the currency menu

https://mempool.space/tools/calculator

Cheers, will check it out 👍🏽

I didn"t know that. 🤣

😆😆😆😆

You did it. You just don’t know how you did it. https://youtube.com/shorts/cte9JMYr7QQ?si=x3yu3KfsQLPUzpQo

To be clear, I didn't write the code. I'm runnung mempool on Start9.

Yes I got that! That’s probably a feature of mempool itself

Check the one I did at https://satoshibitcoinconverter.com

Yours is prettier than mine: https://satoshibitcoinconverter.com

Whooooo 2013 !!!! 🤝🤝🤝🤝🤝

Yours is working better than mine? May I ask how do you fetch the price? Been struggling with this.

Better than mine! (!!!!) all fields update together as you type 🤯

I use cryptocompare.com api. No reason other than when I was starting to build it I could get that one to work but not the others. Also, your question just made me realize mine is not open source (I thought I had it open, but see it's set to private). I'll make it public when I get a chance. The price code looks like this though:

// Fetch price data

$.ajax({

url: `https://min-api.cryptocompare.com/data/price?fsym=${altcoinSelected}&tsyms=${fiatSelected},BTC`,

method: "GET",

dataType: "json",

success: function(data) {

if (data.Response === "Error") {

$("#coinPrice").text("Error: Invalid symbol or API unavailable");

console.error("API Error:", data.Message);

return;

}

currentPrice = parseFloat(data[fiatSelected]) || 0;

altcoinToBtcPrice = parseFloat(data["BTC"]) || (altcoinSelected === "BTC" ? 1 : 0);

$("#coinPrice").text(currentPrice.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 }));

coinConvert(); // Recalculate on update

},

error: function(xhr, status, error) {

$("#coinPrice").text("Error: Unable to fetch prices - check connection or API");

console.error("AJAX Error:", status, error, xhr.responseText);

}

});

}

Cool. Would love to see CAD 🇨🇦 in the currency list.

Marc did it! nostr:npub1marc26z8nh3xkj5rcx7ufkatvx6ueqhp5vfw9v5teq26z254renshtf3g0

His calculator has CAD

Scroll down a little bit and you’ll see the currency menu:

https://mempool.space/tools/calculator

On Brave right?

Just updated this Bitcoin Calculator to include Euros and GBP (if you've been using give it a hard refresh please).

A few notes:

- There is an API to fetch the prices from Binance.

- If you're using BRAVE you might see an "error fetching price" message on the calculator dashboard because of BRAVE's default security settings.

- Also, I tried to add CAD (Canadian Dollars) but apparently Binance is no longer operating in Canada due to regulatory issues so they are not serving a BTCCAD pair - Sorry Canadian friends 😟 BUT if someone has a suggestion for how to workaround this I appreciate (maybe a better free source for fetching BTC, USDT and Fiat pairs would be great).

Feedback is always welcomed !!!! ✌️ 🫡

BTW if you're looking for BTC - CAD here a great calculator https://mempool.space/tools/calculator

Scroll down and you'll see there is a FIAT menu