"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.polkadotConfig = void 0;
const live_env_1 = require("@ledgerhq/live-env");
exports.polkadotConfig = {
    config_currency_polkadot: {
        type: "object",
        default: {
            status: {
                type: "active",
                features: [
                    { id: "blockchain_txs", status: "active" },
                    { id: "staking_txs", status: "active" },
                ],
            },
            sidecar: {
                url: (0, live_env_1.getEnv)("API_POLKADOT_SIDECAR"),
                credentials: (0, live_env_1.getEnv)("API_POLKADOT_SIDECAR_CREDENTIALS"),
            },
            indexer: {
                url: (0, live_env_1.getEnv)("API_POLKADOT_INDEXER"),
            },
            node: {
                url: (0, live_env_1.getEnv)("API_POLKADOT_NODE"),
            },
            staking: {
                electionStatusThreshold: (0, live_env_1.getEnv)("POLKADOT_ELECTION_STATUS_THRESHOLD"),
            },
            metadataShortener: {
                url: "https://polkadot-metadata-shortener.api.live.ledger.com/transaction/metadata",
                id: "dot",
            },
            metadataHash: {
                url: "https://polkadot-metadata-shortener.api.live.ledger.com/node/metadata/hash",
                id: "dot",
            },
        },
    },
    config_currency_assethub_polkadot: {
        type: "object",
        default: {
            status: {
                type: "active",
                features: [
                    { id: "blockchain_txs", status: "active" },
                    { id: "staking_txs", status: "active" },
                ],
            },
            sidecar: {
                url: "https://polkadot-asset-hub-sidecar.coin.ledger.com",
            },
            node: {
                url: "https://polkadot-asset-hub-fullnodes.api.live.ledger.com",
            },
            staking: {
                electionStatusThreshold: (0, live_env_1.getEnv)("POLKADOT_ELECTION_STATUS_THRESHOLD"),
            },
            indexer: {
                url: "https://explorers.api.live.ledger.com/blockchain/dot_asset_hub",
            },
            metadataShortener: {
                url: "https://polkadot-metadata-shortener.api.live.ledger.com/transaction/metadata",
                id: "dot-hub",
            },
            metadataHash: {
                url: "https://polkadot-metadata-shortener.api.live.ledger.com/node/metadata/hash",
                id: "dot-hub",
            },
            hasBeenMigrated: true,
        },
    },
    config_currency_westend: {
        type: "object",
        default: {
            status: {
                type: "active",
                features: [
                    { id: "blockchain_txs", status: "active" },
                    { id: "staking_txs", status: "active" },
                ],
            },
            sidecar: {
                url: "https://polkadot-westend-sidecar.coin.ledger.com/rc",
            },
            node: {
                url: "https://polkadot-westend-fullnodes.api.live.ledger.com",
            },
            indexer: {
                url: "https://explorers.api.live.ledger.com/blockchain/dot_westend",
            },
            metadataShortener: {
                url: "https://polkadot-westend-metadata-shortener.api.live.ledger.com/transaction/metadata",
                id: "dot-hub",
            },
            metadataHash: {
                url: "https://polkadot-westend-metadata-shortener.api.live.ledger.com/node/metadata/hash",
                id: "dot-hub",
            },
        },
    },
    config_currency_assethub_westend: {
        type: "object",
        default: {
            status: {
                type: "active",
                features: [
                    { id: "blockchain_txs", status: "active" },
                    { id: "staking_txs", status: "active" },
                ],
            },
            sidecar: {
                url: "https://polkadot-westend-sidecar.coin.ledger.com",
            },
            node: {
                url: "https://polkadot-westend-asset-hub-fullnodes.api.live.ledger.com",
            },
            indexer: {
                url: "https://explorers.api.live.ledger.com/blockchain/dot_asset_hub_westend",
            },
            metadataShortener: {
                url: "https://polkadot-westend-metadata-shortener.api.live.ledger.com/transaction/metadata",
                id: "dot-hub",
            },
            metadataHash: {
                url: "https://polkadot-westend-metadata-shortener.api.live.ledger.com/node/metadata/hash",
                id: "dot-hub",
            },
        },
    },
};
//# sourceMappingURL=config.js.map