Never Pay your Mortgage

    @ledgerhq/live-common
    TypeScript icon, indicating that this package has built-in type declarations

    27.8.0 • Public • Published

    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

    Are you adding the support of a blockchain to Ledger Live?

    This part of the repository is where you will add most of your code.

    For a smooth and quick integration:

    • See the developers’ documentation on the Developer Portal and
    • Go on Discord to chat with developer support and the developer community.

    Keywords

    none

    Install

    npm i @ledgerhq/live-common

    DownloadsWeekly Downloads

    1,360

    Version

    27.8.0

    License

    Apache-2.0

    Unpacked Size

    31.9 MB

    Total Files

    10633

    Last publish

    Collaborators

    • sergii-shkolin
    • yogh
    • haammar-ledger
    • kvn-ledger
    • ofreyssinet
    • jelbaz-ledger
    • achabrolin-ledger
    • gre
    • btchip
    • meriadec
    • flocks
    • amougel
    • juan-cortes
    • val_pinkman
    • iammorrow
    • phenry-ledger
    • jdecussy-ledger
    • lfbarreto
    • junsugiura
    • hzheng_ledger