"Ledger Wallet" (formerly "ledger-live") is a crypto wallet. This pnpm and Nx monorepo contains multiple frontend apps and over 150 library packages. See the root README for an overview.
We are working towards consistency across all those packages but each workspace has it's own details. Read local README files relevant to where you are working.
New code goes in the monorepo layers — shared/, domain/, features/, apps/. libs/ is legacy: maintained, not grown.
When creating a new package, follow docs/new-library.md guidelines.
New runtime third-party libraries are not added to apps directly (framework singletons, the design system and tooling excepted). The lowest valid package of the monorepo layers (shared/, domain/, features/) owns each one and exposes our own API. Before adding a dependency to apps/*/package.json, read the wrap-third-party-libs skill.
Prefer commands given in local README files. For example appls like Ledger Wallet Desktop and Ledger Wallet Mobile have very specific commands for setup, dev and build commands.
For general test, build and check recipes see /docs/repo-commands.md, which also contains notes on Nx, filtering and aliases.
When a task includes Jira or Confluence links, use Atlassian MCP to fetch and read the referenced ticket or page by default before summarizing, planning, or implementing.
When a task involves GitHub — pull requests, issues, CI checks, or releases — use the gh CLI by default.
Before committing, read the git-conventions skill. Before creating or editing a file in .changeset/, read the create-changeset skill: it decides whether a change needs one and which bump to use.
Before completing or pushing code changes, run the validate-changes skill.
Before adding or changing a runs-on in .github/workflows/, read the ci-runners skill. Several ledger-live-* runners are deprecated.
Reusable workflows and composite actions are called @develop, even from release and hotfix branches whose code is older. Before changing one, read the ci-workflow-refs skill. It also shows how to test such a change before merge.
CI pulls npm and Maven packages through JFrog. Before adding a package install or Gradle build to a CI job, or a Maven repository to an Android build, read ci-jfrog.
Runner images bake the mise toolchain and the Android AVD. Before changing a version in mise.toml or the AVD configuration, read the runner-images skill.
The legacy Account type is being retired. Before reading or showing account data, read /docs/account-models.
Before adding any configuration value — an environment variable, a URL, a partner key — read /docs/configuration.md to pick its home. @shared/env is deprecated and takes no new definitions.
New endpoint or new SDK that phones home? Add it to /docs/services.md.
See examples:
- Entity packages (
domain/entity/): readdomain/entity/README.md - API packages (
domain/api/): readdomain/api/README.md - Shared packages (
shared/**): readshared/README.md - Support packages (
support/**): readsupport/README.md