CedricCabessa / ledger-live-common

Common ground for the Ledger Wallet apps

Home Page:http://ledger-live-tools.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

We are hiring, join us! 👨‍💻👩‍💻

“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).

Table of Contents

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

About

Common ground for the Ledger Wallet apps

http://ledger-live-tools.now.sh

License:Apache License 2.0


Languages

Language:JavaScript 98.6%Language:Shell 0.4%Language:CSS 0.2%Language:Java 0.2%Language:Objective-C 0.2%Language:TypeScript 0.2%Language:Ruby 0.2%Language:HTML 0.1%Language:Starlark 0.0%