HTTPS SSH

Insert Coin; Receive Bitcoin

Source for a basic Bitcoin vending machine implemented on NetBurner's MOD5441x platform

May be useful as an example of doing Bitcoin-related cryptography on embedded platforms,
calling the blockchain.info API from C, or for the QR code printing function

Functionality

  • Wait for coin pulse
  • Generate new Bitcoin address
  • Transfer .25 USD in Bitcoin to address
  • Print QR codes of private key and public address

Useful Code

  • Functions to generate Bitcoin addresses and mini private keys (bitcoin.cpp)
  • Blockchain.info API implementation (blockchain_info.cpp)
  • Function to print libqrencode QR codes with the CSN-A2-T thermal printer (printer.cpp)

Libraries

Hardware

Notes

Coin2Coin copyright (c) 2015 by

Sam Posner (http://arcadeoftheabsurd.com/)
and NetBurner, Inc. (http://www.netburner.com/)

Distributed under the BSD 3-Clause License
See LICENSE.txt or visit http://opensource.org/licenses/BSD-3-Clause