Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.3 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.3 KB

OneLedger Nano S/X app

Overview

This app is an implementation for retrieving public keys / Addresses and signing transactions on the OneLedger network using the Nano S/X.

Building and installing

To build and install the app on your Ledger Nano S you must set up the Ledger Nano S build environments. Please follow the Getting Started instructions at here.

Notes on Environment Setup:

.bashrc file must export the following paths (Make sure the path ends with a slash):

export CLANGPATH=~/bolos/clang-arm-fropi/bin/
export GCCPATH=~/bolos/gcc-arm-none-eabi-5_3-2016q1/bin/
export BOLOS_SDK=~/bolos/nanos-secure-sdk
export BOLOS_ENV=~/bolos

Update your Nano S device with the firmware version 1.6. You can do this using the ledger live app.

Compile and load the app onto the device:

make load

Refresh the repo (required after Makefile edits):

make clean

Remove the app from the device:

make delete

Example of Ledger wallet functionality

Test functionality:

Get Address

python tests/test_getAddress.py --account_number 12345

Sign Transaction Data (One Ledger Network must be running one node here: http://127.0.0.1:26602)

python tests/test_signRawTx.py