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.
 
 
 
 

2.2 KiB

Ledger Live - Desktop

CircleCI Crowdin

⚠️ Disclaimer: this project is under active development. Use at your own risks.

Installation

Requirements

Project has been tested with

Optional

  • Museo Sans font - for Ledger guys, follow that link, download museosans.zip and extract it inside the static/fonts/museosans directory

Setup

  1. Install dependencies
yarn
  1. Create .env file
# ENV VARIABLES
# -------------

# Where errors will be tracked (you may not want to edit this line)
# SENTRY_URL=

# OPTIONAL ENV VARIABLES
# ----------------------

# API base url, fallback to our API if not set
API_BASE_URL=http://...

# Setup device debug mode
DEBUG_DEVICE=0

# Developer tools position (used only in dev)
# can be one of: right, bottom, undocked, detach
DEV_TOOLS_MODE=bottom

# Filter debug output
DEBUG=lwd*,-lwd:syncb

# hide the dev window
HIDE_DEV_WINDOW=0

Development commands

# Launch the app
yarn start

# Launch the storybook
yarn storybook

# Code quality checks
yarn lint                # launch eslint
yarn prettier            # launch prettier
yarn flow                # launch flow
yarn test                # launch unit tests

Building from source

# Build & package the whole app
# Creates a .dmg for Mac, .exe installer for Windows, or .AppImage for Linux
# Output files will be created in dist/ folder
yarn dist

Note: Use yarn dist:dir to speed up the process: it will skip the packaging step. Handy for debugging builds. You can also use BUNDLE_ANALYZER=1 yarn dist:dir to generate webpack-bundle-analyzer report.