arduino-bitcoin / simple_hardware_wallet

A minimalistic bitcoin hardware wallet for Arduino
MIT License
41 stars 11 forks source link

Simple hardware wallet for Arduino

A minimalistic hardware wallet working with electrum transactions.

This sketch is a simple demo that shows how to use arduino-bitcoin library to build your own hardware wallet.

It should be used only for educational or testing purposes as default Arduino boards are not secure, their firmware can be updated from the computer and this process doesn't require any user interaction.

A manual on how to make it more secure will follow.

Required hardware

If you don't have an OLED screen you can try it out with serial only wallet.

Uploading firmware

Follow the manuals from Adafruit to set up the board and OLED screen:

Setting up

Put a xprv.txt file on the SD card with your xprv key (for testnet it will start with tprv). You can generate one here.

Communication with the wallet happens over USB. Open Serial Monitor in the Arduino IDE and type commands.

Keys are stored UNENCRYPTED AS A PLAIN TEXT on SD card.

Available commands:

Future development

This sketch will evolve, we would love to add: