International audienceThird-generation (3G) gravitational wave detectors, in particular Einstein Telescope (ET) and Cosmic Explorer (CE), will explore unprecedented cosmic volumes in search for compact binary mergers, providing us with tens of thousands of detections per year. In this study, we simulate and employ binary black holes detected by 3G interferometers as dark sirens, to extract and infer cosmological parameters by cross-matching gravitational wave data with electromagnetic information retrieved from a simulated galaxy catalog. Considering a standard ΛCDM model, we apply a suitable Bayesian framework to obtain joint posterior distributions for the Hubble constant H0 and the matter energy density parameter Ωm in different scenarios. Assuming a galaxy catalog complete up to z=1 and dark sirens detected with a network signal-to-noise ratio greater than 300, we show that a network made of ET and two CEs can constrain H0 (Ωm) to a promising 0.7% (9.0%) at 90% confidence interval within one year of continuous observations. Additionally, we find that most of the information on H0 is contained in local, single-host dark sirens, and that dark sirens at z>1 do not substantially improve these estimates. Our results imply that a sub-percent measure of H0 can confidently be attained by a network of 3G detectors, highlighting the need for characterising all systematic effects to a higher accuracy