The BitBox02 is a hardware wallet that simplifies secure handling of crypto coins through storing private keys and signing transactions. The content of this repository is the bootloader and firmware used on the device. The BitBox02 is meant to be used primarily with the BitBoxApp, although third party integration is possible through the BitBox02 API.
The main functionality of the firmware is the following:
The main chip on the device is the microcontroller from Microchip (ATSAMD51J20A). This chip is used for communication to the BitBoxApp via USB, to the user via the sliders and to the secure element (ATECC608B) via I2C.
The sliders along the edges of the device are used for user input. There are three input gestures:
The USB communication is implemented using the request-response pattern with encrypted protobuf messages. The encryption protocol used is Noise with out-of-band authentication.
PCB bill of materials (BOM) v2.1
The instructions for setting up a development environment can be found in BUILD.md. Please also read our CONTRIBUTING.md before filing issues and pull requests.
There are two main ways to install or upgrade firmware on a BitBox02:
./py/load_firmware.py firmware-btc.v9.12.0.signed.bin
.See our security policy.