require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../constants/chains.constants.cjs`),t=require(`../../providers/CustomSolanaConnection.cjs`);let n=require(`ethers`);var r=t=>{let{fetchRpcUrl:r}=e.networkRegistry[t];if(!r)throw Error(`RPC URL not found for the specified chain ID`);return new n.JsonRpcProvider(r,e.getOnchainChainId(t),{staticNetwork:!0})},i=(e,n=`confirmed`)=>new t.CustomSolanaConnection(e,n);exports.createCustomSolanaConnection=i,exports.createJsonRpcProvider=r;