Skip to content

Commit

Permalink
prod file names, updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed Mar 7, 2023
1 parent ce98b7e commit f3280c2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,26 @@ The application will be compiled and copied onto your device
- 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/
- Saving wallets to SD card
- Wallets are saved to SD card upon creation in `apps_data/flipbip`
- NOTE: `apps_data` folder must already exist on SD card!
- Saved wallets can be viewed between app runs
- Wallets are encrypted with a randomly generated key, and that key is also encrypted
- `.flipbip.dat` and `.flipbip.key` files are both required to be in `apps_data/flipbip`
- Backups of both these files `.flipbip.dat.bak` and `.flipbip.key.bak` are also maintained
- If you want to externally back up your wallet, I recommend copying all these files, and storing the `key` and `dat` files seperately
- NOTE: The wallets should be decently tough to crack off of a Flipper, however any Flipper with the app installed can load a wallet in the `apps_data/flipbip` directory if both the `key` and `dat` file are present

### Work in Progress

- Support for BIP39 passphrase
- Currently blank
- Support for more custom BIP32 wallet paths
- Currently hardcoded to `m/44'/0'/0'/0`
- More coin types
- Support for more custom BIP32 wallet paths
- Currently hardcoded to `m/44'/0'/0'/0` and `m/44'/60'/0'/0`

### (FAR) Future

- More coin types
- Saving wallets to disk
- Custom wallet security
- User specified password
- Support for BIP39 passphrase
- Currently blank
- USB/Bluetooth wallet functionality
8 changes: 4 additions & 4 deletions helpers/flipbip_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
#include <storage/storage.h>

#define FLIPBIP_APP_BASE_FOLDER EXT_PATH("apps_data/flipbip")
// #define FLIPBIP_DAT_FILE_NAME ".flipbip.dat"
#define FLIPBIP_DAT_FILE_NAME ".flipbip.dat.txt"
#define FLIPBIP_DAT_FILE_NAME ".flipbip.dat"
// #define FLIPBIP_DAT_FILE_NAME ".flipbip.dat.txt"
#define FLIPBIP_DAT_FILE_NAME_BAK ".flipbip.dat.bak"
// #define FLIPBIP_KEY_FILE_NAME ".flipbip.key"
#define FLIPBIP_KEY_FILE_NAME ".flipbip.key.txt"
#define FLIPBIP_KEY_FILE_NAME ".flipbip.key"
// #define FLIPBIP_KEY_FILE_NAME ".flipbip.key.txt"
#define FLIPBIP_KEY_FILE_NAME_BAK ".flipbip.key.bak"
#define FLIPBIP_DAT_PATH FLIPBIP_APP_BASE_FOLDER "/" FLIPBIP_DAT_FILE_NAME
#define FLIPBIP_DAT_PATH_BAK FLIPBIP_APP_BASE_FOLDER "/" FLIPBIP_DAT_FILE_NAME_BAK
Expand Down

0 comments on commit f3280c2

Please sign in to comment.