Skip to content

LedgerHQ/app-zilliqa

Repository files navigation

Zilliqa Ledger App for Nano S and Nano X

Zilliqa wallet application for Nano S and Nano X.

Build environment

To build all elfs, run:

docker run -it -v $PWD:/app --user "$(id -u)":"$(id -g)" ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest ./tools/build-all.sh

To build test environment, run:

docker build .  --tag builder_image

Then run the tests:

docker run -it -v $PWD:/app builder_image:latest ./tools/test-all.sh

Build and load image

To build, start the Docker image with:

docker run -it -v $PWD:/app --user "$(id -u)":"$(id -g)" ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest

and run

make BOLOS_SDK=[SDK]

where [SDK] is ${NANOS_SDK}, ${NANOSP_SDK} or ${NANOX_SDK}. Then exit the docker image. Next load the

docker run -it -v $PWD:/app --user "$(id -u)":"$(id -g)" --privileged builder_image:latest

To load the app:

make load

To uninstall:

make delete

To run tests:

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python pytest tests/functional/ -v --device [device]