UNPKG

@ledgerhq/coin-tester

Version:
17 lines (16 loc) 828 B
services: speculos: # Speculos isn't supported for Mac M1 yet. You have to build the image locally as described in the README. # Otherwise you can use the official image # image: ghcr.io/ledgerhq/speculos:latest image: ${SPECULOS_IMAGE:-ghcr.io/ledgerhq/speculos}:latest volumes: - ./lib/signers/tmp:/speculos/apps ports: - "${SPECULOS_API_PORT}:${SPECULOS_API_PORT}" build: context: /speculos # -p: use the production public key the PKI # TODO: remove `-p` when testing signatures from the CAL match Speculos public key # --deterministic-rng: control randomness used by some apps for cryptographic purposes command: -p --deterministic-rng 0 --model nanox ./apps/app.elf --seed="${SEED}" --display headless --api-port ${SPECULOS_API_PORT} ${SPECULOS_EXTRA_ARGS:-}