[shameless self promotion]

I made a little webapp to convert sats/btc/usd the other night.

https://SatsCalc.com

https://nostr.build/av/nostr.build_caa820ed930eee810b831e04aec0e0e6e737791f2e3ac93b5a47b251dc9e013c.mp4

Reply to this note

Please Login to reply.

Discussion

This is great!

🤗

Great job! Maybe add Ksats too?

This looks identical in function and source (Kraken) to this calculator

https://www.kraken.com/learn/satoshi-to-usd-converter

But your version doesn’t have all the extra 3rd party connections or HTML5 canvas data extraction.

Well done! Bookmarked!

this exists because I got tired of using that kraken calculator! glad you find it useful too.

it makes a single request to the public kraken api for btc/usd price.

It works well by turning it into an icon on iOS (dynamic web app or link they call it?) except the numbers keyboard doesn’t give me the ability to add a decimal point. Maybe an iOS quirk

It’s an iOS thing… I went round and round with it and ultimately compromised for number pad without the decimal. there’s a pretty comprehensive stackoverflow post I found by searching “best settings for HTML number input for moble” that details it.

if you’re inclined, the site is open source: https://github.com/bndw/satscalc.com

Zapped 🧡💜⚡ via https://nodeless.io/donate/satscalc

🤝 #[5]

This is really nice and clean!

Doesn't work on #torbrowser safest mode.

tor’s “safest” mode disables javascript by default, which this website requires to run. so if you want to use the site you’ll have to enable javascript.

there is no tracking/ads/fingerprinting/etc bullshit on my site. you can view the source: https://github.com/bndw/satscalc.com

Cool, last night I was trying to work out what the price of BTC would be if 1000 SATs is $10. Any possibility?

oh that’s an interesting idea. I pull the current price of bitcoin on load but don’t allow you to edit it.

anyways, I think the answer to your question is:

1 btc = 100,000,000 sats

1,000 sats = 0.00001

if 1,000 is $10 then you can just move the decimal 5 places: $10.0 => $1000000.0 or $1,000,000 btc

hope that’s right, it’s early and I’m not a math guy lol

Thanks, I came to the same 1 million USD so we must both be wrong :) - here's $10 for your efforts...maybe...