Skip to content

Real time price ticker for Bitcoin over wifi SSID names

License

Notifications You must be signed in to change notification settings

shesek/bitcoin-ssid-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-ssid-ticker

Real time price ticker for Bitcoin over wifi network names (SSID)

Price pulled from Bitstamp and broadcasted using mdk3. Script written for Openwrt, but likely to work elsewhere. Ideal for a portable router, send over-the-air bitcoin graffiti anywhere you go!

How it looks

example

example

How it works

This uses mdk3 to transmit raw beacon management frames identifying as wifi access points with custom SSIDs. These APs don't really exists and can't be connected to.

Dependencies (openwrt):

opkg install bash http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/oldpackages/mdk3_v6-2_ar71xx.ipk

Scripts:

  • ./ticker.sh: fetches data from bitstamp and outputs [price] [24_hour_change]

  • ./broadcast.sh: starts mdk3 and periodically updates the ticker data (by default, every 15s)

Configuration:

The network names are configured in ssid.txt, one SSID per line. %P is replaced with current (rounded) price, %C is replaced with the 24h price change. Network names are limited to 32 bytes.

Some more configuration options are available in broadcast.sh:

  • INTERVAL - interval for pulling data from Bitstamp, in seconds.

    default: 15 seconds

  • IFACE - the network interface to use (monitor mode should be supported and will automatically be activated)

    default: wlan0

  • SSIDPATH - temporary file to write network names to.

    defailt: /tmp/bitcoin-ssid-ticker.txt

About

Real time price ticker for Bitcoin over wifi SSID names

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages