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 c36f3031ab
v8.0.0-alpha.3
3 days ago
.circleci Build with Xcode 10.2.1 2 months ago
demo bridge big refactoring with getTransactionStatus & more (#331) 1 week ago
flow Extracted partners from mobile/desktop, created new svgs, cried a little 8 months ago
flow-typed/npm update flow-typed 3 months ago
jest need to define a TZ for tests. using NY because far enough from GMT 1 year ago
mobile-test-app update to latest live-common 4 days ago
scripts bootstrap app auto update logic 3 days ago
src bootstrap app auto update logic 3 days ago
tool bootstrap app auto update logic 3 days ago
.babelrc Rework live-common for a Major version 5 months ago
.eslintignore bridge big refactoring with getTransactionStatus & more (#331) 1 week ago
.eslintrc.js v7: requires libcore bindings 3.x. drop deprecated code 3 months ago
.flowconfig bridge big refactoring with getTransactionStatus & more (#331) 1 week ago
.gitignore Experimental ROI calculation 3 months ago
.prettierignore Fixes #324 1 month ago
.travis.yml more CI 5 months ago
LICENSE Initial commit 1 year ago
README.md no longer recommend yarn link, yalc on the CI too 3 months ago
package.json v8.0.0-alpha.3 3 days 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 bootstrap app auto update logic 3 days ago

README.md

ledger-wallet-common

Common ground for the Ledger Live apps

Install

yarn add @ledgerhq/live-common

Development

yarn          # install deps
yarn build    # build live-common...
yarn watch    # ...or watch to faster re-build
yarn test     # test exclusively live-common

tool folder is a ledger-live command-line

To run it for development and have the latest sourcecode running we need to either copy the lib folder of live-common in tool/nodemodules or use something like yalc. _We used to use yarn link but symlink are not properly working and creating dup issues. You likely want to run yarn watch in a terminal and do this in another terminal (from top level):

yalc publish # link live-common
cd tool/
yarn
yalc add @ledgerhq/live-common
yarn link    # will make ledger-live CLI available
yarn watch   # incremental build as well

Assuming that yarn global bin is in your $PATH,

You can run:

ledger-live

and it will always use your latest sourcecode.

Release flow

to run exclusively on master

yarn publish
git push
git push --tags

you also likely want to update tool and release a new version as well (second commit).

Adding cryptocurrencies

Please find instruction in src/data/cryptocurrencies.js.