You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gaëtan Renaudeau 8a633d7245
v9.2.2
1 day ago
.circleci Build with Xcode 10.2.1 4 months ago
demo Fix logs viewer 5 days ago
docs doc 2 days ago
flow Extracted partners from mobile/desktop, created new svgs, cried a little 10 months ago
flow-typed/npm update flow-typed 5 months ago
jest need to define a TZ for tests. using NY because far enough from GMT 1 year ago
mobile-test-app update tests 5 days ago
scripts Generalize the CLI family specifics back into live-common 1 month ago
src also refresh _lastBakers on the listBakers call 1 day ago
tool update tests 5 days ago
.babelrc Rework live-common for a Major version 8 months ago
.eslintignore bridge big refactoring with getTransactionStatus & more (#331) 2 months ago
.eslintrc.js v7: requires libcore bindings 3.x. drop deprecated code 5 months ago
.flowconfig bridge big refactoring with getTransactionStatus & more (#331) 2 months ago
.gitignore Experimental ROI calculation 5 months ago
.prettierignore Fixes #324 3 months ago
.travis.yml more CI 7 months ago
LICENSE Initial commit 1 year ago
README.md doc 2 days ago
package.json v9.2.2 1 day ago
react.js Re-work the account types (seedIdentifier, derivationMode) (#84) 1 year ago
reactNative.js Re-work the account types (seedIdentifier, derivationMode) (#84) 1 year ago
yarn.lock update xtz tests 1 week ago

README.md

“Ledger Live Common” @ledgerhq/live-common

                ````
           `.--:::::
        `.-:::::::::       ````
       .://///:-..``     `-/+++/-`
     `://///-`           -++++++o/.
    `/+++/:`            -+++++osss+`
   `:++++:`            ./++++-/osss/`
   .+++++`             `-://- .ooooo.
   -+ooo/`                ``  `/oooo-
   .oooo+` .::-.`             `+++++.
   `+oooo:./+++/.             -++++/`
    -ossso+++++:`            -/+++/.
     -ooo+++++:`           .://///.
      ./+++++/`       ``.-://///:`
        `---.`      -:::::///:-.
                    :::::::-.`
                    ....``

Ledger Live Common (@ledgerhq/live-common) is a JavaScript library available via a NPM package.

This library depends on a bunch of ledgerjs packages and put together the core business logic behind Ledger Live Desktop and Ledger Live Mobile.

The stack is pretty standard for a ES6 and FlowType library. The notable dependencies are libraries like RxJS and BigNumber.js. There is also a bit of React and Redux but exposed in agnostic ways (meaning it’s not mandatory to use – there will be dedicated entry point for them to offer utilities like React Hooks).

Documentation

Developing with Ledger Live Common

  • Developing setup
  • The different test approaches
    • Unit test of live-common logic
    • End-to-end tests of the ledger-live command
    • Bridge dataset tests
    • Providing mocks to implement UI tests