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