diff --git a/src/utils/getLibrary.ts b/src/utils/getLibrary.ts index c9340637..0464c487 100644 --- a/src/utils/getLibrary.ts +++ b/src/utils/getLibrary.ts @@ -20,7 +20,7 @@ const provider = jsonRpcProvider({ if (chainType === 'sepolia') { nodeUrl = 'https://starknet-sepolia.public.blastapi.io' } else if (chainType === 'mainnet') { - nodeUrl = 'https://api-starknet-jediswap.dwellir.com/' + nodeUrl = 'https://api-starknet-mainnet.dwellir.com/dd28e566-3260-4d8d-8180-6ef1a161e41c' } else if (chainType === 'goerli') { nodeUrl = 'https://rpc.starknet-testnet.lava.build/' } @@ -34,13 +34,4 @@ const provider = jsonRpcProvider({ } }) -export const providerInstance = (chainId: string) => { - return new RpcProvider({ - nodeUrl: - chainId === ChainId.SN_GOERLI - ? 'https://starknet-testnet.public.blastapi.io/rpc/v0_6' - : 'https://api-starknet-jediswap.dwellir.com/' - }) -} - export default provider