cryptoadvance / specter-diy

DIY airgapped hardware wallet that uses QR codes for communication with the host
MIT License
441 stars 73 forks source link

Refactor GUI with classes #25

Closed stepansnigirev closed 4 years ago

stepansnigirev commented 4 years ago

In the tutorial we use classes for screens that leads to much cleaner code. See https://github.com/diybitcoinhardware/f469-disco/blob/master/docs/tutorial/4_miniwallet/readme.md for example. We should use similar approach in the project as well. Functions are ugly.

stepansnigirev commented 4 years ago

Started doing it in https://github.com/cryptoadvance/specter-diy/pull/34

stepansnigirev commented 4 years ago

Kinda there, we just continue refactoring with classes in mind.