Add full Chain 138 integration: 8 steps, chain spec, app-ethereum config, docs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-02-12 15:57:08 -08:00
parent 17020ba236
commit bee1d29d55
33 changed files with 1444 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# Step 6 — LLD & LLM
1. **live-common setup** — Use **setup.chain138.ts** as reference; in `libs/ledger-live-common/src/families/ethereum/setup.ts` (or new family) ensure Defi Oracle Meta Mainnet currency gets the same bridge/resolver as Ethereum with chainId 138.
2. **Config** — Add **config.chain138.ts** entry to `libs/ledger-live-common/src/bridge/config.ts` so `config_currency_defi_oracle_meta_mainnet` is loaded (status, node.url). Env: `API_DEFI_ORACLE_META_NODE`.
3. **LLD** — In `live-common-set-supported-currencies.js` add `defi_oracle_meta_mainnet`. Add error keys in `static/i18n/en`.
4. **LLM** — In `live-common-setup.js` add `defi_oracle_meta_mainnet`. Add error keys in `src/locales/en/common.json`.
5. **Run:** `pnpm dev:lld` (desktop), `pnpm dev:llm` (mobile).