Note: This guide only works on ledger nanos, and your device must have sufficient space to install the app
-
Install docker from here : Docker
-
add and reload the udev rules to allow USB access to your Ledger device:
wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash
- Edit
Makefile
, findCOIN=bitcoin_legacy
and replace it toCOIN=blocx
, this line will use to select the app which you want to upload in your ledger nanos.
git clone https://github.com/BLOCXTECH/app-bitcoin.git
- Move into that repo
cd app-bitcoin
- It will take some time depending on your network
sudo docker run --rm -ti --user "$(id -u):$(id -g)" --privileged -v "/dev/bus/usb:/dev/bus/usb" -v "$(realpath .):/app" ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest
-
After running above command you will get new terminal, it will look something like :
bash-5.1$
-
Run below command in this terminal
BOLOS_SDK=$NANOS_SDK
make DEBUG=1
- Now, below command will load blocx application to your ledger nanos
make load