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/ledger-simulator.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ It uses the `@zondax/zemu` js library to:
8
8
9
9
- Download the docker image for the simulator (if needed)
10
10
- Set the ledger seed to the default or the user-given one
11
-
- Execute the docker container for the simulator by passing to it the avalanche app binary `app_s.elf` (ledger nano s device). That starts the simulated avalanche app.
11
+
- Execute the docker container for the simulator by passing to it the avalanche app binary `app_s2.elf` (ledger nano s+ device). That starts the simulated avalanche app.
12
12
- Create a rpc entry point to the simulated avalanche app so as the golang client ledger library can connect to the simulator (instead of a real device)
13
13
- Previous steps can take some time. Once the app and rpc entry is ready, it prints a custom msg `SIMULATED LEDGER DEV READY` as a means to communicate
14
14
with the test code (or the user) that the simulator can start receiving requests (eg connect to it, ask for addresses, etc).
@@ -73,19 +73,19 @@ the simulator, if not, the test is expected to operate agains a real device.
73
73
74
74
## Ledger device status for avalanche-cli tests interaction
75
75
76
-
Latest avalanche ledger app downloadable version `v0.7.2` (and also latest ledger live official version `v0.7.0`) can not interact with tests
77
-
as it does not support avalanche-cli local network id 1337.
76
+
The tests use the Avalanche Ledger app version `v1.3.7`, available as `app_s2.elf` binary (Nano S+ device).
78
77
79
-
For that, currently the tests operate against a modified version of `v0.7.2`, available as `app_s.elf` binary.
78
+
This binary must be built from source from the [ledger-avalanche](https://github.com/ava-labs/ledger-avalanche) repository:
80
79
81
-
For a real ledger device to be used with the tests, it should be loaded with a supporting version, currently available on dev branch of ledger-avalanche.
0 commit comments