Нет описания

Struan Clark 1a7b0db776 overwrite boolean 2 лет назад
crypto 95455c3ae1 eth compatibility! 2 лет назад
helpers f133996899 cleanup flow 2 лет назад
icons 1166f2b358 better ui 2 лет назад
scenes 5d626b8538 seperate menu items for coin instead of preference, remove scene_2 2 лет назад
views 1a7b0db776 overwrite boolean 2 лет назад
.gitignore 5674a3bcc8 Initial commit 2 лет назад
LICENSE 5674a3bcc8 Initial commit 2 лет назад
README.md 1424655c48 cleanup naming/types 2 лет назад
application.fam 6857f79bb3 update app metadata 2 лет назад
flipbip.c 1a7b0db776 overwrite boolean 2 лет назад
flipbip.h 1a7b0db776 overwrite boolean 2 лет назад
flipbip_10px.png 81b9e2035f flipbip39 > flipbip 2 лет назад

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 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
    • Generation of offline m/44'/0'/0'/0 BTC wallet
    • Generation of offline m/44'/60'/0'/0 ETH wallet (coded from the $SPORK Castle of ETHDenver 2023!)
    • Similar features to: https://iancoleman.io/bip39/

Work in Progress

  • Support for BIP39 passphrase
    • Currently blank
  • Support for more 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