@ledgerhq/hw-app-eth
Version:
Ledger Hardware Wallet Ethereum Application API
17 lines (14 loc) • 510 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",
calServiceURL: "https://crypto-assets-service.api.ledger.com",
};
export function getLoadConfig(userLoadConfig?: LoadConfig): LoadConfig {
return {
...defaultLoadConfig,
...userLoadConfig,
};
}