“Ledger Live Common”
```` `.--::::: `.-::::::::: ```` .://///:-..`` `-/+++/-` `://///-` -++++++o/. `/+++/:` -+++++osss+` `:++++:` ./++++-/osss/` .+++++` `-://- .ooooo. -+ooo/` `` `/oooo- .oooo+` .::-.` `+++++. `+oooo:./+++/. -++++/` -ossso+++++:` -/+++/. -ooo+++++:` .://///. ./+++++/` ``.-://///:` `---.` -:::::///:-. :::::::-.` ....``
Ledger Live Common (
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
- Introduction, Goals and Tradeoffs
- Getting started
- tools web playground
- Learn by example
- The Currency models and utilities
- The Account models and portfolio logic
- The CurrencyBridge: scan accounts with a device
- The AccountBridge: synchronize an account and perform transaction
- Hardware Wallet logic
- Apps store logic
- Firmware Update logic
- Countervalues logic
- Coin integration specifics
Developing with Ledger Live Common
- Developing setup
- The different test approaches
- Unit test of live-common logic
- End-to-end tests of the
- 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.