@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
21 lines • 781 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWalletConnectSupported = exports.currenciesSupportedOnWalletConnect = void 0;
/**
* The full list comes from the WalletConnect repo
* https://github.com/LedgerHQ/wallet-connect-live-app/blob/ce792e808115308ef7d36e9954bc9dae23fd8f9e/src/data/network.config.ts#L84C14-L84C31
*/
exports.currenciesSupportedOnWalletConnect = [
"ethereum",
"polygon",
"bsc",
"rsk",
"optimism",
"optimism_sepolia",
"arbitrum",
"arbitrum_sepolia",
"avalanche_c_chain",
];
const isWalletConnectSupported = (currency) => exports.currenciesSupportedOnWalletConnect.includes(currency.id);
exports.isWalletConnectSupported = isWalletConnectSupported;
//# sourceMappingURL=index.js.map