This is the Ledger Nano S/S+/X COTI app.
Make sure that Docker is installed and build the ledger-app-builder:2.1.0 container image:
$ docker build -t ledger-app-builder:2.1.0 .Make sure to install coreutils to have the realpath command available:
$ brew install coreutilsCompile the app:
$ docker run --rm -ti -v "$(realpath .):/coti" ledger-app-builder:2.1.0
root@d83f688268b3:/coti# cd app
root@d83f688268b3:/coti/app# makeAfter you've built the application, you can generate an installation script load.sh via:
root@d83f688268b3:/coti/app# make load-script
root@d83f688268b3:/coti/app# exitIn order to install/uninstall the application, you need to install the ledgerblue python module and additional
dependencies:
$ xcode-select --install
$ brew install python3 libusb
$ pip3 install ledgerblue hidapiAfterwards, you can run the generated load.sh in order to install the application:
$ cd app
$ ./load.shYou can uninstall the application via:
$ python3 -m ledgerblue.deleteApp --targetId 0x31100004 --appName "COTI"This follows the specification available in the api.md.