Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

LedgerHQ/lib-ledger-core-node-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 30, 2021
843da47 · Apr 30, 2021
Apr 21, 2021
Apr 20, 2021
Apr 30, 2021
Apr 20, 2021
Apr 28, 2018
Apr 29, 2018
Jun 17, 2020
Jun 17, 2020
Apr 29, 2018
Feb 14, 2020
Apr 19, 2019
Feb 18, 2020
Apr 30, 2021
Aug 6, 2020
Apr 20, 2021

Repository files navigation

@ledgerhq/ledger-core

Ledger Core Library cross-platform C++ bindings for NodeJS.

Usage

For usage example, see live-common/src/libcore.

Install

yarn add @ledgerhq/ledger-core

Prerequisite

It currently only works with Node 12.

On Linux

You also need to have g++-7 installed and set up as default. Here is a way to set it up in Debian (root):

echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list.d/gcc7.list
apt-get update
apt-get install -t testing g++-7
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7