Estimated reading time: One minute
Ledger Live Desktop
- Fork github.com/LedgerHQ/ledger-live-desktop
- Clone the repo
The clone will be used to test your modifications locally, using yalc
.
Adding the crypto in LLD
- In
live-common-set-supported-currencies.js
add the name you gave in the table. E.g., mycoin
- Add the error translation keys in
static/i18n/en
.
Running the Desktop project
git clone <fork-live-desktop>
cd ledger-live-desktop
yalc add @ledgerhq/live-common
yarn install
If it is the first time you use yalc
for live-common do this:
cd ledger-live-common
yalc publish
Ledger Live Mobile
- Fork github.com/LedgerHQ/ledger-live-mobile
- Clone the repo
The clone will be used to test your modifications locally, using yalc
.
Adding the crypto in LLM
- Similarly step as for instructions for LLD, except it is in file
live-common-setup.js
.
- Add the error translation keys in
src/locales/en/common.json
Running the Mobile project on iOS (Mac only)
The prerequisites to running the project are found in the README file.
git clone <fork-live-mobile>
cd ledger-live-mobile
yalc add @ledgerhq/live-common
yarn install
yarn run ios
yarn start
Running the Mobile project on Android
- Launch the emulator or plug-in your telephone.
- Use an Android environment such as Android Studio
git clone <fork-live-mobile>
cd ledger-live-mobile
yalc add @ledgerhq/live-common
yarn install
yarn run android
yarn start