bitcoin-ticker is a E-ink ticker that shows usefull information about bitcoin

Overview

bitcoin-ticker

bitcoin-ticker is a E-ink ticker that shows usefull information about bitcoin. Due to the limited refresh lifetime, new information is currently shown every 5 minutes and whenever a new block arrives.

Hardware

  • waveshare 2.7 e-Paper HAT (e.g. from berrybase)
  • rasberry pi zero WH (e.g. from berrybase)
  • Power supply Micro USB 5V (e.g. from berrybase)
  • micro SD card with 16 GB or more (e.g. from berrybase)
  • Printed Case (e.g. Typ B from ebay)

Usage

Ticker view

The Tickers the following information:

  • Block height, Mean block intervall in minutes, Time
  • Minimal Block fee for the first 7 blocks in mempool
  • Dollar price of a bitcoin
  • Satoshi per Dollar (also know as moskow time)
  • Sotoshi per Euro
  • Euro price of a bitcoin

Whenever a new block has arrived on the blockchain, the following information is shown for 120 seconds (can be disabled in the config.ini):

  • Euro price of a bitcoin, mean block intervall in minutes, Time
  • Minimal Block fee for the first 7 blocks in mempool
  • Blocks in mempook, Number of transaction in mempool
  • Blocks until next difficulty retargeting, est. difficulty multiplier, est. retarget time
  • Block height

Due to the limited lifetime of 1000000 refreshes and an expected lifetime of 5 years, the refresh period has been set to 216 seconds.

Buttons

There are four buttons which the following behaviour (Please be patient after pressing, the e-ink is quite slow):

  1. Switch through different ticker views
  2. Switch BTC/fiat graph through 1, 7 and 30 days
  3. Switch the layout of the ticker
  4. Show new block screen (is also shown everytime a new block is created)

Config.ini

It possible to personalize the ticker to your needs. After logging into your raspi with SSH, the config can be edited with

nano config.ini

After writing the change to the ini file, a restart of the btc-ticker service is needed:

sudo systemctl restart btcticker

Update btc-ticker without reflashing the sdcard

After logging into the btc-ticker with SSH, the update can be started with

./99updateMenu.sh

Select now:

  • PATCH
  • Patch menu
  • PATCH to update the ticker to the newest updates from git.

Flash SDcard

  • Downlad version 0.3.1 from btc-ticker-0_3_1.img.gz
  • Verify SHA256 checksum. It should be: C614031C9B7F9DF693D60B57A9B730053F86AE31CDFADDCAFC219E8069057FA6
  • add wpa_supplicant.conf to the boot partition when mounted on PC
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=[COUNTRY_CODE]
network={
  ssid="[WIFI_SSID]"
  psk="[WIFI_PASSWORD]"
}
  • replace [COUNTRY_CODE] with the ISO2 code (e.g. DE)
  • Set [WIFI_SSID] and [WIFI_PASSWORD]

Build SDcard from scratch

The SDcard build process is inspired by the great raspiblitz.

  • Download lastest raspios image
  • Write the Image to a SD card Tutorial
  • Add a ssh file to the boot partition when mounted on PC
  • Add a wpa_supplicant.conf file, as shown in the section before. More information are also available here
  • Login via SSH to ssh pi@[IP-OF-YOUR-RASPI] using password raspberry

The image can now be build with:

wget https://raw.githubusercontent.com/btc-ticker/btc-ticker/main/build_sdcard.sh && sudo bash build_sdcard.sh

After everything run through, it is possible to login with the password btcticker In order to prepare everyting for release, run /home/admin/XXprepareRelease.sh. When you just want to use it for yourself, you do not need to run /home/admin/XXprepareRelease.sh.

Changing the ssh password

In order to secure your btc-ticker in your local network, you should change the SSH password after setting up everything.

  • Login via SSH to ssh admin@[IP-OF-YOUR-RASPI] using the password btcticker
  • Change the password (this will be improved in the next release)
echo "pi:NEWPASSWORD" | sudo chpasswd
echo "root:NEWPASSWORD" | sudo chpasswd
echo "admin:NEWPASSWORD" | sudo chpasswd

Replace NEWPASSWORD with the new password.

Used APIs

btc-ticker is using the following APIs:

You might also like...
Generate bitcoin public and private keys and check if they match a filelist of existing addresses that have a nonzero balance

btc-heist Running Install deps, i.e., python3 -m pip install -r requirements.txt Download the CSV dump of all bitcoin addresses with a balance and cut

SimpleWallet - Simple wallet for Bitcoin
SimpleWallet - Simple wallet for Bitcoin

Simple Wallet This is a basic python starter package to be used as a template fo

BlockVis - Create beautiful visualizations of Bitcoin Blockheaders
BlockVis - Create beautiful visualizations of Bitcoin Blockheaders

BlockVis Create beautiful visualizations of Bitcoin Blockheaders How to run To r

Bsvlib - Bitcoin SV (BSV) Python Library

bsvlib A Bitcoin SV (BSV) Python Library that is extremely simple to use but mor

Create and finder all address wallet bitcoin and check balance , transaction
Create and finder all address wallet bitcoin and check balance , transaction

BTCCrackWallet Create and finder all address wallet bitcoin and check balance , transaction bitcoin wallet generator generated address wallet , public

Connects to an active BitCoin Peer and communicates in order to locate a specific block number (height)

BitCoin-Peer-Client Connects to an active BitCoin Peer, and locates a predetermined block number (height) by downloading block headers. Once required

Bitcoin & Lightning Container Manager for facilitating development tools
Bitcoin & Lightning Container Manager for facilitating development tools

Torch-cli Bitcoin & Lightning Container Manager for facilitating development too

Aplicação de monitoramento de valores de criptos através da API do Mercado Bitcoin.
Aplicação de monitoramento de valores de criptos através da API do Mercado Bitcoin.

myCrypto_MercadoBitcoin Aplicação de monitoramento de valores de criptos através da API do Mercado Bitcoin. Apoie esse projeto! 💵 💵 Olá! Você pode r

This project is a proof of concept to create a dashboard using Dash to display information about various cryptocurrencies.

This project is a WIP as a way to display useful information about cryptocurrencies. It's currently being actively developed as a proof of concept, and a way to visualize more useful data about various cryptocurrencies.

Comments
  • Ticker stopped updating on 2022-03-11 -> 502 Bad Gateway

    Ticker stopped updating on 2022-03-11 -> 502 Bad Gateway

    The Ticker stopped updating for me 3hrs ago. Looking at the logs I assume it's an issue with the used library/api from blockchain.com

    Mar 11 14:03:01 raspberrypi run.sh[459]:   File "/usr/local/lib/python3.7/dist-packages/btc_ticker-0.4.2-py3.7.egg/btcticker/ticker.py", line 83, in refresh
    Mar 11 14:03:01 raspberrypi run.sh[459]:     self.stats = statistics.get()
    Mar 11 14:03:01 raspberrypi run.sh[459]:   File "/usr/local/lib/python3.7/dist-packages/blockchain-1.4.4-py3.7.egg/blockchain/statistics.py", line 20, in get
    Mar 11 14:03:01 raspberrypi run.sh[459]:     response = util.call_api(resource)
    Mar 11 14:03:01 raspberrypi run.sh[459]:   File "/usr/local/lib/python3.7/dist-packages/blockchain-1.4.4-py3.7.egg/blockchain/util.py", line 30, in call_api
    Mar 11 14:03:01 raspberrypi run.sh[459]:     raise APIException(handle_response(e.read()), e.code)
    Mar 11 14:03:01 raspberrypi run.sh[459]: blockchain.exceptions.APIException: Bad Gateway
    

    curl https://api.blockchain.info/stats => 200 OK curl https://api.blockchain.info/stats?format=json => 502 Bad Gateway

    I created a ticket over there: https://github.com/blockchain/api-v1-client-python/issues/188 But the blockchain repo seems pretty dead - no activity for 4 years...

    Any good idea how this could be quick-fixed just for the ticker? Directly using the API without the library? Patching the library?

    opened by ralf-br 1
  • Version 0.5.0

    Version 0.5.0

    • new moscowtime mode
    • new one_number and ohlc layout
    • Last block time is shown
    • build_script updated to new versions
    • pymempool is used for accessing the mempool api
    • code refactoring
    opened by holgern 0
Releases(v0.5.0)
Mizogg-Bitcoin-Tools - A Python Tools for Bitcoin Information Balance, HASH160, DEC

Mizogg-Bitcoin-Tools Tools for Bitcoin Information Balance, HASH160, DEC, Englis

null 48 Jan 2, 2023
Bitcoin Clipper malware made in Python.

a BTC Clipper or a "Bitcoin Clipper" is a type of malware designed to target cryptocurrency transactions.

Nightfall 96 Dec 30, 2022
The Intelligent Bitcoin Miner, Part II

The Intelligent Bitcoin Miner, Part II At a Glance This app simulates the behavior and profitability of Bitcoin miners for The Intelligent Bitcoin Min

Karim Helmy 20 Dec 16, 2022
📊Python implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI).

Colin Talks Crypto Bitcoin Bull Run Index (CBBI) This is a Python implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI). It makes use

Kamil Monicz 86 Jan 2, 2023
Accept Bitcoin donations on Twitch, and integrate them into your alerts!

The system in action Check out how seamlessly the project works! Support the project You can tip me with some sats here!

Fitti 27 Jan 8, 2023
Bit is Python's fastest Bitcoin library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code.

Bit is Python's fastest Bitcoin library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code.

Ofek Lev 1.1k Jan 2, 2023
This is a simple Bitcoin non-deterministic wallet address generator coded in Python 3.

This is a simple Bitcoin non-deterministic wallet address generator coded in Python 3. It generates a Private Key in different formats (hex, wif and compressed wif) and corresponding Public Addresses, raw, P2WPKH addresses starting with prefix 1, P2SH addresses starting with prefix 3 as part of Segwit soft fork and Bech32 addresses with prefix bc1 P2WPKH and P2WSH.

null 7 Dec 22, 2022
Looks for Bitcoin Wallets starting 1 compresses and Uncompressesed, segwit address and MultiSig starting 3.

Looks for Bitcoin Wallets starting 1 compresses and Uncompressesed, segwit address and MultiSig starting 3. Pick your starting and stop numbers to start looking. Need a database of addresses to check. Made with https://pypi.org/project/PySimpleGUI/

null 10 Dec 22, 2022
Bitcoin Wallet Address Generator

Bitcoin Wallet Address Generator This is a simple Bitcoin non-deterministic wallet address generator coded in Python 3. It generates a Private Key in different formats (hex, wif and compressed wif) and corresponding Public Addresses, raw, P2WPKH addresses starting with prefix 1, P2SH addresses starting with prefix 3 as part of Segwit soft fork and Bech32 addresses with prefix bc1 P2WPKH and P2WSH.

null 11 Dec 29, 2022
Address Validator (Bitcoin & Monero)

The Bitcoin address is an identifier of 26-35 alphanumeric characters, beginning with the number 1, 3 or bc1. 0, O, I, l are removed to avoid visual a

null 0 Mar 29, 2022