feat: add emulator code with instructions#1
Conversation
|
I think it would be related to announce here that I ported SeedSigner to Android using Kivy. And Kivy is a cross-platform technology, so my port also runs equally on desktop. I also have touch screen/mouse support. |
I'm super inspired by your work so great job on that part. I discussed the emulator project with SeedSigner team earlier, the goal is to have minimal initial setup + CI action to test changes with working emulator so users can set it up without much hastle. Once the model is solid we or you can work on incorporating your changes if SeedSigner team agrees with it. |
|
I had to run Then when I ran |
|
@newtonick Are you using a different modified seedsigner source? I tested on latest "dev" branch from seedsigner repo and the |
|
@KaustubhPatange I was getting the same error. I've opened a PR (KaustubhPatange#1) to fix the crash. To make sure the emulator works for both the older releases and the latest dev branch you are testing on, I updated |
Fix MockST7789 Initialization TypeError
|
@wolgwang1729, I merged your changes. I think this will also fix the upstream branch in this PR, so it should also fix for @newtonick. |
As discussed here SeedSigner/seedsigner#878,
This PR adds emulator as a separate repository decoupled from the main seedsigner repo. The PR contains multiple (2) commits as of now,
Approach
To run this emulator we need actual SeedSigner repository. Instead of git submodules or alias / symlinks to the main repo, the
run_emulator.pyscript accepts a path argument that should point to the seedsigner repository. So,is how we would be able to run the emulator.
The benefit of this approach is,
The setup is simple and easy to walk through by following README.md. Let me know any changes required.