LedgerHQ / speculos

Ledger Nano/Blue apps emulator
https://speculos.ledger.com/
GNU Lesser General Public License v3.0
153 stars 60 forks source link

How do we set "SPECULOS_SEED"? #321

Closed tim-eucalyptus closed 1 year ago

tim-eucalyptus commented 1 year ago

It's is set at https://github.com/LedgerHQ/speculos/blob/c0311aef48412e40741a55f113939469da78e8e5/src/bolos/os_bip32.c#L513. Is this something we set in the Makefile of the app? What is the default in Speculos BTW?

greenknot commented 1 year ago

The seed can either bet passed as an argument (./speculos.py --seed) or through the environment variable SPECULOS_SEED. The default seed is explicitly defined a few lines above.

Please follow these instructions for support: