Sen descrición

xtruan a978a3761d move eth address hashing to heap %!s(int64=2) %!d(string=hai) anos
crypto a978a3761d move eth address hashing to heap %!s(int64=2) %!d(string=hai) anos
helpers 8ea4843e18 functional! %!s(int64=2) %!d(string=hai) anos
icons 1166f2b358 better ui %!s(int64=2) %!d(string=hai) anos
scenes 8ea4843e18 functional! %!s(int64=2) %!d(string=hai) anos
views f34fba7020 adding magic number comments %!s(int64=2) %!d(string=hai) anos
.gitignore 5674a3bcc8 Initial commit %!s(int64=2) %!d(string=hai) anos
LICENSE 5674a3bcc8 Initial commit %!s(int64=2) %!d(string=hai) anos
README.md c1ca00a33a readme updates %!s(int64=2) %!d(string=hai) anos
application.fam 6857f79bb3 update app metadata %!s(int64=2) %!d(string=hai) anos
flipbip.c e10c1299ce removing speaker, printf %!s(int64=2) %!d(string=hai) anos
flipbip.h e10c1299ce removing speaker, printf %!s(int64=2) %!d(string=hai) anos
flipbip_10px.png 81b9e2035f flipbip39 > flipbip %!s(int64=2) %!d(string=hai) anos

README.md

FlipBIP - BIP32/39/44 Tool

Crypto toolkit for Flipper Zero

  • Built against 0.78.1 Flipper Zero firmware release
  • Using Trezor crypto libs from core/v2.5.3 release

Background

The goal of this project is to see how much crypto functionality can be brought to the Flipper Zero.

How to install on Flipper Zero

  • If you do not have one, download a Flipper Zero firmware to get the fbt build tool
  • Plug your Flipper Zero in via USB
  • Copy the contents of this folder into the applications_user folder of your firmware
  • Modify the site_scons/cc.scons file in the Flipper Zero firmware to remove the "-Wdouble-promotion" warning and add the "-Os" flag

Then run the command:

.\fbt COMPACT=1 DEBUG=0 launch_app APPSRC=applications_user/FlipBIP

The application will be compiled and copied onto your device

Status

Complete

  • Trezor crypto C code ported into crypto subfolder
    • Adapted to use Flipper hardware RNG (see crypto/rand.c)
    • Imports and some C library functions modified for compatibility with FBT
  • Navigation and UI adapted from FAP Boilerplate app
  • BIP39 mnemonic generation
    • 24, 18, or 12 words
  • BIP39 mnemonic to BIP39 seed generation
  • Hierarchical Deterministic (HD) wallet generation from seed

Work in Progress

  • Support for BIP39 passphrase
    • Currently blank
  • Support for custom BIP32 wallet paths
    • Currently hardcoded to m/44'/0'/0'/0

(FAR) Future

  • More coin types
  • Saving wallets to disk
  • USB/Bluetooth wallet functionality