Skip to main content

configuration

Pick the home for a configuration value — environment variable, backend URL, partner key, public token, per-environment constant, build secret — and take an existing one out of `@shared/env` / `@ledgerhq/live-env` (`getEnv`, `setEnv`, `useEnv`, `injectDefinitions`). Read before adding or changing any env var, `.env` entry or `getEnv` call site.

معلومات المصدر

المستودع
LedgerHQ/ledger-live
آخر نشاط في المصدر
١٨ سبتمبر ٢٠٢٦ في ١١:٤٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٦٢٢
التفرعات
٤٩١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
configuration
description
Pick the home for a configuration value — environment variable, backend URL, partner key, public token, per-environment constant, build secret — and take an existing one out of `@shared/env` / `@ledgerhq/live-env` (`getEnv`, `setEnv`, `useEnv`, `injectDefinitions`). Read before adding or changing any env var, `.env` entry or `getEnv` call site.
# Configuration Read [/docs/configuration.md](../../../docs/configuration.md) — the canonical guide. It opens with a **Pattern → home** table mapping each kind of value to exactly one home, and has one section per home with this repo's mechanics and worked examples. Jump to the row that matches instead of paraphrasing the doc in chat. Two rules to apply without reading further: - **`@shared/env` and `@ledgerhq/live-env` are deprecated**: no new definition, no new call site, including in tests. Migrating a variable means deleting its definition in the same PR. - **A value in an app's `.env` file ships inside the artifact.** Public configuration only; a real build secret stays in the workflow step and never reaches app code.
عرض على GitHub