What problem does it solve?
Adding or modifying a blockchain integration in the ledger-live monorepo requires following strict package structure, import restrictions, and testing conventions. This Skill encodes those rules so contributors build coin modules that pass linting and integration checks.
Core Features & Use Cases
- Package Structure Rules: Enforces the standard directory layout (api/, logic/, network/, types/, plus legacy bridge/ and signer/) for packages under libs/coin-modules/coin-<family>.
- Import Restrictions: Documents which @ledgerhq/* imports are permitted in api/, logic/, and network/ directories, as enforced by eslint no-restricted-imports.
- Integration Guidance: Explains the preferred Coin Module API path (createApi returning CoinModuleApi) versus the legacy Classic JS Bridge, plus integration test requirements for each API method.
- Use Case: When adding support for a new blockchain family, follow this Skill to scaffold the package correctly, wire it into genericCoinFrameworkFamilies.json, and write the required integration tests.
Quick Start
Read the coin-modules skill before creating or modifying any package under libs/coin-modules/ to follow the required layout and import rules.