tyiu / sats-price-ios

SatsPrice fetches the price of Bitcoin relative to the United States Dollar from multiple sources, and converts inputted amounts between Sats, BTC, and USD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SatsPrice

This app fetches the price of Bitcoin relative to the United States Dollar from multiple sources, and converts inputted amounts between Sats, BTC, and USD.

Notes

Precision is attempted to be kept up to 20 digits.

When NaN is displayed, it means "not a number", which can be caused by invalid input or problems fetching the price of Bitcoin from the selected source.

Attribution

The Bitcoin Calculator icon was created by Icon home and licensed as free for personal and commercial use with attribution.

This project depends on BigDecimal, an MIT-licensed package for providing arbitrary-precision and fixed-precision decimal arithmetic in Swift.

About

SatsPrice fetches the price of Bitcoin relative to the United States Dollar from multiple sources, and converts inputted amounts between Sats, BTC, and USD.

License:GNU General Public License v3.0


Languages

Language:Swift 100.0%