22 lines
690 B
TypeScript
22 lines
690 B
TypeScript
/**
|
|
* Step 6 — LLD & LLM: live-common config for Chain 138
|
|
* Target: ledger-live libs/ledger-live-common/src/bridge/config.ts (or families/ethereum/config)
|
|
*
|
|
* Add to the config map so dynamic config (e.g. node URL) can be loaded for defi_oracle_meta_mainnet.
|
|
*/
|
|
|
|
import type { ConfigInfo } from "@ledgerhq/live-config/LiveConfig";
|
|
import { getEnv } from "@ledgerhq/live-env";
|
|
|
|
export const defiOracleMetaConfig: Record<string, ConfigInfo> = {
|
|
config_currency_defi_oracle_meta_mainnet: {
|
|
type: "object",
|
|
default: {
|
|
status: { type: "active" },
|
|
node: {
|
|
url: getEnv("API_DEFI_ORACLE_META_NODE") ?? "https://rpc-http-pub.d-bis.org",
|
|
},
|
|
},
|
|
},
|
|
};
|