Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
/ paperbank Public archive

Bitcoin Paper Key generator - using a thermal USB printer and a basic linux box (like a Rrasp. PI) - Paper Wallet Generator

Notifications You must be signed in to change notification settings

makevoid/paperbank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: this is a very old open source project I did when I discovered bitcoin

@makevoid

original readme:


PaperBank

Bitcoin Paper Key - using a thermal USB printer and a basic linux box (like a Rrasp. PI)

Paper Keys can be Paper Keychains (wallet HD) or are called also Paper Wallets

They can be used as Cold (safer) storage for bitcoins.

Multiple copies of a password protected key (BIP38) can be very a very useful to store funds safely offline.

Usage

Install dependencies:

  • Imagemagick (Ubuntu/Debian):

    apt-get install imagemagick libmagickcore-dev libmagickwand-dev

  • Imagemagick (Mac OS):

    brew install imagemagick

Install:

bundle

Run:

bunle exec rake

Install on Raspberry PI

This section has been moved to:

Install on Linux

This is a much standard install, It works on Debian and should work on ubuntu (some apt package names may change)

Install on Mac OS

For users: Coming soon.

For "hackers" that want it now:

Open "OSX CUPS webpage":http://localhost:631, add your usb thermal printer as Generic printer, then go into the code and change all the lines where the output is piped directly to usb (as it's possible in linux) [/dev/usb/ldX] to cups commands (you need to write contents to a file and then issue the print command passing that file as argument)

Website

Paperbank Pocket

Check the new cool project:

Using your smartphone and a pocket photo printer to print paper wallets!!!

Bro/Sis project

Dog project ^^

Bip38 branch

using bip38 from bitcoin ruby gem to generate bip38 password protected paper wallets (private key starts with digit 6)

Bitcoin Paper Wallet Bank

watch the demo on youtube

Bringing together: a thermal printer + QR Codes + Bitcoin + Ruby = awesome

This repo contains all you need to run your bitcoin PaperBank! PaperBank is another way to say: cold storage paper wallet printer

What you need

  • A Raspberry PI or similar mini and cheap linux box
  • An USB Thermal Printer
  • HDMI monitor, usb cable, usb power adapter (cellphone usb wall charger), sd card,

It's a DIY solution, you have to follow the installation procedures to install PaperBank on your Raspberry PI


Affordable: All for under ~ 60 USD

Brief explanation:

  • Cold storage: because it remains offline
  • Prints Paper wallets

and:

  • Cheap! You can get everything (Rasp PI + Thermal printer + sd card + cables) for 60 bucks or so
  • DIY
  • Secure

You can then print wallets for yourself, or paper wallets where you deposit small amounts (ex: a buck or two) for friends that want to try bitcoin!

note: It doesn't provide a real banking "feature", just the generations of accounts (address/private key pairs), you have to apply phisical security measure to those wallets!

other generators

I will provide other generators support in the near future such as

  • vanitygen
  • HDW address generation
  • another non bitcoin-ruby address generation lbrary

What you need:

  • a thermal printer that works with linux

a raspberry PI or similar cheap linux box that you can keep always offline

rasp pi links:

notes:

put something inside the the LAN hole so no-one can accidentally connect an ethernet cable, a piece of sponge will do in most cases, a chewing gum is a bit extreme and not recommended if you want to use that ethernet port again :)

check also VANITY branch for vanity address implementations

Features/forks needed/expected:

done:

  • feature: Vanity address patch - add support for vanitygen [done by @makevoid - vanitgen branch - needs integration]
  • feature: integration of other currencies [by @makevoid - Litecoin is in lite branch, Dogecoin is in doge branch + explanation on how to create a fork compatible with every currency]
  • feature: BIP38 password protection - password protected private key

todo:

  • bundle: docker image
  • feature: add hardware button to rasp pi via GPIO
  • feature: autolaunch everything, so you don't need an hdmi screen
  • dependencies: try to remove imagemagick & rmagick requirements
  • dependencies: remove bitcoin-ruby requirement by extracting code from it
  • speed: printing speedup (manage memory more efficiently)
  • speed: lower language optimizations

small FAQ

  • why Paper Wallets?

They are very useful as cold storage, and there are many undiscovered usages of having btc in "banknotes" form.

You can print small banknotes (2mBTC - 20mBTC ~ 1 - 10 euro) and give it to your friends to let them try bitcoin.

You can have paper wallets with your funds

  • why a thermal printer?

The ability to create fast and cheap paper wallets it's key. The thing is

  • why Rasp - pi?

It's very cheap and widespread, you can use any linux box if you like, just remember to not connect it to the internet anymore

  • why Mycelium is used in the video?

You can use whichever wallet you prefer, blockchain, coinbase [insert your favourite wallet here] I found mycelium to be pretty straightforward in terms of cold storage, for maximum security you should always sign transactions offline :)

  • why Ruby?

It was very fast to implement and to tinker with, you can go and rewrite it in your own favourite language.

About

Bitcoin Paper Key generator - using a thermal USB printer and a basic linux box (like a Rrasp. PI) - Paper Wallet Generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages