You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/local_simulator_setup_instructions.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Local SeedSigner Simulator Setup
2
2
3
-
This guide adds a method to setup SeedSigner testing locally through a simulator GUI for easy development.
3
+
This guide adds a method to setup SeedSigner testing locally through a simulator GUI for easy development. You can either interact with the buttons at the window or use keyboard arrows, Enter, Numpad_1, Numpad_2, Numpad_3
4
4
5
-
It was tested on macOS (26) using Homebrew and Python 3.14. With additional effort it would work on other operating systems and python version or it may still way directly I've not tested it as I don't own any other devices.
5
+
Note: The has only been tested on macOS (26) using Homebrew and Python 3.14.
6
6
7
7
<imgsrc="img/simulator.png"width=320 />
8
8
@@ -16,33 +16,33 @@ It was tested on macOS (26) using Homebrew and Python 3.14. With additional effo
16
16
17
17
### Installing system dependencies
18
18
19
-
SeedSigner’s simulator depends on native libraries for QR scanning and camera access.
19
+
SeedSigner’s simulator depends on Python with `tkinter` support, native libraries for QR scanning and camera access.
20
+
-`tkinter` is Python's built-in library for creating desktop GUI applications.
21
+
-`pyzbar` library requires a backend to be running on the system called `zbar`.
20
22
23
+
#### MacOS (Homebrew)
21
24
```bash
22
-
brew install opencv zbar
25
+
brew install python@3.14 # includes tkinter support
26
+
brew install zbar
27
+
```
28
+
#### Linux
29
+
```bash
30
+
sudo apt-get install python3-tk
31
+
sudo apt install libzbar0
23
32
```
24
-
25
-
These provide:
26
-
27
-
- Camera capture backend (OpenCV)
28
-
- QR decoding backend (zbar, used by `pyzbar`)
29
-
30
-
31
33
32
34
### Setting up dev environment
33
35
34
-
The GUI uses tkinter that usually bundles with python installation, but for any reason it is not present follow the guide to setup tkinter https://coderivers.org/blog/installing-tkinter-in-python
0 commit comments