@ledgerhq/hw-app-eth
Version:
Ledger Hardware Wallet Ethereum Application API
16 lines (13 loc) • 445 B
text/typescript
import type { LoadConfig } from "../types";
const defaultLoadConfig: Required<LoadConfig> = {
nftExplorerBaseURL: "https://nft.api.live.ledger.com/v1/ethereum",
pluginBaseURL: "https://cdn.live.ledger.com",
extraPlugins: null,
cryptoassetsBaseURL: "https://cdn.live.ledger.com/cryptoassets",
};
export function getLoadConfig(userLoadConfig?: LoadConfig): LoadConfig {
return {
...defaultLoadConfig,
...userLoadConfig,
};
}