Why Nostr? What is Njump?
2024-06-09 13:41:43

bart on Nostr: Little side project: a $30 bitcoin ticker for on my desk. I have been working on it ...

Little side project: a $30 bitcoin ticker for on my desk.

I have been working on it this weekend and it's pretty fun what you can achieve with some time (and ChatGPT):



- Shows the price, 24h change, block height and fee rate. Font color of the price is red when 24h change is negative, green when it is positive.



- Made a second screen showing the fee environment. It shows fast, medium and low fee. It also shows the mempool status (based on fee rate): Good (green), OK (orange) and Bad (red).



- Third screen is about the block fees versus total reward. It shows the average reward per block (for the last 144 blocks). It also shows the average fee per block and calculates the fee/subsidy ratio. Lastly it shows if the fee ratio is good (green) or bad (red).



- I added a Welcome screen during startup while the API's are fetching the data.



- I added an Exit screen when the script is stopped (you can do this by pushing the x button).

- All buttons work and can be used to cycle through the screens or to break the loop (so you can connect the pi to your laptop to update).

- I use the Coingecko and API to fetch the data. You can easily adjust the polling interval. When the data is fetched, the led turns red.



- Next thing I'm working on is pulling a LNURL from my LNbits server and showing it as a QR code. I got this working, but the QR takes to much space. Need to make this more efficient.

- Also looking for a way to make a aluminium case.

Anyway, hope you guys like it.
Author Public Key
npub17h7h2jzhq3hn06h93jvz67sfjxaq3jvk7kenjrazht28aun33hks42sd76