Skip to content

jmartins-ledger/app-solana

 
 

Repository files navigation

Build Status

Solana app for Ledger Wallet

Overview

This app adds support for the Solana native token to Ledger Nano S hardware wallet.

Current Features:

  • Pubkey queries
  • Parse, display and sign all Solana CLI generated transaction formats
  • Blind sign arbitrary transactions (Enabled via settings)

Prerequisites

For building the app

Build the Ledger App Builder Docker image

  1. Clone the git repository
git clone https://github.com/LedgerHQ/ledger-app-builder.git
  1. Change directories
cd ledger-app-builder
  1. Checkout the target commit
git checkout 0bdab1e
  1. Build the image
docker build -t ledger-app-builder:0bdab1e .
  • If permissions errors are encountered, ensure that your user is in the docker group and that the session has been restarted

For working with the device

  • Install Python3 PIP Ubuntu Linux:
sudo apt install pip3

MacOS

brew install python3
  • Install ledgerblue python module
pip3 install ledgerblue

For running the test suite

Build

It is highly recommended that you read and understand the Ledger App Builder build process before proceeding. A convenience wrapper script (./docker-make) has been provided for simplicity

./docker-make

Clean

./docker-make clean

Working with the device

Requires that the BOLOS_SDK envvar be set

Load

make load-only

Delete

make delete

Test

Unit

Run C tests:

make -C libsol

Integration

First enable blind-signing in the App settings

cargo run --manifest-path tests/Cargo.toml

About

Solana app for Ledger Wallet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.7%
  • Rust 12.9%
  • C++ 4.4%
  • Makefile 1.3%
  • Other 0.7%