This app adds support for the Aelf native token to Ledger Nano S/SP/X hardware wallet.
- Install Docker
- Install VS Code
- For Linux hosts, install the Ledger Nano udev rules
You can quickly setup a convenient environment to build and test your application by using the vscode integration and the ledger-app-dev-tools docker image.
It will allow you, whether you are developing on macOS, Windows or Linux to quickly build your apps, test them on Speculos and load them on any supported device.
- Run Docker.
- Make sure you have an X11 server running :
- Open a terminal and clone
LedgerHQ-app-aelf
withgit clone https://github.com/blooo-io/LedgerHQ-app-aelf.git
. - Open the
LedgerHQ-app-aelf
folder with VSCode. - Open the vscode tasks with
ctrl + shift + b
(command + shift + b
on a Mac) and run the following actions : Pull and run the ledger-app-dev-tools docker image by selectingRun dev-tools image
.
Open the vscode tasks with ctrl + shift + b
(command + shift + b
on a Mac) and run the build for the device model of your choice with Build app
.
To build the app in debug mode use Build app [Debug]
instead.
Open the vscode tasks with ctrl + shift + b
(command + shift + b
on a Mac) and run the build for the device model of your choice with Clean build files
.
Open the vscode tasks with ctrl + shift + b
(command + shift + b
on a Mac) and load your binary on a Ledger device with Load app on device
.
- Open the vscode tasks with
ctrl + shift + b
(command + shift + b
on a Mac) and run the following actions :- First install the requirements with
Install tests requirements
. - Run the tests with
Run functional tests
.
- First install the requirements with
Run C tests:
make -C lib