Skip to content

Commit 29a7592

Browse files
committed
Squashed 'flipbip/' changes from 69ebea1..4ed4e31
4ed4e31 upd flipbip 800482e update apps fdb62b1 more updates REVERT: 69ebea1 chore: OCD fixes REVERT: eb81693 Merge pull request #22 from xtruan/xtruan-patch-2 REVERT: a04e991 chore: update manifest.yml REVERT: 5026eb0 Merge pull request #21 from xtruan/dev/reduce-fap-size REVERT: b426b69 chore: bump ci to 0.88.0 REVERT: 1565782 chore: spelling, move param setting REVERT: ccf7deb chore: spacing REVERT: 3d48864 chore: credit REVERT: 7dceca6 fix: remove haptic setting, cleanup REVERT: 26552bd chore: fmt REVERT: 656c410 chore: comments REVERT: 49a22aa fix: text input behavior REVERT: 39c8dfe fix: remove haptic, add mnemonic import status text REVERT: 2e4023b fix: remove keychain icon REVERT: 75f3c96 chore: slight refactor of crypto lib for consistency REVERT: b81adf6 chore: 1.13 REVERT: 1057242 fix: remove led REVERT: 8cb7f09 fix: comment fix REVERT: 9a83d5a fix: remove startscreen REVERT: 927f45d Merge pull request #20 from xtruan/xtruan-patch-1 REVERT: 9f2ac7a Update README.md REVERT: df97f17 chore: 1.12 catalog REVERT: a9057eb chore: bump to 1.12 REVERT: b174491 chore: lint REVERT: 114d0e0 Merge pull request #19 from wh00hw/main REVERT: 4e7ebfd update README REVERT: 4bca4c8 add ZEC t-address REVERT: eb9f6f4 Create ufbt_build.yml REVERT: de58db9 chore: catalog update REVERT: 0073c32 fix: ufbt fix REVERT: ef151a6 fix: manifest REVERT: cb4269d feat: manifest REVERT: e19ecc0 chore: add screenshots REVERT: 0d5bc6f Merge pull request #17 from xtruan/develop REVERT: ac633a4 fix: potential buff overflow, new version scheme, check size in CI REVERT: 1375bc6 Merge pull request #16 from xtruan/develop REVERT: 08f60c5 Update release.yml REVERT: 8182863 Merge branch 'develop' REVERT: 6f265e7 Update release.yml REVERT: 6961945 Update release.yml REVERT: 740a2f8 Merge pull request #15 from xtruan/develop REVERT: 7ab548a chore: readme update REVERT: 3fc8915 chore: 0.86.1 REVERT: 0413ca4 feat: warning text, v1.0.0 REVERT: 93febf3 Update build.yml - new app name REVERT: 62605c8 Update flipbip_scene_1.c - icons REVERT: 3208303 Update flipbip_startscreen.c - icons REVERT: 482dc69 Update application.fam REVERT: 4905a91 Update application.fam REVERT: e8ce29f update appid REVERT: 07c2f1e Merge pull request #14 from xtruan/develop REVERT: b2597b3 update readme REVERT: 4054108 Merge pull request #10 from xtruan/develop REVERT: 35209cc wording REVERT: 24d185f bumping to v0.0.9, adding specific labels to input texts REVERT: 6e69746 Merge pull request #9 from xtruan/develop REVERT: 091dac3 update CI, define text buf size REVERT: ed136df text cleanup and fmt REVERT: c73dc8c Merge pull request #8 from xtruan/develop REVERT: c9a9f33 bump flipper fw version REVERT: 73d2d96 removing cdefines, adjusting display for eth addrs REVERT: 03f9ae6 #define for qr code content size REVERT: 23e8fda bump version, fix 'has_file' and 'load_file' buffer size REVERT: 9f46fc6 Merge branch 'develop' REVERT: 8ca73a0 Update README.md REVERT: e7943e3 Merge pull request #7 from xtruan/develop REVERT: 0150732 CI updates REVERT: 9734eac modify build scripts, build only REVERT: 5350136 adding CI REVERT: 91831db adding README updates REVERT: 68a112e fix address gen bug REVERT: c93f308 nav REVERT: bc830bb clean up labels REVERT: 2aa66d1 write QR codes for addresses to file - cleanup REVERT: 99adebd write QR codes for addresses to file REVERT: 8d2de88 moving qr file stuff to file class REVERT: f8f744e pregenerate addresses REVERT: 3f93a8f fmt REVERT: d9407ea qr gen prototype REVERT: c9aa932 bump version REVERT: 47890a1 making crypto code a private lib REVERT: 8413b87 Merge branch 'develop' REVERT: ad40ecc zero address node REVERT: 298aebe Merge pull request #5 from xtruan/develop REVERT: 2c72c2d format REVERT: 570c943 memory tweaks and cleanup REVERT: 256c0b4 version bump, working mem cleanup REVERT: c54a1a7 Merge pull request #4 from xtruan/develop REVERT: b650db1 error handling cleanup REVERT: 8843203 readme REVERT: 8ac6bc8 readme update REVERT: 2c771e3 cleanup REVERT: 90d001a importing of mnemonics REVERT: b149ebc text input flow cleanup REVERT: a376ba9 adding BIP39 passphrase REVERT: b809efc fbt format REVERT: 7d96faf cleanup menu items REVERT: b04ca92 refactor text REVERT: 84d40af clean up coin support REVERT: 5b8263b simplifying hex conversion, adding DOGE support! REVERT: 0c697a0 Merge branch 'develop' REVERT: 3714144 formatting updates REVERT: f73ef9e add link to RM, add donate links REVERT: 531b0eb typo REVERT: 0f3fa94 crypto Makefile changes REVERT: 642455f Merge pull request #3 from xtruan/develop REVERT: 8957be9 readme REVERT: 3ccdbb3 Merge branch 'main' into develop REVERT: e85117b touch ups REVERT: d02d21a meta update REVERT: 66ddf24 cleanup REVERT: 9344703 fmt changes REVERT: 57986fd running flipper fmt REVERT: f3280c2 prod file names, updated docs REVERT: ce98b7e storage final cleanup REVERT: 0db90fa memory REVERT: ab40026 new wallet generation ability REVERT: 1a7b0db overwrite boolean REVERT: 5d626b8 seperate menu items for coin instead of preference, remove scene_2 REVERT: f133996 cleanup flow REVERT: 2de9326 return REVERT: aa7e286 file operations cleanup REVERT: 473cdf7 better keys REVERT: 410fe78 securing storage REVERT: ce8afc6 storage proof of concept REVERT: 5aa6379 file REVERT: 7507a66 Merge branch 'develop' into storage REVERT: 1424655 cleanup naming/types REVERT: 844569e removing printf, replacing with simple itox REVERT: de10564 storage stubs REVERT: 87cf393 Update README.md REVERT: 3925557 Merge pull request #1 from xtruan/develop REVERT: 4ea47f6 update readme REVERT: 553b8f3 message cleanup REVERT: 95455c3 eth compatibility! REVERT: a978a37 move eth address hashing to heap REVERT: f34fba7 adding magic number comments REVERT: 820aaa5 disabling KECCAK and NEM REVERT: 6857f79 update app metadata REVERT: c1ca00a readme updates REVERT: 69d91ff info cleanup REVERT: 9d91c51 cleanup REVERT: 03d190a readme update 2 REVERT: fa69b78 readme update REVERT: bb6db8d cleanup REVERT: 3602004 changelog update REVERT: 8ea4843 functional! REVERT: 7bb88e9 break out mnemo draw REVERT: 602c987 scene cleanup REVERT: e10c129 removing speaker, printf REVERT: 0ebd89e BTC wallet gen core logic working REVERT: a4ad87b -printf REVERT: 804e0f1 itoa REVERT: ea660eb turn off options to shrink binary size REVERT: e3f289d naming REVERT: a35dd8c remove scene2 REVERT: 7059912 delete coins pkg, clean up xmr REVERT: 81b9e20 flipbip39 > flipbip REVERT: 9e53238 fix BIP44 derivation REVERT: 78842e3 updating deriv REVERT: 13d5204 updating deriv REVERT: 97e3bd2 working on HDNode REVERT: 5f7063d turn of precomputed curves for memory REVERT: aba3de4 BIP39 seed generation working readme REVERT: 7c5daaa BIP39 seed generation working REVERT: c681b3b sprintf REVERT: bb4832a adding custom printf REVERT: 0a2c305 proto REVERT: 81d0731 adding own impl of strtok to fix warnings REVERT: a7cfb8c Update README.md REVERT: d8ad4bd Update README.md REVERT: 2a09d28 reorganizing code, marking WIP seed code REVERT: 0443a1e updating to add beginnings of key generation REVERT: f2934ba add support for 18 words REVERT: b47b6ab update naming, adding coin prototyping, adding WIP BIP32 code REVERT: 1166f2b better ui REVERT: 37d0e38 icon REVERT: deb57aa updating crypto/rand to use Flipper Zero specific hardware RNG REVERT: 6619222 clean up settings, clear mnemonic memory on scene exit REVERT: e924a45 updating settings, UI cleanup REVERT: f889441 port to work with flipper and fbt REVERT: b323627 adding trezor crypto lib REVERT: c0a493a boilerplate REVERT: 5674a3b Initial commit git-subtree-dir: flipbip git-subtree-split: 4ed4e31
1 parent 69ebea1 commit 29a7592

33 files changed

+62
-169
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/ufbt_build.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,14 @@
11
# FlipBIP - BIP32/39/44
22

3-
[![Build](https://github.com/xtruan/FlipBIP/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/xtruan/FlipBIP/actions/workflows/build.yml)
3+
https://github.com/xtruan/FlipBIP
44

55
## Crypto toolkit for Flipper Zero
6-
- Last built against `0.88.0` Flipper Zero firmware release
76
- Using Trezor crypto libs from `core/v2.5.3` release
8-
- Included in [RogueMaster Custom Firmware](https://github.com/RogueMaster/flipperzero-firmware-wPlugins)
9-
- NOTE: This app uses very close to the maximum Flipper Zero RAM. If you get `furi_check failed` on launch, try running again!
10-
11-
### DONATE IF YOU FIND THE APP USEFUL
12-
- ETH (or ERC-20): `xtruan.eth` or `0xa9Ad79502cdaf4F6881f3C2ef260713e5B771CE2`
13-
- BTC: `16RP5Ui5QrWrVh2rR7NKAPwE5A4uFjCfbs`
147

158
## Background
169

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

19-
## How to install on Flipper Zero
20-
- If you do not have one, download a Flipper Zero firmware to get the `fbt` build tool
21-
- Plug your Flipper Zero in via USB
22-
- Copy the contents of this folder into the `applications_user` folder of your firmware
23-
- Modify the `site_scons/cc.scons` file in the Flipper Zero firmware to add the `"-Os"` flag
24-
25-
Then run the command:
26-
```
27-
./fbt COMPACT=1 DEBUG=0 launch_app APPSRC=applications_user/FlipBIP
28-
```
29-
The application will be compiled and copied onto your device
30-
31-
## Status
32-
3312
### Complete
3413

3514
- Trezor crypto C code ported into `crypto` subfolder
@@ -53,7 +32,7 @@ The application will be compiled and copied onto your device
5332
- `.flipbip.dat` and `.flipbip.key` files are both required to be in `apps_data/flipbip`
5433
- Backups of both these files `.flipbip.dat.bak` and `.flipbip.key.bak` are also maintained
5534
- If you want to externally back up your wallet, I recommend copying all these files, and storing the `key` and `dat` files seperately
56-
- 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. Therefore, it is HIGHLY RECOMMENDED to use the BIP39 passphrase functionality and store the passphrase in your brain or on paper separately from the Flipper!
35+
- 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
5736
- BIP39 passphrase support
5837
- Configured in settings, not persisted between runs for security
5938
- Import your own mnemonic
@@ -63,7 +42,7 @@ The application will be compiled and copied onto your device
6342
- Addresses are now generated at the same time as other pieces of wallet info
6443
- This slows down initial wallet load, but makes UI much more responsive
6544
- QR code files are now generated for each address and stored in the `apps_data/flipbip` directory
66-
- This app is required to view the QR code files: https://github.com/bmatcuk/flipperzero-qrcode (included in RM firmware)
45+
- This app is required to view the QR code files: https://github.com/bmatcuk/flipperzero-qrcode
6746
- NOTE: This happens during the `View Wallet` step; you must view a wallet after generating/importing a wallet in order to ensure the address QR files are correct
6847
- Broke out crypto functionality into its own library using `fap_private_libs` feature
6948

application.fam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ App(
1717
fap_category="Tools",
1818
fap_author="Struan Clark (xtruan)",
1919
fap_weburl="https://github.com/xtruan/FlipBIP",
20-
fap_version=(1, 13),
20+
fap_version=(1, 14),
2121
fap_description="Crypto wallet for Flipper",
2222
)

catalog/browser.png

-5 KB
Binary file not shown.

catalog/btc_loading.png

-4.57 KB
Binary file not shown.

catalog/btc_receive.png

-4.66 KB
Binary file not shown.

catalog/eth_loading.png

-4.59 KB
Binary file not shown.

catalog/eth_receive.png

-4.73 KB
Binary file not shown.

0 commit comments

Comments
 (0)